blob: 91e393de52727cbb6efe328169718cc87e4d4289 [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###
20
21#
22# This is our factory that will create our engine
23#
24xacml.PAP.papEngineFactory=org.openecomp.policy.xacml.std.pap.StdEngineFactory
25
26#
27# Where we store our PAP PDP Group/Node information
28#
29xacml.pap.pdps=pdps
30#
31# Need the PAP's url (how PDPs will reach it) configured here
32# because we need it to generate the URLs of the Policy Files
33# sent to the PDPs in the configuration when the PAP is first brought up.
34# (In other cases, such as the PDP calling the PAP, we could generate this URL,
35# but for startup there is no other way to get it.)
36#
37#
38
39xacml.rest.pap.url=http://localhost:8070/pap/
40
41#
42# Upon startup, have the PAP servlet send latest configuration information to all
43# the PDP nodes it knows about.
44#
45xacml.rest.pap.initiate.pdp=true
46#
47# Heartbeat from PAP to PDPs
48#
49# How much time (in milliseconds) between heartbeats
50# (i.e. the time between completing the heartbeat with all PDPs and starting the next cycle)
51#
52xacml.rest.pap.heartbeat.interval=100000
53#
54# Heartbeat connection timeout (in milliseconds)
55#
56xacml.rest.pap.heartbeat.timeout=100000
57
58################################################################################################
59# Adding properties for getting properties previously used by PAP-ADMIN for creating Policies
60# THis is part of the Policy Creation API project
61################################################################################################
62
63# Set your domain here:
64xacml.rest.pap.domain=com
65
66# Location where all the user workspaces are located.
67xacml.rest.pap.workspace=workspace
68
69# Location where the GIT repository is located
70xacml.rest.pap.repository=repository
71
72# new Property Please mention your PAP-REST webapps Location here.
73xacml.rest.config.webapps=C:\\Second Tomcat\\apache-tomcat-8.0.23\\webapps\\ConfigPAP\\
74
75#Turn the audit on to synchronize the DB/file system
76#xacml.rest.pap.run.audit.flag=true
77#Turn the audit off to not synchronize the DB/file system
78#xacml.rest.pap.run.audit.flag=false
79xacml.rest.pap.run.audit.flag=false
80
81#Audit will synchronize the file system to match the contents of the DB
82#xacml.rest.pap.filesystem.audit=true
83#Audit will synchronize the DB to match the contents of the file system
84#xacml.rest.pap.filesystem.audit=false
85xacml.rest.pap.filesystem.audit=false
86xacm.xcor.required.pattern=1,1
87# id
88xacml.rest.pap.userid=testpap
89# pass
90xacml.rest.pap.password=alpha123
91# pdps file
92xacml.rest.pdp.idfile=test.properties
93
94
95#properties for MySql xacml database: PLEASE DO NOT REMOVE... NEEDED FOR APIs
96javax.persistence.jdbc.driver=com.mysql.jdbc.Driver
97javax.persistence.jdbc.url=jdbc:mysql://localhost:3306/ecomp_sdk
98javax.persistence.jdbc.user=root
99javax.persistence.jdbc.password=
100
101#Time in ms which a Policy DB transaction will wait to get the transaction lock object
102xacml.rest.pap.transaction.waitms=500000
103
104#Policy DB transaction timeout in ms after it has obtained the transaction lock object
105xacml.rest.pap.transaction.timeoutms=500000
106
107#Policy Audit timeout in ms after it has obtained the transaction lock object
108xacml.rest.pap.audit.timeoutms=500000
109
110#controls how long the pap will wait before giving up when sending notifications to other paps
111xacml.rest.pap.notify.timeoutms=10000
112
113#AutoPush Policy Flag
114xacml.rest.pap.autopush.flag=false
115#AutoPush Policy
116xacml.rest.pap.autopush.file=autopush.properties
117
118#***Properties for IntegrityMonitor integration defined in XACMLRestProperties.java***
119
120#The name of the PAP. Must be unique across the system
121xacml.rest.pap.resource.name=site_1.pap_1
122
123#***Properties for IntegrityMonitor integration defined in IntegrityMonitorProperties.java***
124
125#Interval between forward progress counter updates in seconds
126fp_monitor_interval=30
127
128#Number of forward progress counter failures before failover
129failed_counter_threshold=3
130
131#Interval in seconds between test transactions if there is no other traffic
132test_trans_interval=10
133
134#Interval in seconds between updates of the forward progress counter in the DB
135write_fpc_interval=5
136
137#Name of the site
138site_name=site_1
139
140#Node type. Can take values of: pdp-xacml, pdp-drools, pap, pap-admin, logparser, brms-gateway,
141#astra-gateway, elk-server and pypdp
142node_type=pap
143
144#Dependency groups are groups of resources upon which a node operational state is dependent upon (dependency_groups).
145#Each group is a comma-separated list of resource names and groups are separated by a semicolon. A group may contain
146#one or more members.
147dependency_groups=site_1.logparser_1;site_1.adminconsole_1;site_1.elk_1
148
149# The (optional) period of time in seconds between executions of the integrity audit.
150# Value < 0 : Audit does not run (default value if property is not present = -1)
151# Value = 0 : Audit runs continuously
152# Value > 0 : The period of time in seconds between execution of the audit on a particular node
153integrity_audit_period_seconds=-1
154
155ENVIRONMENT=DEVL