8ecf8c441aa37249ce871bda189f7d707d2b8a19
[appc.git] / appc-adapters / appc-rest-healthcheck-adapter / appc-rest-healthcheck-adapter-bundle / src / test / resources / org / openecomp / appc / default.properties
1 ###
2 # ============LICENSE_START=======================================================
3 # APPC
4 # ================================================================================
5 # Copyright (C) 2017 AT&T Intellectual Property. All rights reserved.
6 # Copyright (C) 2017 Amdocs
7 # ================================================================================
8 # Licensed under the Apache License, Version 2.0 (the "License");
9 # you may not use this file except in compliance with the License.
10 # You may obtain a copy of the License at
11
12 #      http://www.apache.org/licenses/LICENSE-2.0
13
14 # Unless required by applicable law or agreed to in writing, software
15 # distributed under the License is distributed on an "AS IS" BASIS,
16 # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
17 # See the License for the specific language governing permissions and
18 # limitations under the License.
19 # ============LICENSE_END=========================================================
20 # ECOMP is a trademark and service mark of AT&T Intellectual Property.
21 ###
22
23 #
24 # Default properties for the APP-C Provider Adapter
25 #
26 # -------------------------------------------------------------------------------------------------
27 #
28 # Define the name and path of any user-provided configuration (bootstrap) file that can be loaded
29 # to supply configuration options
30 org.openecomp.appc.bootstrap.file=appc.properties
31 org.openecomp.appc.bootstrap.path=/opt/openecomp/appc/data/properties,${user.home},.
32
33 appc.application.name=APPC
34
35 #
36 # Define the message resource bundle name to be loaded
37 org.openecomp.appc.resources=/opt/openecomp/appc/i18n/MessageResources
38 #
39 # The name of the adapter.
40 org.openecomp.appc.provider.adaptor.name=org.openecomp.appc.appc_provider_adapter
41 #
42 # Set up the logging environment
43 #
44 org.openecomp.appc.logging.file=/opt/openecomp/appc/logback.xml
45 org.openecomp.appc.logging.path=${user.home};etc;../etc
46 org.openecomp.appc.logger=org.openecomp.appc
47 org.openecomp.appc.security.logger=org.openecomp.appc.security
48 #
49 # The minimum and maximum provider/tenant context pool sizes.  Min=1 means that as soon
50 # as the provider/tenant is referenced a Context is opened and added to the pool.  Max=0
51 # means that the upper bound on the pool is unbounded.
52 org.openecomp.appc.provider.min.pool=1
53 org.openecomp.appc.provider.max.pool=0
54
55 #
56 # The following properties are used to configure the retry logic for connection to the
57 # IaaS provider(s).  The retry delay property is the amount of time, in seconds, the
58 # application waits between retry attempts.  The retry limit is the number of retries
59 # that are allowed before the request is failed.
60 org.openecomp.appc.provider.retry.delay = 30
61 org.openecomp.appc.provider.retry.limit = 10
62
63 #
64 # The trusted hosts list for SSL access when a certificate is not provided.
65 #
66 provider.trusted.hosts=*
67 #
68 # The amount of time, in seconds, to wait for a server state change (start->stop, stop->start, etc).
69 # If the server does not change state to a valid state within the alloted time, the operation
70 # fails.
71 org.openecomp.appc.server.state.change.timeout=300
72 #
73 # The amount of time to wait, in seconds, between subsequent polls to the OpenStack provider
74 # to refresh the status of a resource we are waiting on.
75 #
76 org.openecomp.appc.openstack.poll.interval=20
77 #
78 # The connection information to connect to the provider we are using.  These properties
79 # are "structured" properties, in that the name is a compound name, where the nodes
80 # of the name can be ordered (1, 2, 3, ...).  All of the properties with the same ordinal
81 # position are defining the same entity.  For example, provider1.type and provider1.name
82 # are defining the same provider, whereas provider2.name and provider2.type are defining
83 # the values for a different provider.  Any number of providers can be defined in this
84 # way.
85 #
86
87
88
89 provider1.identity=http://localhost:4000/v2.0
90 provider1.tenant1.name=Provider1
91 provider1.tenant1.userid=test
92 provider1.tenant1.password=test
93
94 # After a change to the provider make sure to recheck these values with an api call to proivider1.identity/tokens
95 test.expected-regions=1
96 test.expected-endpoints=1