Loading edge_cloud_management_api/controllers/app_controllers.py +11 −1 Original line number Diff line number Diff line Loading @@ -312,6 +312,8 @@ def create_app_instance(): image_path = app_repo.get("imagePath") repo_type = app_repo.get("type", "PUBLICREPO") component_specs = appData.get("componentSpec", []) networkInterface = component_specs[0].get("networkInterfaces")[0] component_name = None if component_specs and isinstance(component_specs, list): component_name = component_specs[0].get("componentName") Loading Loading @@ -398,7 +400,15 @@ def create_app_instance(): "cpuArchType": "ISA_X86_64", "numCPU": "100m", "memory": 128 }, "exposedInterfaces": [ { "commPort": networkInterface.get("port", ""), "commProtocol": networkInterface.get("protocol", ""), "interfaceId": networkInterface.get("interfaceId", "interfaceId0"), "visibilityType": networkInterface.get("visibilityType", "") } ] } ] } Loading Loading
edge_cloud_management_api/controllers/app_controllers.py +11 −1 Original line number Diff line number Diff line Loading @@ -312,6 +312,8 @@ def create_app_instance(): image_path = app_repo.get("imagePath") repo_type = app_repo.get("type", "PUBLICREPO") component_specs = appData.get("componentSpec", []) networkInterface = component_specs[0].get("networkInterfaces")[0] component_name = None if component_specs and isinstance(component_specs, list): component_name = component_specs[0].get("componentName") Loading Loading @@ -398,7 +400,15 @@ def create_app_instance(): "cpuArchType": "ISA_X86_64", "numCPU": "100m", "memory": 128 }, "exposedInterfaces": [ { "commPort": networkInterface.get("port", ""), "commProtocol": networkInterface.get("protocol", ""), "interfaceId": networkInterface.get("interfaceId", "interfaceId0"), "visibilityType": networkInterface.get("visibilityType", "") } ] } ] } Loading