This feature automatically integrates the Descriptor with the Registry while creation of the Submodel at the Repository.
It also automatically removes the Descriptor from the Registry when the Submodel is removed from the Repository.
To enable this feature, the following two properties should be configured:
basyx.submodelrepository.feature.registryintegration = {Submodel-Registry-Base-Url}
basyx.externalurl = {Submodel-Repo-Base-Url}
This feature gets enable automatically when both of the above defined properties are configured, i.e., no external enabled/disabled property is required.
An example valid configuration:
basyx.submodelrepository.feature.registryintegration = http://localhost:8060
basyx.externalurl = http://localhost:8081
If the target Submodel Registry has authorization enabled, then the following properties needs to be configured in order to successfully integrate the Descriptor:
basyx.submodelrepository.feature.registryintegration.authorization.enabled=true
basyx.submodelrepository.feature.registryintegration.authorization.token-endpoint=http://localhost:9096/realms/BaSyx/protocol/openid-connect/token
basyx.submodelrepository.feature.registryintegration.authorization.grant-type = <CLIENT_CREDENTIALS> or <PASSWORD>
basyx.submodelrepository.feature.registryintegration.authorization.client-id = <client-id>
basyx.submodelrepository.feature.registryintegration.authorization.client-secret = <client-secret>
basyx.submodelrepository.feature.registryintegration.authorization.username=test
basyx.submodelrepository.feature.registryintegration.authorization.password=test
basyx.submodelrepository.feature.registryintegration.authorization.scopes=[]