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 file is set to the defaults one can use to run the XACML-PAP-ADMIN for testing and development.
24 # It is not recommended to modify this file directly, but rather copy it to another location and make any modifications
25 # necessary to run the application in a development or a production environment. You can set the Java VM System
26 # property to change where the application can find the file. For example:
28 #-Dxacml.properties=/opt/app/xacml/etc/xacml.admin.properties
31 # Standard API Factories
33 xacml.dataTypeFactory=com.att.research.xacml.std.StdDataTypeFactory
34 xacml.pdpEngineFactory=com.att.research.xacmlatt.pdp.ATTPDPEngineFactory
35 xacml.pepEngineFactory=com.att.research.xacml.std.pep.StdEngineFactory
36 xacml.pipFinderFactory=com.att.research.xacml.std.pip.StdPIPFinderFactory
38 # AT&T PDP Implementation Factories
40 xacml.att.evaluationContextFactory=com.att.research.xacmlatt.pdp.std.StdEvaluationContextFactory
41 xacml.att.combiningAlgorithmFactory=com.att.research.xacmlatt.pdp.std.StdCombiningAlgorithmFactory
42 xacml.att.functionDefinitionFactory=org.openecomp.policy.xacml.custom.EcompFunctionDefinitionFactory
43 xacml.att.policyFinderFactory=com.att.research.xacmlatt.pdp.std.StdPolicyFinderFactory
46 # This is an extremely simple policy to demonstrate authorization
47 # within the Admin Console.
49 xacml.rootPolicies=${{ROOT_POLICIES}}
50 admin.file=${{ADMIN_FILE}}
53 # PAP Servlet properties
55 xacml.PAP.papEngineFactory=org.openecomp.policy.xacml.std.pap.StdEngineFactory
58 # Admin Console properties
60 xacml.AC.papEngineFactory=org.openecomp.policy.xacml.admin.util.RESTfulPAPFactory
62 # Set your domain here:
64 xacml.rest.admin.domain=${{REST_ADMIN_DOMAIN}}
66 # Location where the GIT repository is located
68 xacml.rest.admin.repository=${{REST_ADMIN_REPOSITORY}}
70 # Location where all the user workspaces are located.
72 xacml.rest.admin.workspace=${{REST_ADMIN_WORKSPACE}}
75 xacml.rest.admin.closedLoopJSON =JSONConfig.json
76 xacml.rest.admin.microServiceModel=model.properties
77 xacm.restful.interface.file=RESTful.interface.properties
80 # Property to declare the max time frame for logs.
82 xacml.log.timeframe=${{LOG_TIMEFRAME}}
85 xacml.log.db.driver=${{JDBC_DRIVER}}
86 xacml.log.db.url=${{JDBC_LOG_URL}}
87 xacml.log.db.user=${{JDBC_USER}}
88 xacml.log.db.password=${{JDBC_PASSWORD}}
90 # Dashboard refresh rate in miliseconds
91 xacml.refresh.rate=${{REFRESH_RATE}}
93 # Number of visable rows for users in MicroService Policy
94 xacml.user.column.count=${{COLUMN_COUNT}}
96 #the page length for the sqlcontainer used on Dashbaord
97 xacml.sqlcontainer.page.length=75
99 #Patter to identify if a attribute is ready. Currently just a place holder
100 xacm.xcor.required.pattern=1,1
102 #The time to hold the cache of values for the attributes retrieved from Remote dictionary
103 xacm.cache.live.time=2
105 #The largest value that priority can be set in on the UI
106 xacml.max.priority.count=10
107 #The max Model Leve Displayed on the UI
110 # These can be set so the Admin Console knows who is logged on. Ideally, you can run the console in a J2EE
111 # container and setup authentication as you please. Setting HttpSession attribute values will override these
112 # values set in the properties files.
114 # ((HttpServletRequest) request).getSession().setAttribute("xacml.rest.admin.user.name", "Homer");
116 # The default policy: Policy-Admin.xml is extremely simple.
118 # You can test authorization within the Admin Console by changing the user id.
119 # There are 3 supported user ids:
120 # guest - Read only access
121 # editor - Read/Write access
122 # admin - Read/Write/Admin access
124 # An empty or null value for xacml.rest.admin.user.id results in no access to the application at all.
126 # This is for development/demonstration purposes only. A production environment should provide authentication which is
127 # outside the scope of this application. This application can be used to develop a XACML policy for user authorization
128 # within this application.
131 xacml.rest.admin.user.name=${{REST_ADMIN_USER_NAME}}
132 xacml.rest.admin.user.id=${{REST_ADMIN_USER_ID}}
133 xacml.rest.admin.user.email=
136 # URL location for the PAP servlet.
139 xacml.rest.pap.url=${{REST_PAP_URL}}
141 xacml.rest.config.home=${{REST_CONFIG_HOME}}
142 xacml.rest.action.home=${{REST_ACTION_HOME}}
143 xacml.rest.config.url=${{REST_CONFIG_URL}}
144 xacml.rest.config.webapps=${{REST_CONFIG_WEBAPPS}}
146 # PAP account information
147 xacml.rest.pap.userid=${{CONSOLE_PAP_HTTP_USER_ID}}
148 xacml.rest.pap.password=${{CONSOLE_PAP_HTTP_PASSWORD}}
150 # pdps file - Needs to have the location of the PDPs File of the PAP-REST
151 xacml.rest.pdp.idfile=${{POLICY_HOME}}/servers/pap/bin/test.properties
154 xacml.rest.closedLoopFault=OpenSource.version.1
155 xacml.rest.closedLoopPM=OpenSource.version.1
156 xacml.rest.microServices=OpenSource.version.1
157 xacml.rest.gocPolicy=OpenSource.version.1
158 xacml.rest.firewallPolicy=OpenSource.version.1
160 #***Properties for IntegrityMonitor integration defined in XACMLRestProperties.java***
161 #The name of the Admin. Must be unique across the system
162 xacml.rest.admin.resource.name=${{resource_name}}
164 #***Properties for IntegrityMonitor integration defined in IntegrityMonitorProperties.java***
165 site_name=${{site_name}}
166 node_type=${{node_type}}
167 fp_monitor_interval=${{fp_monitor_interval}}
168 failed_counter_threshold=${{failed_counter_threshold}}
169 test_trans_interval=${{test_trans_interval}}
170 write_fpc_interval=${{write_fpc_interval}}
171 max_fpc_update_interval=${{max_fpc_update_interval}}
172 test_via_jmx=${{test_via_jmx}}
174 # The (optional) period of time in seconds between executions of the integrity audit.
175 # Value < 0 : Audit does not run (default value if property is not present = -1)
176 # Value = 0 : Audit runs continuously
177 # Value > 0 : The period of time in seconds between execution of the audit on a particular node
178 integrity_audit_period_seconds=${{integrity_audit_period_seconds}}
180 #Automatic Policy Distribution
181 xacml.att.automatic.push = ${{automatic_push}}
185 xacml.ecomp.dashboard.logTableLimit = 5000
186 xacml.ecomp.dashboard.systemAlertTableLimit = 2000
188 #Diff of policies for Firewall feature
189 FW_GETURL=${{FW_GETURL}}
190 FW_AUTHOURL=${{FW_AUTHOURL}}
191 FW_PROXY=${{FW_PROXY}}
194 #SMTP Server Details for Java Mail
195 ecomp.smtp.host = ${{ecomp_smtp_host}}
196 ecomp.smtp.port = ${{ecomp_smtp_port}}
197 ecomp.smtp.userName = ${{ecomp_smtp_userName}}
198 ecomp.smtp.password = ${{ecomp_smtp_password}}
199 ecomp.smtp.emailExtension=${{ecomp_smtp_emailExtension}}
200 ecomp.application.name = ${{ecomp_application_name}}
202 #Dialect for Database
203 ecomp.dialect = org.hibernate.dialect.MySQLDialect