2 # ============LICENSE_START=======================================================
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
11 # http://www.apache.org/licenses/LICENSE-2.0
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=========================================================
22 # This is our factory that will create our engine
24 xacml.PAP.papEngineFactory=org.openecomp.policy.xacml.std.pap.StdEngineFactory
27 # Where we store our PAP PDP Group/Node information
29 xacml.pap.pdps=${{PAP_PDPS}}
32 # Need the PAP's url (how PDPs will reach it) configured here
33 # because we need it to generate the URLs of the Policy Files
34 # sent to the PDPs in the configuration when the PAP is first brought up.
35 # (In other cases, such as the PDP calling the PAP, we could generate this URL,
36 # but for startup there is no other way to get it.)
39 xacml.rest.pap.url=${{PAP_URL}}
42 # Upon startup, have the PAP servlet send latest configuration information to all
43 # the PDP nodes it knows about.
45 xacml.rest.pap.initiate.pdp=${{PAP_INITIATE_PDP}}
47 # Heartbeat from PAP to PDPs
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)
52 xacml.rest.pap.heartbeat.interval=${{PAP_HEARTBEAT_INTERVAL}}
54 # Heartbeat connection timeout (in milliseconds)
56 xacml.rest.pap.heartbeat.timeout=${{PAP_HEARTBEAT_TIMEOUT}}
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 ################################################################################################
63 # Set your domain here:
64 xacml.rest.pap.domain=${{REST_ADMIN_DOMAIN}}
66 # Location where all the user workspaces are located.
67 xacml.rest.pap.workspace=${{REST_ADMIN_WORKSPACE}}
69 # Location where the GIT repository is located
70 xacml.rest.pap.repository=${{REST_ADMIN_REPOSITORY}}
72 # PAP-REST webapps Location here.
73 xacml.rest.config.webapps=${{POLICY_HOME}}/servers/pap/webapps
76 xacml.rest.pap.userid=${{PAP_HTTP_USER_ID}}
78 xacml.rest.pap.password=${{PAP_HTTP_PASSWORD}}
80 xacml.rest.pdp.idfile=test.properties
82 #New values added 10-21-2015
83 #database driver for PAP
84 javax.persistence.jdbc.driver=${{JDBC_DRIVER}}
86 javax.persistence.jdbc.url=${{JDBC_URL}}
87 #database username for PAP
88 javax.persistence.jdbc.user=${{JDBC_USER}}
89 #database password for PAP
90 javax.persistence.jdbc.password=${{JDBC_PASSWORD}}
91 #Time in ms which a Policy DB transaction will wait to get the transaction lock object
92 xacml.rest.pap.transaction.waitms=${{PROP_PAP_TRANS_WAIT}}
93 #Policy DB transaction timeout in ms after it has obtained the transaction lock object
94 xacml.rest.pap.transaction.timeoutms=${{PROP_PAP_TRANS_TIMEOUT}}
95 #Policy Audit timeout in ms after it has obtained the transaction lock object
96 xacml.rest.pap.audit.timeoutms=${{PROP_PAP_AUDIT_TIMEOUT}}
97 #Turning audit ON (set to true) will synchronize the policies in the filesystem with those in the database.
98 #Turning audit OFF (set to false) will not synchronize policies
99 xacml.rest.pap.run.audit.flag=${{PROP_PAP_RUN_AUDIT_FLAG}}
100 #The audit can run in two directions.
101 # 1.The file system can duplicate the database: database>file system (set property to true)
102 # 2.The database can duplicate the file system: file system>database (set property to false)
103 xacml.rest.pap.filesystem.audit=${{PROP_PAP_AUDIT_FLAG}}
104 #AutoPush Policy Flag
105 xacml.rest.pap.autopush.flag=false
107 xacml.rest.pap.autopush.file=autopush.properties
108 #Patter to identify if a attribute is ready. Currently just a place holder
109 xacm.xcor.required.pattern=1,1
111 #***Properties for IntegrityMonitor integration defined in XACMLRestProperties.java***
112 #The name of the PAP. Must be unique across the system
113 xacml.rest.pap.resource.name=${{resource_name}}
115 #***Properties for IntegrityMonitor integration defined in IntegrityMonitorProperties.java***
116 site_name=${{site_name}}
117 node_type=${{node_type}}
118 dependency_groups=${{dependency_groups}}
119 fp_monitor_interval=${{fp_monitor_interval}}
120 failed_counter_threshold=${{failed_counter_threshold}}
121 test_trans_interval=${{test_trans_interval}}
122 write_fpc_interval=${{write_fpc_interval}}
123 max_fpc_update_interval=${{max_fpc_update_interval}}
124 test_via_jmx=${{test_via_jmx}}
126 # The (optional) period of time in seconds between executions of the integrity audit.
127 # Value < 0 : Audit does not run (default value if property is not present = -1)
128 # Value = 0 : Audit runs continuously
129 # Value > 0 : The period of time in seconds between execution of the audit on a particular node
130 integrity_audit_period_seconds=${{integrity_audit_period_seconds}}
131 # Environment should be Set either DEV, TEST or PROD
132 ENVIRONMENT=${{ENVIRONMENT}}