...
S.No | changes |
---|---|
1. | change cps-rest/docs/openapi.yaml file /v1{version:v[1-2]}/dataspaces: /v2/dataspaces: Note : since Since same URL support more then one actions (CRUD) and we need to change any one of the action, we need to create two different URL in yml file. if all the CRUD operations to be supported in v2, we can make changes in yml file as below : /{version:v[1-2]}/dataspaces/{dataspace-name}/anchors/{anchor-name}/node: |
2. | create cpsAdminV2.yml file and add POST APIs(as below) which need to be changed . dataspaces: |
3. | add CreateV2 in components.yml as below: CreatedV2: |
4. | autogenerated code in CpsAdminApi.java @RequestMapping(value = "/v2/dataspaces", |
5. | Implement autogenerated method "createDataspaceV2" in AdminRestController.java @Override |
Open Issues :
...