-
Story
-
Resolution: Done
-
Medium
-
None
-
None
-
None
For the service designed, can be imported into SDC for modification or enhancement, or the test template can be reused for different test environments (the SDC needs to support service import)
The requirements and related changes are relatively independent from existing functions in SDC, they will not affect other functions in SDC, just enhancement and complement.
- Changes in SDC Portal
- Add a button “IMPORT SERVICE CSAR" to perform service CSAR import.
- When clicking the “IMPORT SERVICE CSAR” button on the portal, a window will pop up to select the service CSAR file to be imported.
- After selecting the service CSAR file to be imported, it will switch to the general information input page for creating the service.
4. After filling in all the required fields, you can click the "create" button to create a new service.
- Changes in SDC BE
- Add a new API for the request of importing service CSAR.
Post: /v1/catalog/services/importService
Define the UploadServiceInfo class to receive the service CSAR package uploaded by the portal and the general information filled in from the portal.
- Including all processing logic codes for creating service.
- Add support for service type in the following related code.