EnrollmentGenerate Behvaiour gets activated on the reception of a message from the Broker, where the topic contains the fields "action/enrollment/generate"
CMS API "POST /enrollments" is invoked to post the enrollment generate request to CMS
Upon reception of successful response from CMS, the CMS polling mechanisms is invoked at the frequency of received in configuration to get the status of the enrollment generate request.
Only non-pending status results are propagated on acknowledgement
Unique identifier to track ack or to submit enrollment.get action, every action request must have different operationId
code
string
Required
must contain an error code expressed as astring value from on of the enumeration: Mandatory_Parameters_Not_Exist, Invalid_Input_Parameters, Invalid_Input, Invalid_Payload_From_CMS, Null_Response_From_CMS, Cms_Connection_Failed, Cms_Bad_Request, Cms_Request_Forbidden, Cms_Input_Parameter_Not_Found, Cms_Conflicts, Cms_Internal_Server_Error, Cms_Connection_Unauthorized, Cms_Unknown_Error, No_App_Credentials_Exist, Unable_To_Generate_Token, Tpm_Communication_Failed, Tpm_Communication_Null_String, Invalid_Error, Exception
details
string
Optional
a human-readable explanation specific to this occurrence of the problem and the CMS error Response payload, if error origin is from CMS
{"timestamp":"2020-08-10T13:36:13.187179Z","success":false,"operationId":"7953f9d1-52a4-4582-9412-d35c34c17298","code":"Cms_Bad_Request","details":"Bad Request error received from CMS, Verify request payload, CMS Response is{\"errors\":[{\"code\":\"NotFoundError\",\"title\":\"Operation (id:1bcdd677ff9bfc80c4d8) for module (id:reference-BL) not found.\"}]}"}
Unique identifier to track ack or to submit enrollment.get action, every action request must have different operationId
code
string
Required
must contain an error code expressed as astring value from on of the enumeration: Mandatory_Parameters_Not_Exist, Invalid_Input_Parameters, Invalid_Input, Invalid_Payload_From_CMS, Null_Response_From_CMS, Cms_Connection_Failed, Cms_Bad_Request, Cms_Request_Forbidden, Cms_Input_Parameter_Not_Found, Cms_Conflicts, Cms_Internal_Server_Error, Cms_Connection_Unauthorized, Cms_Unknown_Error, No_App_Credentials_Exist, Unable_To_Generate_Token, Tpm_Communication_Failed, Tpm_Communication_Null_String, Invalid_Error, Exception
details
string
Optional
a human-readable explanation specific to this occurrence of the problem and the CMS error Response payload, if error origin is from CMS
{"success":false,"timestamp":"2020-08-10T13:36:13.187179Z","code":"Cms_Bad_Request","operationId":"94cd1194-e91b-416f-90ae-e3668b02e01a","details":"Bad Request error received from CMS, Verify request payload, CMS Response is{\"errors\":[{\"code\":\"NotFoundError\",\"title\":\"Operation (id:1bcdd677ff9bfc80c4d8) for module (id:reference-BL) not found.\"}]}"}
Unique identifier to track ack or to submit enrollment.get action, every action request must have different operationId
code
string
Required
must contain an error code expressed as astring value from on of the enumeration: Mandatory_Parameters_Not_Exist, Invalid_Input_Parameters, Invalid_Input, Invalid_Payload_From_CMS, Null_Response_From_CMS, Cms_Connection_Failed, Cms_Bad_Request, Cms_Request_Forbidden, Cms_Input_Parameter_Not_Found, Cms_Conflicts, Cms_Internal_Server_Error, Cms_Connection_Unauthorized, Cms_Unknown_Error, No_App_Credentials_Exist, Unable_To_Generate_Token, Tpm_Communication_Failed, Tpm_Communication_Null_String, Invalid_Error, Exception
details
string
Optional
a human-readable explanation specific to this occurrence of the problem and the CMS error Response payload, if error origin is from CMS
{"success":false,"timestamp":"2020-08-10T13:36:13.187179Z","code":"Cms_Bad_Request","operationId":"7953f9d1-52a4-4582-9412-d35c34c17298","details":"Bad Request error received from CMS, Verify request payload, CMS Response is{\"errors\":[{\"code\":\"NotFoundError\",\"title\":\"Operation (id:1bcdd677ff9bfc80c4d8) for module (id:reference-BL) not found.\"}]}"}
must contain an error code expressed as astring value from on of the enumeration: Mandatory_Parameters_Not_Exist, Invalid_Input_Parameters, Invalid_Input, Invalid_Payload_From_CMS, Null_Response_From_CMS, Cms_Connection_Failed, Cms_Bad_Request, Cms_Request_Forbidden, Cms_Input_Parameter_Not_Found, Cms_Conflicts, Cms_Internal_Server_Error, Cms_Connection_Unauthorized, Cms_Unknown_Error, No_App_Credentials_Exist, Unable_To_Generate_Token, Tpm_Communication_Failed, Tpm_Communication_Null_String, Invalid_Error, Exception
details
string
Optional
a human-readable explanation specific to this occurrence of the problem and the CMS error Response payload, if error origin is from CMS
{"success":false,"timestamp":"2020-08-10T13:36:13.187179Z","code":"Cms_Input_Parameter_Not_Found","details":"Not Found error received from CMS, Any of the following parameter Profile,Proxy,OperationId Not found, CMS Response is{\"errors\":[{\"code\":\"NotFoundError\"}]}"}
Certificate Sign Request Behvaiour gets activated on the reception of message
from the Broker, where topic contains the fields "action/certificate/get"
CMS API "Post /certificates" is invoked to post the certificate request to the
the CMS
Upon successful response from CMS, certificate is sent to the module
Identifier of device generated, registered or to be registered in Ability Global ID Generator. Common name in certificate.
code
string
Required
must contain an error code expressed as astring value from on of the enumeration: Mandatory_Parameters_Not_Exist, Invalid_Input_Parameters, Invalid_Input, Invalid_Payload_From_CMS, Null_Response_From_CMS, Cms_Connection_Failed, Cms_Bad_Request, Cms_Request_Forbidden, Cms_Input_Parameter_Not_Found, Cms_Conflicts, Cms_Internal_Server_Error, Cms_Connection_Unauthorized, Cms_Unknown_Error, No_App_Credentials_Exist, Unable_To_Generate_Token, Tpm_Communication_Failed, Tpm_Communication_Null_String, Invalid_Error, Exception
details
string
Optional
a human-readable explanation specific to this occurrence of the problem and the CMS error Response payload, if error origin is from CMS
{"success":false,"timestamp":"2020-08-10T13:36:13.187179Z","code":"Cms_Input_Parameter_Not_Found","deviceId":"abbeeed3-198c-4184-9502-a10796d9e0be","details":"Not Found error received from CMS, Any of the following parameter Profile,Proxy,deviceId Not found, CMS Response{\"errors\":[{\"code\":\"deviceIDNotFound\"}]}"}
Identifier of device generated, registered or to be registered in Ability Global ID Generator. Common name in certificate.
code
string
Required
must contain an error code expressed as astring value from on of the enumeration: Mandatory_Parameters_Not_Exist, Invalid_Input_Parameters, Invalid_Input, Invalid_Payload_From_CMS, Null_Response_From_CMS, Cms_Connection_Failed, Cms_Bad_Request, Cms_Request_Forbidden, Cms_Input_Parameter_Not_Found, Cms_Conflicts, Cms_Internal_Server_Error, Cms_Connection_Unauthorized, Cms_Unknown_Error, No_App_Credentials_Exist, Unable_To_Generate_Token, Tpm_Communication_Failed, Tpm_Communication_Null_String, Invalid_Error, Exception
details
string
Optional
a human-readable explanation specific to this occurrence of the problem and the CMS error Response payload, if error origin is from CMS
{"success":false,"timestamp":"2020-08-10T13:36:13.187179Z","code":"Cms_Input_Parameter_Not_Found","deviceId":"abbeeed3-198c-4184-9502-a10796d9e0be","details":"Not Found error received from CMS, Any of the following parameter Profile,Proxy,deviceId Not found, CMS Response{\"errors\":[{\"code\":\"deviceIDNotFound\"}]}"}