diff options
author | Lvbo163 <lv.bo163@zte.com.cn> | 2017-09-04 09:32:08 +0800 |
---|---|---|
committer | Lvbo163 <lv.bo163@zte.com.cn> | 2017-09-04 15:16:37 +0800 |
commit | 76f9fa54825d98013182524d16290f04e3c9398a (patch) | |
tree | 99d46a4107b0c037a398ec34aac7561690be0ba0 /sdc-workflow-designer-ui/src/app/services | |
parent | c0d3e994ef109b4b0e089187f1db397ff3306613 (diff) |
support swagger for microservice definition
microservice definition follow swagger specification.
Issue-ID: SDC-271
Change-Id: I300732cbdc56791981b1aa626522c0f6b0b2a4c7
Signed-off-by: Lvbo163 <lv.bo163@zte.com.cn>
Diffstat (limited to 'sdc-workflow-designer-ui/src/app/services')
-rw-r--r-- | sdc-workflow-designer-ui/src/app/services/workflow-config.service.ts | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sdc-workflow-designer-ui/src/app/services/workflow-config.service.ts b/sdc-workflow-designer-ui/src/app/services/workflow-config.service.ts index 2d2ca00b..00a2b9ef 100644 --- a/sdc-workflow-designer-ui/src/app/services/workflow-config.service.ts +++ b/sdc-workflow-designer-ui/src/app/services/workflow-config.service.ts @@ -34,6 +34,6 @@ export class WorkflowConfigService { Accept: 'application/json',
},
};
- return this.httpService.get(url);
+ return this.httpService.get(url).map(response => response.data);
}
}
|