Catalog alignment
[sdc.git] / catalog-ui / src / app / ng2 / services / responses / service-generic-response.ts
index d32ed26..0fe8571 100644 (file)
@@ -2,12 +2,15 @@ import * as _ from "lodash";
 import {Serializable} from "../utils/serializable";
 import {ComponentGenericResponse} from "./component-generic-response";
 import {ForwardingPath} from "../../../models/forwarding-path";
+import {ArtifactGroupModel} from "../../../models/artifacts";
 
 export class ServiceGenericResponse extends ComponentGenericResponse implements Serializable<ServiceGenericResponse>  {
     public forwardingPaths: { [key:string]:ForwardingPath } = {};
+    public serviceApiArtifacts: ArtifactGroupModel;
 
     deserialize (response): ServiceGenericResponse {
         super.deserialize(response);
+        this.serviceApiArtifacts = new ArtifactGroupModel(response.serviceApiArtifacts);
         if(response.forwardingPaths) {
             _.forEach(response.forwardingPaths, (pathResponse, id) => {
                 let pathId = id;