Fixed the Policy API issues and Bugfixes
[policy/engine.git] / packages / base / src / files / install / servers / pap / bin / xacml.pap.properties
1 ###
2 # ============LICENSE_START=======================================================
3 # ECOMP Policy Engine
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 #
24 xacml.PAP.papEngineFactory=org.openecomp.policy.xacml.std.pap.StdEngineFactory
25 dictionary.impl.className=org.openecomp.policy.pap.xacml.rest.handler.DictionaryHandlerImpl
26 savePolicy.impl.className=org.openecomp.policy.pap.xacml.rest.handler.SavePolicyHandler
27 pushPolicy.impl.className=org.openecomp.policy.pap.xacml.rest.handler.PushPolicyHandler
28 deletePolicy.impl.className=org.openecomp.policy.pap.xacml.rest.handler.DeleteHandler
29 #
30 # Where we store our PAP PDP Group/Node information
31 #
32 xacml.pap.pdps=${{PAP_PDPS}}
33
34 #
35 # Need the PAP's url (how PDPs will reach it) configured here
36 # because we need it to generate the URLs of the Policy Files
37 # sent to the PDPs in the configuration when the PAP is first brought up.
38 # (In other cases, such as the PDP calling the PAP, we could generate this URL, 
39 # but for startup there is no other way to get it.)
40 #
41 #
42 xacml.rest.pap.url=${{PAP_URL}}
43
44 #
45 # Upon startup, have the PAP servlet send latest configuration information to all
46 # the PDP nodes it knows about.
47 #
48 xacml.rest.pap.initiate.pdp=${{PAP_INITIATE_PDP}}
49 #
50 # Heartbeat from PAP to PDPs
51 #
52 # How much time (in milliseconds) between heartbeats
53 # (i.e. the time between completing the heartbeat with all PDPs and starting the next cycle)
54 #
55 xacml.rest.pap.heartbeat.interval=${{PAP_HEARTBEAT_INTERVAL}}
56 #
57 # Heartbeat connection timeout (in milliseconds)
58 #
59 xacml.rest.pap.heartbeat.timeout=${{PAP_HEARTBEAT_TIMEOUT}}
60
61 ################################################################################################
62 # Adding properties for getting properties previously used by PAP-ADMIN for creating Policies
63 # THis is part of the Policy Creation API project
64 ################################################################################################
65
66 # Set your domain here:
67 xacml.rest.pap.domain=${{REST_ADMIN_DOMAIN}}
68
69 # Location where all the user workspaces are located.
70 xacml.rest.pap.workspace=${{REST_ADMIN_WORKSPACE}}
71
72 # Location where the GIT repository is located
73 xacml.rest.pap.repository=${{REST_ADMIN_REPOSITORY}}
74
75 # PAP-REST webapps Location here. 
76 xacml.rest.config.webapps=${{POLICY_HOME}}/servers/pap/webapps
77
78 # id
79 xacml.rest.pap.userid=${{PAP_HTTP_USER_ID}}
80 # pass
81 xacml.rest.pap.password=${{PAP_HTTP_PASSWORD}}
82 # pdps file
83 xacml.rest.pdp.idfile=test.properties
84
85 #New values added 10-21-2015
86 #database driver for PAP
87 javax.persistence.jdbc.driver=${{JDBC_DRIVER}}
88 #database URL for PAP
89 javax.persistence.jdbc.url=${{JDBC_URL}}
90 #database username for PAP
91 javax.persistence.jdbc.user=${{JDBC_USER}}
92 #database password for PAP
93 javax.persistence.jdbc.password=${{JDBC_PASSWORD}}
94 #Time in ms which a Policy DB transaction will wait to get the transaction lock object
95 xacml.rest.pap.transaction.waitms=${{PROP_PAP_TRANS_WAIT}}
96 #Policy DB transaction timeout in ms after it has obtained the transaction lock object
97 xacml.rest.pap.transaction.timeoutms=${{PROP_PAP_TRANS_TIMEOUT}}
98 #Policy Audit timeout in ms after it has obtained the transaction lock object
99 xacml.rest.pap.audit.timeoutms=${{PROP_PAP_AUDIT_TIMEOUT}}
100 #Turning audit ON (set to true) will synchronize the policies in the filesystem with those in the database.
101 #Turning audit OFF (set to false) will not synchronize policies
102 xacml.rest.pap.run.audit.flag=${{PROP_PAP_RUN_AUDIT_FLAG}}
103 #The audit can run in two directions.
104 # 1.The file system can duplicate the database: database>file system (set property to true)
105 # 2.The database can duplicate the file system: file system>database (set property to false)
106 xacml.rest.pap.filesystem.audit=${{PROP_PAP_AUDIT_FLAG}}
107 #AutoPush Policy Flag
108 xacml.rest.pap.autopush.flag=false
109 #AutoPush Policy 
110 xacml.rest.pap.autopush.file=autopush.properties
111 #Patter to identify if a attribute is ready. Currently just a place holder
112 xacm.xcor.required.pattern=1,1
113 #the number of times an incoming policy update notification will be tried to be processed (or until it succeeds)
114 xacml.rest.pap.incomingnotification.tries=4
115
116 #***Properties for IntegrityMonitor integration defined in XACMLRestProperties.java***
117 #The name of the PAP.  Must be unique across the system
118 xacml.rest.pap.resource.name=${{resource_name}}
119
120 #***Properties for IntegrityMonitor integration defined in IntegrityMonitorProperties.java***
121 site_name=${{site_name}}
122 node_type=${{node_type}}
123 dependency_groups=${{dependency_groups}}
124 fp_monitor_interval=${{fp_monitor_interval}}
125 failed_counter_threshold=${{failed_counter_threshold}}
126 test_trans_interval=${{test_trans_interval}}
127 write_fpc_interval=${{write_fpc_interval}}
128 max_fpc_update_interval=${{max_fpc_update_interval}}
129 test_via_jmx=${{test_via_jmx}}
130
131 # The (optional) period of time in seconds between executions of the integrity audit.
132 # Value < 0 : Audit does not run (default value if property is not present = -1)
133 # Value = 0 : Audit runs continuously
134 # Value > 0 : The period of time in seconds between execution of the audit on a particular node
135 integrity_audit_period_seconds=${{integrity_audit_period_seconds}}
136 # Environment should be Set either DEV, TEST or PROD
137 ENVIRONMENT=${{ENVIRONMENT}}
138
139 #Micro Service Model Properties
140 xacml.policy.msEcompName=${{policy_msEcompName}}
141 xacml.policy.msPolicyName=${{policy_msPolicyName}}