blob: 0c6edc1553e58f38c5ba7d30ed9d8aede25c5680 [file] [log] [blame]
Pamela Dragosh91d04c62017-02-14 19:41:00 -05001###
2# ============LICENSE_START=======================================================
3# ECOMP-PAP-REST
4# ================================================================================
5# Copyright (C) 2017 AT&T Intellectual Property. All rights reserved.
6# ================================================================================
7# Licensed under the Apache License, Version 2.0 (the "License");
8# you may not use this file except in compliance with the License.
9# You may obtain a copy of the License at
10#
11# http://www.apache.org/licenses/LICENSE-2.0
12#
13# Unless required by applicable law or agreed to in writing, software
14# distributed under the License is distributed on an "AS IS" BASIS,
15# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
16# See the License for the specific language governing permissions and
17# limitations under the License.
18# ============LICENSE_END=========================================================
19###
ITSERVICES\rb7147e0addf52017-04-25 11:46:00 -040020#=====================================================================================#
21#================The Below Properties are default, shouldn't change them==============#
22#=====================================================================================#
Pamela Dragosh91d04c62017-02-14 19:41:00 -050023#
24# This is our factory that will create our engine
25#
26xacml.PAP.papEngineFactory=org.openecomp.policy.xacml.std.pap.StdEngineFactory
ITSERVICES\rb7147e0addf52017-04-25 11:46:00 -040027# Dictionary and Policy Implementation Classes Properties
28dictionary.impl.className=org.openecomp.policy.pap.xacml.rest.handler.DictionaryHandlerImpl
29savePolicy.impl.className=org.openecomp.policy.pap.xacml.rest.handler.SavePolicyHandler
ITSERVICES\rb7147dda032f2017-05-08 22:20:44 -040030pushPolicy.impl.className=org.openecomp.policy.pap.xacml.rest.handler.PushPolicyHandler
ITSERVICES\rb7147e0addf52017-04-25 11:46:00 -040031deletePolicy.impl.className=org.openecomp.policy.pap.xacml.rest.handler.DeleteHandler
32#AutoPush Policy
33xacml.rest.pap.autopush.file=autopush.properties
34#=====================================================================================#
35#===============The Below Properties will be changed based on Environment=============#
36#=====================================================================================#
Pamela Dragosh91d04c62017-02-14 19:41:00 -050037#
38# Where we store our PAP PDP Group/Node information
39#
40xacml.pap.pdps=pdps
41#
42# Need the PAP's url (how PDPs will reach it) configured here
43# because we need it to generate the URLs of the Policy Files
44# sent to the PDPs in the configuration when the PAP is first brought up.
45# (In other cases, such as the PDP calling the PAP, we could generate this URL,
46# but for startup there is no other way to get it.)
47#
48#
Pamela Dragosh91d04c62017-02-14 19:41:00 -050049xacml.rest.pap.url=http://localhost:8070/pap/
50
51#
52# Upon startup, have the PAP servlet send latest configuration information to all
53# the PDP nodes it knows about.
54#
55xacml.rest.pap.initiate.pdp=true
56#
57# Heartbeat from PAP to PDPs
58#
59# How much time (in milliseconds) between heartbeats
60# (i.e. the time between completing the heartbeat with all PDPs and starting the next cycle)
61#
62xacml.rest.pap.heartbeat.interval=100000
63#
64# Heartbeat connection timeout (in milliseconds)
65#
66xacml.rest.pap.heartbeat.timeout=100000
67
Pamela Dragosh91d04c62017-02-14 19:41:00 -050068# new Property Please mention your PAP-REST webapps Location here.
ITSERVICES\rb7147e0addf52017-04-25 11:46:00 -040069xacml.rest.config.webapps=/home/users/PolicyEngine/webapps/ConfigPAP/
Pamela Dragosh91d04c62017-02-14 19:41:00 -050070
71#Turn the audit on to synchronize the DB/file system
72#xacml.rest.pap.run.audit.flag=true
73#Turn the audit off to not synchronize the DB/file system
74#xacml.rest.pap.run.audit.flag=false
ITSERVICES\rb7147e0addf52017-04-25 11:46:00 -040075xacml.rest.pap.run.audit.flag=true
Pamela Dragosh91d04c62017-02-14 19:41:00 -050076
77#Audit will synchronize the file system to match the contents of the DB
78#xacml.rest.pap.filesystem.audit=true
79#Audit will synchronize the DB to match the contents of the file system
80#xacml.rest.pap.filesystem.audit=false
81xacml.rest.pap.filesystem.audit=false
82xacm.xcor.required.pattern=1,1
83# id
84xacml.rest.pap.userid=testpap
85# pass
86xacml.rest.pap.password=alpha123
87# pdps file
88xacml.rest.pdp.idfile=test.properties
89
ITSERVICES\rb7147e0addf52017-04-25 11:46:00 -040090#Properties for db access
Pamela Dragosh91d04c62017-02-14 19:41:00 -050091#properties for MySql xacml database: PLEASE DO NOT REMOVE... NEEDED FOR APIs
92javax.persistence.jdbc.driver=com.mysql.jdbc.Driver
ITSERVICES\rb7147e0addf52017-04-25 11:46:00 -040093javax.persistence.jdbc.url=jdbc:mysql://localhost:3306/ecomp_sdk?failOverReadOnly=false&autoReconnect=true
94javax.persistence.jdbc.user=policy_user
95javax.persistence.jdbc.password=policy_user
Pamela Dragosh91d04c62017-02-14 19:41:00 -050096
97#Time in ms which a Policy DB transaction will wait to get the transaction lock object
98xacml.rest.pap.transaction.waitms=500000
99
100#Policy DB transaction timeout in ms after it has obtained the transaction lock object
101xacml.rest.pap.transaction.timeoutms=500000
102
103#Policy Audit timeout in ms after it has obtained the transaction lock object
104xacml.rest.pap.audit.timeoutms=500000
105
106#controls how long the pap will wait before giving up when sending notifications to other paps
107xacml.rest.pap.notify.timeoutms=10000
108
ITSERVICES\rb7147e0addf52017-04-25 11:46:00 -0400109#the number of times an incoming policy update notification will be tried to be processed (or until it succeeds)
110xacml.rest.pap.incomingnotification.tries=4
111
Pamela Dragosh91d04c62017-02-14 19:41:00 -0500112#AutoPush Policy Flag
113xacml.rest.pap.autopush.flag=false
Pamela Dragosh91d04c62017-02-14 19:41:00 -0500114
115#***Properties for IntegrityMonitor integration defined in XACMLRestProperties.java***
116
117#The name of the PAP. Must be unique across the system
118xacml.rest.pap.resource.name=site_1.pap_1
119
120#***Properties for IntegrityMonitor integration defined in IntegrityMonitorProperties.java***
121
122#Interval between forward progress counter updates in seconds
123fp_monitor_interval=30
124
125#Number of forward progress counter failures before failover
126failed_counter_threshold=3
127
128#Interval in seconds between test transactions if there is no other traffic
129test_trans_interval=10
130
131#Interval in seconds between updates of the forward progress counter in the DB
132write_fpc_interval=5
133
134#Name of the site
135site_name=site_1
136
137#Node type. Can take values of: pdp-xacml, pdp-drools, pap, pap-admin, logparser, brms-gateway,
Ravindra Bakkamanthalad9007d62017-05-31 15:54:24 -0400138#astra-gateway, elk-server
Pamela Dragosh91d04c62017-02-14 19:41:00 -0500139node_type=pap
140
141#Dependency groups are groups of resources upon which a node operational state is dependent upon (dependency_groups).
142#Each group is a comma-separated list of resource names and groups are separated by a semicolon. A group may contain
143#one or more members.
144dependency_groups=site_1.logparser_1;site_1.adminconsole_1;site_1.elk_1
145
146# The (optional) period of time in seconds between executions of the integrity audit.
147# Value < 0 : Audit does not run (default value if property is not present = -1)
148# Value = 0 : Audit runs continuously
149# Value > 0 : The period of time in seconds between execution of the audit on a particular node
150integrity_audit_period_seconds=-1
151
152ENVIRONMENT=DEVL
ITSERVICES\rb7147e0addf52017-04-25 11:46:00 -0400153
154#
155#PolicySafetyChecker properties
156#
157#Turn safetyChecker on/off
158xacml.rest.pap.safetychecker=on
159PDP_URL1 = http://localhost:8082/pdp/, testpdp, alpha456
160CLIENT_ID=
161CLIENT_KEY=
162
163#Micro Service Model Properties
Ravindra Bakkamanthalad9007d62017-05-31 15:54:24 -0400164xacml.policy.msEcompName=http://org.openecomp
165xacml.policy.msPolicyName=http://org.openecomp/policy