When the Middleware registers itself in the CentralApi, a new Location definition is created. Even if the object is created it is missing the IP address, which is required for the correct deployment and to save the ActionPlan.
To fix this, the IP address of the Middleware needs to be passed in the configuration and sent to the CentralApi.
TaskList:
Add new property Address to the MiddlewareConfig object
Add the same property to RegisterRequest in CentralApi
When Middleware registers, send property value to CentralApi with RegisterRequest
Add validation on the CentralApi to check if the Address property is not null and is correct Uri
When the Middleware registers itself in the CentralApi, a new Location definition is created. Even if the object is created it is missing the IP address, which is required for the correct deployment and to save the
ActionPlan
.To fix this, the IP address of the Middleware needs to be passed in the configuration and sent to the CentralApi.
TaskList:
Address
to theMiddlewareConfig
objectRegisterRequest
in CentralApiRegisterRequest
Address
property is not null and is correct Uri