5G-ERA / middleware

Middleware for orchestration and lifecycle management of the could-native robotic applications
Apache License 2.0
8 stars 3 forks source link

Missing Location Ip address after registration #223

Closed Artonus closed 10 months ago

Artonus commented 10 months ago

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:

  1. Add new property Address to the MiddlewareConfig object
  2. Add the same property to RegisterRequest in CentralApi
  3. When Middleware registers, send property value to CentralApi with RegisterRequest
  4. Add validation on the CentralApi to check if the Address property is not null and is correct Uri