Commit 139e5b1c authored by Adrian Pino's avatar Adrian Pino
Browse files

Rename EdgeApplicationManagementInterface to EdgeCloudManagementInterface

parent 940fb402
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
# Mocked API for testing purposes
from typing import Dict, List, Optional
from edgecloud.core.edgecloud_interface import EdgeApplicationManagementInterface
from edgecloud.core.edgecloud_interface import EdgeCloudManagementInterface

class EdgeApplicationManager(EdgeApplicationManagementInterface):
class EdgeApplicationManager(EdgeCloudManagementInterface):
    def onboard_app(self, app_manifest: Dict) -> Dict:
        print(f"Submitting application: {app_manifest}")
        return {"appId": "1234-5678"}
+2 −2
Original line number Diff line number Diff line
# Mocked API for testing purposes
from typing import Dict, List, Optional
from edgecloud.core.edgecloud_interface import EdgeApplicationManagementInterface
from edgecloud.core.edgecloud_interface import EdgeCloudManagementInterface

class EdgeApplicationManager(EdgeApplicationManagementInterface):
class EdgeApplicationManager(EdgeCloudManagementInterface):
    def onboard_app(self, app_manifest: Dict) -> Dict:
        print(f"Submitting application: {app_manifest}")
        return {"appId": "1234-5678"}
+2 −2
Original line number Diff line number Diff line
# Mocked API for testing purposes
from typing import Dict, List, Optional
from edgecloud.core.edgecloud_interface import EdgeApplicationManagementInterface
from edgecloud.core.edgecloud_interface import EdgeCloudManagementInterface

class EdgeApplicationManager(EdgeApplicationManagementInterface):
class EdgeApplicationManager(EdgeCloudManagementInterface):
    def onboard_app(self, app_manifest: Dict) -> Dict:
        print(f"Submitting application: {app_manifest}")
        return {"appId": "1234-5678"}
+2 −2
Original line number Diff line number Diff line
# Mocked API for testing purposes
from typing import Dict, List, Optional
from edgecloud.core.edgecloud_interface import EdgeApplicationManagementInterface
from edgecloud.core.edgecloud_interface import EdgeCloudManagementInterface

class EdgeApplicationManager(EdgeApplicationManagementInterface):
class EdgeApplicationManager(EdgeCloudManagementInterface):
    def onboard_app(self, app_manifest: Dict) -> Dict:
        print(f"Submitting application: {app_manifest}")
        return {"appId": "1234-5678"}
+2 −2
Original line number Diff line number Diff line
# Mocked API for testing purposes
from typing import Dict, List, Optional
from edgecloud.core.edgecloud_interface import EdgeApplicationManagementInterface
from edgecloud.core.edgecloud_interface import EdgeCloudManagementInterface

class EdgeApplicationManager(EdgeApplicationManagementInterface):
class EdgeApplicationManager(EdgeCloudManagementInterface):
    def onboard_app(self, app_manifest: Dict) -> Dict:
        print(f"Submitting application: {app_manifest}")
        return {"appId": "1234-5678"}
Loading