utilities.AAS_Archive_utils module
File to group useful methods for accessing and managing the AAS Archive.
- utilities.AAS_Archive_utils.change_status(new_status)[source]
This method updated the status of an AAS Manager instance.
- Args:
new_status (str): the new status of the AAS Manager instance.
- utilities.AAS_Archive_utils.check_core_initialization()[source]
This method checks if the core has initialized so the Manager can be started.
- utilities.AAS_Archive_utils.create_interaction_files()[source]
This method creates the necessary interaction files to exchange information between AAS Core and AAS Manager.
- utilities.AAS_Archive_utils.create_log_files()[source]
This method creates the necessary log files to save services information.
- utilities.AAS_Archive_utils.create_status_file()[source]
This method creates the status file of the AAS Manager and sets it to “initializing”.
- utilities.AAS_Archive_utils.file_to_json(file_path)[source]
This method gets the content of a JSON file.
- Args:
file_path (str): the path of the JSON file.
- Returns:
dict: content of the file in JSON format.
- utilities.AAS_Archive_utils.get_status(entity)[source]
This method gets the status of the requested entity.
- Args:
entity (str): The entity to get the status for.
- Returns:
dict: status in JSON format.