Helm Installation
The TCA-gen2 microservice can be deployed using helm charts in the oom repository.
Deployment Pre-requisites
DCAE and DMaaP pods should be up and running.
MongoDB should be up and running.
Deployment steps
Default app config values can be updated in oom/kubernetes/dcaegen2-services/components/dcae-tcagen2/values.yaml.
Make the chart and deploy using the following command:
cd oom/kubernetes/ make dcaegen2-services helm install dev-dcaegen2-services dcaegen2-services --namespace <namespace> --set global.masterPassword=<password>
To deploy only tcagen2:
helm install dev-dcae-tcagen2 dcaegen2-services/components/dcae-tcagen2 --namespace <namespace> --set global.masterPassword=<password>
To Uninstall
helm uninstall dev-dcae-tcagen2
Application Configurations
Configuration |
Description |
---|---|
streams_subscribes |
Dmaap topics that the MS will consume messages |
streams_publishes |
Dmaap topics that the MS will publish messages |
streams_subscribes. tca_handle_in. polling.auto_adjusting.max |
Max polling Interval for consuming config data from dmaap |
streams_subscribes. tca_handle_in. polling.auto_adjusting.min |
Min polling Interval for consuming config data from dmaap |
streams_subscribes. tca_handle_in. polling.auto_adjusting. step_down |
Step down in polling Interval for consuming config data from dmaap |
streams_subscribes. tca_handle_in. polling.auto_adjusting.step_up |
Step up polling Interval for consuming config data from dmaap |
spring.data.mongodb.uri |
MongoDB URI |
tca.aai.generic_vnf_path |
AAI generic VNF path |
tca.aai.node_query_path |
AAI node query path |
tca.aai.password |
AAI password |
tca.aai.url |
AAI base URL |
tca.aai.username |
AAI username |
streams_subscribes. tca_handle_in.consumer_group |
DMAAP Consumer group for subscription |
streams_subscribes. tca_handle_in.consumer_ids[0] |
DMAAP Consumer id for subscription |
tca.policy |
Policy details |
tca.processing_batch_size |
Processing batch size |
tca.enable_abatement |
Enable abatement |
tca.enable_ecomp_logging |
Enable ecomp logging |