Add CPS & AAI components in slice-analysis-ms csit
[integration/csit.git] / scripts / dcaegen2-services-slice-analysis-ms / slice-analysis-ms / cps-aai / application.properties
1 # The following info parameters are being referenced by ajsc6
2 info.build.artifact=aai-resources
3 info.build.name=resources
4 info.build.description=Resources Microservice
5 info.build.version=1.1.0
6
7 spring.application.name=Resources Microservice
8 spring.jersey.type=filter
9 spring.main.allow-bean-definition-overriding=true
10
11 server.servlet.context-path=/
12 spring.autoconfigure.exclude=\
13   org.springframework.boot.autoconfigure.jdbc.DataSourceAutoConfiguration,\
14   org.springframework.boot.autoconfigure.orm.jpa.HibernateJpaAutoConfiguration,\
15   org.keycloak.adapters.springboot.KeycloakAutoConfiguration,\
16   org.springframework.boot.autoconfigure.security.servlet.SecurityAutoConfiguration,\
17   org.springframework.boot.actuate.autoconfigure.security.servlet.ManagementWebSecurityAutoConfiguration
18
19 spring.jersey.application-path=${schema.uri.base.path}
20
21 spring.profiles.active=production
22 #The max number of active threads in this pool
23 jetty.threadPool.maxThreads=200
24 #The minimum number of threads always kept alive
25 jetty.threadPool.minThreads=8
26 #The number of milliseconds before an idle thread shutsdown, unless the number of active threads are less or equal to minSpareThreads
27 server.tomcat.max-idle-time=60000
28
29 # If you get an application startup failure that the port is already taken
30 # If thats not it, please check if the key-store file path makes sense
31 server.local.startpath=/opt/aai-resources/resources
32 server.basic.auth.location=${server.local.startpath}/etc/auth/realm.properties
33 server.certs.location=${server.local.startpath}etc/auth/
34 #server.keystore.name=keystore.jks
35 server.keystore.name=aai_keystore
36 server.truststore.name=aai_keystore
37 server.port=8447
38 server.ssl.enabled-protocols=TLSv1.1,TLSv1.2
39 server.ssl.key-store=${server.certs.location}${server.keystore.name}
40 server.ssl.key-store-password=password(OBF:1vn21ugu1saj1v9i1v941sar1ugw1vo0)
41 server.ssl.trust-store=${server.certs.location}${server.truststore.name}
42 server.ssl.trust-store-password=password(OBF:1vn21ugu1saj1v9i1v941sar1ugw1vo0)
43 server.ssl.client-auth=want
44 server.ssl.key-store-type=JKS
45
46 null.db.serialization.enabled=true
47
48 # JMS bind address host port
49 jms.bind.address=tcp://localhost:61647
50
51 dmaap.ribbon.listOfServers=localhost:3904
52
53 # Schema related attributes for the oxm and edges
54 # Any additional schema related attributes should start with prefix schema
55 schema.configuration.location=N/A
56 schema.source.name=onap
57 schema.nodes.location=${server.local.startpath}/schema/${schema.source.name}/oxm/
58 schema.edges.location=${server.local.startpath}/schema/${schema.source.name}/dbedgerules/
59
60 schema.ingest.file=${server.local.startpath}/application.properties
61
62 # Schema Version Related Attributes
63
64 schema.uri.base.path=/aai
65 # Lists all of the versions in the schema
66 schema.version.list=v10,v11,v12,v13,v14,v15,v16,v17,v18,v19,v20,v21,v22,v23,v24
67 # Specifies from which version should the depth parameter to default to zero
68 schema.version.depth.start=v10
69 # Specifies from which version should the related link be displayed in response payload
70 schema.version.related.link.start=v10
71 # Specifies from which version should the client see only the uri excluding host info
72 # Before this version server base will also be included
73 schema.version.app.root.start=v11
74 # Specifies from which version should the namespace be changed
75 schema.version.namespace.change.start=v12
76 # Specifies from which version should the client start seeing the edge label in payload
77 schema.version.edge.label.start=v12
78 # Specifies the version that the application should default to
79 schema.version.api.default=v24
80
81
82 #schema.translator.list=schema-service
83 schema.translator.list=config
84 schema.service.base.url=https://localhost:8452/aai/schema-service/v1/
85 schema.service.nodes.endpoint=nodes?version=
86 schema.service.edges.endpoint=edgerules?version=
87 schema.service.versions.endpoint=versions
88
89 schema.service.ssl.key-store=${server.certs.location}${server.keystore.name}
90 schema.service.ssl.trust-store=${server.certs.location}${server.truststore.name}
91 schema.service.ssl.key-store-password=password(OBF:1vn21ugu1saj1v9i1v941sar1ugw1vo0)
92 schema.service.ssl.trust-store-password=password(OBF:1vn21ugu1saj1v9i1v941sar1ugw1vo0)
93 schema.service.versions.override=false
94
95 #To Expose the Prometheus scraping endpoint
96 management.server.port=8448
97 #To Enable Actuator Endpoint, you can override this to True in OOM charts
98 management.endpoints.enabled-by-default=true
99 #To Enable Actuator Endpoint, you can override this in OOM Charts
100 management.endpoints.web.exposure.include=info, health, prometheus
101 management.metrics.web.server.auto-time-requests=false
102 management.metrics.tags.group_id=aai
103 # management.metrics.tags.app_id=${info.build.artifact}
104 # management.metrics.tags.aai_uri=${schema.uri.base.path}
105 #It is not advisable to use labels to store dimensions with high cardinality.
106 #Enable this option only for debug purposes. For more information: https://github.com/micrometer-metrics/micrometer/issues/1584
107 scrape.uri.metrics=false
108
109 # Location of the cadi properties file should be specified here
110 aaf.cadi.file=${server.local.startpath}/cadi.properties
111
112 delta.events.enabled=false
113
114 # Specifies what type of request should it be: one-way-ssl, two-way-ssl, no-auth
115 validation.service.client=one-way-ssl
116 # Base url for the validation service
117 validation.service.base.url=https://localhost:9501/services/validation-service
118 # Client certificate to use to make the request to validation
119 validation.service.ssl.key-store=${server.local.startpath}/etc/auth/aai-client-cert.p12
120 # Truststore to use to make the request to validation
121 validation.service.ssl.trust-store=${server.local.startpath}/etc/auth/tomcat_keystore
122 # Client certificate password for the validation
123 validation.service.ssl.key-store-password=password(OBF:1vn21ugu1saj1v9i1v941sar1ugw1vo0)
124 # Truststore password for the validation
125 validation.service.ssl.trust-store-password=password(OBF:1vn21ugu1saj1v9i1v941sar1ugw1vo0)
126 # Amount of time that the client should wait in milliseconds before request failing
127 validation.service.timeout-in-milliseconds=3000
128 # List of aai node types that should be send to the validation microservice
129 validation.service.node-types=generic-vnf,lag-interface,l-interface,logical-link,newvce,nos-server,p-interface,pnf,pserver,vce,vlan,vnfc,vpls-pe,vserver
130 # List of X-FromAppId regexes seperated by comma to ignore the pre validation for
131 # Note: please don't add any client id here as this is only for testing tools such as robot
132 validation.service.exclusion-regexes=