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