utilities.ConfigMap_utils module

This class contains utility methods related to the ConfigMap file.

utilities.ConfigMap_utils.get_aas_general_property(property_name)[source]

This method returns the property of the AAS set in the ConfigMap by the AAS Controller during the deployment process. This information is stored in “aas.properties” file within “general-information” section.

Parameters:

property_name (str) – The name of the property.

Returns:

The general property of the AAS.

Return type:

str

utilities.ConfigMap_utils.get_asset_type()[source]

This method returns the asset type of the AAS set in the ConfigMap by the AAS Controller during the deployment process. This information is stored in “asset.properties” file.

Returns:

The asset type of the AAS.

Return type:

str

utilities.ConfigMap_utils.get_submodel_names()[source]

This method returns all submodel names that have been selected for the AAS instance. It is the submodel properties file sections of the AAS configuration in the ConfigMap that will determine which submodels these are.

Returns:

A list with the sections of the submodel properties file, and therefore, the submodel names.

Return type:

list(str)

utilities.ConfigMap_utils.get_submodel_information(submodel_name)[source]

This method returns the submodel information of a specific submodel, from the submodel properties file of the configuration from the ConfigMap.

Parameters:
  • submodel_name (str) – The name of the submodel. To read from the submodel properties file, it is also

  • section. (the name of the)

Returns:

The submodel information in the same format as the submodel properties file content.

Return type:

dict