...
- Convert all applications to document storage
- performance improvements
- Keep our current APIs, all changes will be internal
- Provide an upgrade path to the new data structure and a rollback to the current structure
- Old ORM layer will be not removed during this step
- namespace and imports could be defined but not implemented
- create more the one service template (Multi-service templates) is initially disabled in ORM layer
- Add multi-service templates support (related to POLICY-3236 - adjust flexibility of Tosca Service Template Handling)
- Remove old ORM layer
- Enable namespace and Multi-service templates in ORM layer
- Adapt the current APIs to handle Multi-service templates where it needs
- move common code in policy-model
- Define and support any other complex features not implemented yet
- Enable import support
...
Example | Key (if defined in same service template) | Key (for external service template) |
---|---|---|
derivedFrom: onap.datatypes.ToscaConceptIdentifier | onap.datatypes.ToscaConceptIdentifier:{last_version} | tosca:onap.datatypes.ToscaConceptIdentifier:{last_version} |
derivedFrom: onap.datatype.acm.Target:1.2.3 | onap.datatype.acm.Target:1.2.3 | tosca:onap.datatype.acm.Target:1.2.3 |
derivedFrom: CustomNamespace:onap.datatype.acm.Operation:1.0.1 | onap.datatype.acm.Operation:1.0.1 | CustomNamespace:onap.datatype.acm.Operation:1.0.1 |
Policy-Api
Enabling namespace and multi-service templates
Current Api in policy-api | Api in policy-api with namespace support |
---|---|
POST /nodetemplates GET /policytypes | POST / |
servicetemplates/{st_name}/versions/{st_version}/nodetemplates |
servicetemplates/{st_name}/versions/{st_version}/nodetemplates |
servicetemplates/{st_name}/versions/{st_version}/nodetemplates/{name}/versions/{version} |
servicetemplates/{st_name}/versions/{st_version}/nodetemplates/{name}/versions/{version} |
servicetemplates/{st_name}/versions/{st_version}/nodetemplates GET / |
servicetemplates/{st_name}/versions/{st_version}/policytypes |
servicetemplates/{st_name}/versions/{st_version}/policytypes/{policyTypeId} |
servicetemplates/{st_name}/versions/{st_version}/policytypes/{policyTypeId}/versions/{versionId} |
servicetemplates/{st_name}/versions/{st_version}/policytypes/{policyTypeId}/versions/latest |
servicetemplates/{st_name}/versions/{st_version}/policytypes |
servicetemplates/{st_name}/versions/{st_version}/policytypes/{policyTypeId}/versions/{versionId} |
servicetemplates/{st_name}/versions/{st_version}/policytypes/{policyTypeId}/versions/{policyTypeVersion}/policies |
servicetemplates/{st_name}/versions/{st_version}/policytypes/{policyTypeId}/versions/{policyTypeVersion}/policies/{policyId} |
servicetemplates/{st_name}/versions/{st_version}/policytypes/{policyTypeId}/versions/{policyTypeVersion}/policies/{policyId}/versions/{policyVersion} |
servicetemplates/{st_name}/versions/{st_version}/policytypes/{policyTypeId}/versions/{policyTypeVersion}/policies/{policyId}/versions/latest |
servicetemplates/{st_name}/versions/{st_version}/policytypes/{policyTypeId}/versions/{policyTypeVersion}/policies |
servicetemplates/{st_name}/versions/{st_version}/policytypes/{policyTypeId}/versions/{policyTypeVersion}/policies/{policyId}/versions/{policyVersion} |
servicetemplates/{st_name}/versions/{st_version}/policies |
servicetemplates/{st_name}/versions/{st_version}/policies/{policyId}/versions/{policyVersion} |
servicetemplates/{st_name}/versions/{st_version}/policies |
servicetemplates/{st_name}/versions/{st_version}/policies/{policyId}/versions/{policyVersion} |
Update functionality (second and third step of Roadmap)
...