Commit 1e05e66c authored by Adrian Pino's avatar Adrian Pino
Browse files

Update i2Edge GSMA methods to use public artefact-related methods

parent 3574a36b
Loading
Loading
Loading
Loading
+3 −3
Original line number Diff line number Diff line
@@ -482,7 +482,7 @@ class EdgeApplicationManager(EdgeCloudManagementInterface):
                "token": repo_data.get("token"),
            }

            response = self._create_artefact(**transformed)
            response = self.create_artefact(**transformed)
            if response.status_code == 201:
                return self.build_custom_http_response(
                    status_code=200,
@@ -498,7 +498,7 @@ class EdgeApplicationManager(EdgeCloudManagementInterface):

    def get_artefact_gsma(self, federation_context_id: str, artefact_id: str) -> Dict:
        try:
            response = self._get_artefact(artefact_id)
            response = self.get_artefact(artefact_id)
            if response.status_code == 200:
                response_json = response.json()
                print(response_json)
@@ -534,7 +534,7 @@ class EdgeApplicationManager(EdgeCloudManagementInterface):

    def delete_artefact_gsma(self, federation_context_id: str, artefact_id: str):
        try:
            response = self._delete_artefact(artefact_id)
            response = self.delete_artefact(artefact_id)
            if response.status_code == 200:
                return self.build_custom_http_response(
                    status_code=200,