summaryrefslogtreecommitdiffstats
path: root/catalog-ui/src/app/models/operation.ts
diff options
context:
space:
mode:
authorArielk <Ariel.Kenan@amdocs.com>2019-02-28 16:37:57 +0200
committerArielk <Ariel.Kenan@amdocs.com>2019-02-28 16:45:22 +0200
commite0c98681f9fcbae59eab32822784ae95c4768d40 (patch)
treeb34640753dcc0f2f622555406ae241bb33eed7c0 /catalog-ui/src/app/models/operation.ts
parent1ca0cce9f4e2397b9fe33c906003a4dba51a934c (diff)
fix artifact delivery id implementation
Change-Id: Ib2dc33852ff86ec0fd789b74e6a1fd7d9a50e798 Issue-ID: SDC-2084 Signed-off-by: Arielk <Ariel.Kenan@amdocs.com>
Diffstat (limited to 'catalog-ui/src/app/models/operation.ts')
-rw-r--r--catalog-ui/src/app/models/operation.ts14
1 files changed, 3 insertions, 11 deletions
diff --git a/catalog-ui/src/app/models/operation.ts b/catalog-ui/src/app/models/operation.ts
index d36b72a140..d9d0858870 100644
--- a/catalog-ui/src/app/models/operation.ts
+++ b/catalog-ui/src/app/models/operation.ts
@@ -38,6 +38,8 @@ export class BEOperationModel {
workflowId: string;
workflowVersionId: string;
+ implementation?: { artifactUUID: string; };
+
constructor(operation?: any) {
if (operation) {
this.name = operation.name;
@@ -50,6 +52,7 @@ export class BEOperationModel {
this.workflowAssociationType = operation.workflowAssociationType;
this.workflowId = operation.workflowId;
this.workflowVersionId = operation.workflowVersionId;
+ this.implementation = operation.implementation;
}
}
@@ -87,17 +90,6 @@ export class OperationModel extends BEOperationModel {
}
}
-export class CreateOperationResponse extends OperationModel {
- artifactUUID: string;
-
- constructor(operation?: any) {
- super(operation);
- if (operation) {
- this.artifactUUID = operation.artifactUUID;
- }
- }
-}
-
export class InterfaceModel {
type: string;
uniqueId: string;