Configuration File

The OM SDK project provides the extended API configuration file /software/RedfishServer/restful_extend_interfaces.py. The EXTEND_RESTFUL_REGISTER_FUNCTIONS_PATH field provided in the configuration file is used to store the path for registering the new blueprint function.

When adding a RESTful API, create the restful_extend_interfaces.py configuration file, add the EXTEND_RESTFUL_REGISTER_FUNCTIONS_PATH field to the configuration file, and write the path of the new blueprint function to this field. During compilation, overwrite the original restful_extend_interfaces.py of the OM SDK.

# Copyright (c) Huawei Technologies Co., Ltd. 2023-2023. All rights reserved.

# Register the function path of the extended blueprint.
EXTEND_RESTFUL_REGISTER_FUNCTIONS_PATH = ""