Merge "Add babel trustStore and config to model-loader"
[oom.git] / kubernetes / pomba / charts / pomba-networkdiscovery / resources / config / application.properties
1 # Copyright © 2018 Amdocs
2 #
3 # Licensed under the Apache License, Version 2.0 (the "License");
4 # you may not use this file except in compliance with the License.
5 # You may obtain a copy of the License at
6 #
7 #       http://www.apache.org/licenses/LICENSE-2.0
8 #
9 # Unless required by applicable law or agreed to in writing, software
10 # distributed under the License is distributed on an "AS IS" BASIS,
11 # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12 # See the License for the specific language governing permissions and
13 # limitations under the License
14
15 spring.jersey.type=filter
16 spring.mvc.urls=swagger,docs,prometheus,auditevents,info,heapdump,autoconfig,beans,loggers,dump,env,trace,health,configprops,mappings,metrics,webjars
17
18
19 server.contextPath=/network-discovery
20 spring.autoconfigure.exclude=org.springframework.boot.autoconfigure.jdbc.DataSourceAutoConfiguration,org.springframework.boot.autoconfigure.orm.jpa.HibernateJpaAutoConfiguration
21
22 #This property is used to set the Tomcat connector attributes.developers can define multiple attributes separated by comma
23 #tomcat.connector.attributes=allowTrace-true
24 #The max number of active threads in this pool
25 server.tomcat.max-threads=200
26 #The minimum number of threads always kept alive
27 server.tomcat.min-Spare-Threads=25
28 #The number of milliseconds before an idle thread shutsdown, unless the number of active threads are less or equal to minSpareThreads
29 server.tomcat.max-idle-time=60000
30
31 #Servlet context parameters
32 server.context_parameters.p-name=value #context parameter with p-name as key and value as value.
33
34 # Basic Authentication
35 basicAuth.username={{ .Values.config.networkDiscoveryUserId }}
36 basicAuth.password={{ .Values.config.networkDiscoveryPassword }}
37
38 # A&AI Enircher REST Client Configuration
39 enricher.url=https://<enricher_host_or_IP>:<port>
40 enricher.connectionTimeout=5000
41 enricher.readTimeout=60000
42 enricher.keyStorePath=config/auth/enricher-client-cert.p12
43 enricher.keyStorePassword=OBF:1i9a1u2a1unz1lr61wn51wn11lss1unz1u301i6o
44
45 enricher.types = vserver, l3-network
46 enricher.type.vserver.url    = /enricher/v11/cloud-infrastructure/vservers/vserver/{0}?sot=!aai
47 enricher.type.l3-network.url = /enricher/v11/network/l3-networks/l3-network/{0}?sot=!aai
48
49 # Mapping from Enricher Attribute name to POMBA Attribute name in the format
50 #   <Enricher Attribute Name>:<Pomba Attribute Name>;  and separated by semicolon ";"
51 # for example,
52 #          vserser-id:id;
53 # means Attribute name "vserver-id" from Enricher will be converted to "id" in POMBA.
54 enricher.attributeNameMappingList=Id:id;id:id;vserver-id:id;name:name;locked:inMaintenance; \
55             hostname:hostName;status:status;vm_state:vmState;vm-state:vmState;admin_state_up:adminState; \
56             favor.disk:flavorDisk;flavor.ephemeral:flavorEphemoral;flavor.extra_specs.hw.cpu_model:flavorHwCpuModel; \
57             flavor.extra_specs.hw.cpu_policy:flavorHwCpuPolicy;flavor.extra_specs.hw.mem_page_size:flavorHwMemPageSize; \
58             flavor.original_name:flavorOriginalName;flavor.ram:flavorRam;flavor.swap:flavorSwag;flavorvcpus:flavorVcpus; \
59             image.id:imageId;hostId:hostId;host:host;host_status:hostStatus;security_group.name:securityGroupName; \
60             serverName:serverName;metadata.myservername:otherServerName;shared:sharedNetwork;subnets:subnets; \
61             userId:userId;tenant_id:tenantId