...
- Component spec creation
- Every component to be onboarded into DCAE, should prepare a component spec (a.k.a spec) - which is meta data represented in json describing the component configuration model. Details on spec creation can be found here - RTD spec
- Validation of spec and docker image using dcae_cli
- The dcae_cli tools enables MS owner to validate the component spec and data_Formats created and also "test" the container deployment of MS itself. This allows components to mimic the configuration returned from ConfigBinding Service as expected on typical cloudify based deployment by DCAE platform (Documentation on spec format and tool usage can be found under RTD dcae_cli). There is also vagrant setup available which can be used to dcae_cli test/validation (vagrant vm includes Consul and Configbindingservice).
Alternatively dcae_cli can be configured to interface with OOM/DCAE Platform - steps for setup and testing is documented here - Once spec and data_formats are validated, add them under service component gerrit repo under following directory structure - dpo/spec, dpo/data-formats
- Blueprint creation (manual for R4; new tool will be available post R4)
- Components developer can hand-craft the cloudify blueprints. For blueprint reference - check existing services k8s blueprint template under - DCAE Blueprint repository (refer only to blueprint with prefix - "k8s-" for OOM deployment)
- Validation of blueprint/deployment in DCAE environment on K8S
- The blueprint should be tested on any DCAE deployment by executing into DCAE bootstrap pod; instruction to deploy/validate via blueprint can be found here - Cloudify Blueprint validation under OOM
- DCAE bootstrap deployment integration
- Add the new cloudify blueprint template on DCAE blueprint repository
- Add any corresponding inputs under OOM dcaegen2 bootstrap chart
- Once above are merged, update DCAE bootstrap to include Service part of OOM DCAE instantiation
...
- Component spec creation
- Every component to be onboarded into DCAE, should prepare a component spec (a.k.a spec) - which is meta data represented in json describing the component configuration model. Details on spec creation can be found here - RTD spec
- Validation of spec and docker image using dcae_cli
- The dcae_cli tools enables MS owner to validate the component spec and data_Formats created and also "test" the container deployment of MS itself. This allows components to mimic the configuration returned from ConfigBinding Service as expected on typical cloudify based deployment by DCAE platform (Documentation on spec format and tool usage can be found under RTD dcae_cli). There is
- vagrant setup available which can be used to dcae_cli test/validation (vagrant vm includes Consul and Configbindingservice).
Alternatively dcae_cli can be configured to interface with OOM/DCAE Platform - steps for setup and testing is documented here - Blueprint creation (manual for R4; new tool will be available post R4)
- Components developer can hand-craft the cloudify blueprints. For blueprint reference - check existing services k8s blueprint template under - DCAE Blueprint repository (refer only to blueprint with prefix - "k8s-" for OOM deployment)
- Blueprint should include policy_node and taking policy_id as input (refer TCA blueprint)
- Policy Model creation (using SDC Tosca_lab)
- Policy model creation require policy schema definition in spec specifying the structure of configuration to be exposed in policy. Follow Tosca Lab Tool Instructions to generate the policy models
- Verify with policy team if the created policy model conforms to the specification Policy team expects
- Validation of blueprint/deployment in DCAE environment on K8S
- The blueprint should be tested on any DCAE deployment by executing into DCAE bootstrap pod; instruction to deploy/validate via blueprint can be found here - Cloudify Blueprint validation under OOM
- SDC/CLAMP Integration
- Add the new models/blueprints in service component gerrit repo under following directory structure - dpo/spec, dpo/data-formats, dpo/tosca_models, dpo/blueprints.
- Note: Both dpo/tosca_models and dpo/blueprints are temporary place holders for Dublin.
- Work with Integration team/usecase owner to upload the artifacts (blueprints & policy model) into SDC and trigger Service creation and distribution from SDC.
- Work with CLAMP team to configure the policy and trigger the MS deployment.
- Add the new models/blueprints in service component gerrit repo under following directory structure - dpo/spec, dpo/data-formats, dpo/tosca_models, dpo/blueprints.
...
- Component spec creation
- Every component to be onboarded into DCAE, should prepare a component spec (a.k.a spec) - which is meta data represented in json describing the component configuration model. Details on spec creation can be found here - RTD spec
- Validation of spec and docker image using dcae_cli
- The dcae_cli tools enables MS owner to validate the component spec and data_Formats created and also "test" the container deployment of MS itself. This allows components to mimic the configuration returned from ConfigBinding Service as expected on typical cloudify based deployment by DCAE platform (Documentation on spec format and tool usage can be found under RTD dcae_cli). There is also vagrant setup available which can be used for dcaeused to dcae_cli test/validation (vagrant vm includes Consul and Configbindingservice).
Alternatively dcae_cli can be configured to interface with OOM/DCAE Platform - steps for setup and testing is documented here
- The dcae_cli tools enables MS owner to validate the component spec and data_Formats created and also "test" the container deployment of MS itself. This allows components to mimic the configuration returned from ConfigBinding Service as expected on typical cloudify based deployment by DCAE platform (Documentation on spec format and tool usage can be found under RTD dcae_cli). There is also vagrant setup available which can be used for dcaeused to dcae_cli test/validation (vagrant vm includes Consul and Configbindingservice).
- Blueprint creation (manual for R4; new tool will be available post R4)
- Components developer can hand-craft the cloudify blueprints. For blueprint reference - check existing services k8s blueprint template under - DCAE Blueprint repository (refer only to blueprint with prefix - "k8s-" for OOM deployment)
- Blueprint should include policy_node and taking policy_id as input (refer TCA policy enabled blueprint)
- Policy Model creation (using SDC Tosca_lab)
- Policy model creation require policy schema definition in spec specifying the structure of configuration to be exposed in policy. Follow Tosca Lab Tool Instructions to generate the policy models
- Verify with policy team if the created policy model conforms to the specification Policy team expects
- For Testing
- Step 1- Service owners are required to upload the policy model into Policy and create a configuration policy (policy_id created) before deployment of MS itself
- Step 2 - Validate the blueprint by deployment in DCAE k8s cluster. The policy_id obtained in step 1 should be specified as input and deployed using cfy command as documented here - Cloudify Blueprint validation under OOM
- Once the spec, policy model and blueprints are validated, add it under service component gerrit repo under following directory structure - dpo/spec, dpo/data-formats, dpo/tosca_models, dpo/blueprints.
- Note: Both dpo/tosca_models and dpo/blueprints are temporary place holders for Dublin
- Documentation
- As the MS will be deployed on-demand in ONAP, include the instruction for deployment of MS and validation. This info should be submitted as"readme" in gerrit and on ONAP Usecase wiki used by Integration team.
...