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=admin
51 # PAP Servlet properties
53 xacml.PAP.papEngineFactory=org.openecomp.policy.xacml.std.pap.StdEngineFactory
56 # Admin Console properties
58 xacml.AC.papEngineFactory=org.openecomp.policy.xacml.admin.util.RESTfulPAPFactory
60 # Set your domain here:
61 xacml.rest.admin.domain=com
63 # Location where the GIT repository is located
65 xacml.rest.admin.repository=repository
67 # Location where all the user workspaces are located.
69 xacml.rest.admin.workspace=workspace
72 # Property to declare the max time frame for logs.
74 xacml.log.timeframe=30
78 xacml.rest.admin.closedLoopJSON =JSONConfig.json
79 xacml.rest.admin.microServiceModel=model.properties
80 xacm.restful.interface.file=RESTful.interface.properties
82 #If the Audit is set false, then Audit function will not work at the Server Run time.
83 #This will Syncronize the data between Roles and Userinfo Table
84 xacml.audit.userInfo = true
86 #The Test Environment User Login LoginIU Should provide below on seperating with Comma
88 xacml.testEnvironment.loginId =
91 xacml.log.db.driver=org.mariadb.jdbc.Driver
92 xacml.log.db.url=jdbc:mariadb://localhost:3306/log?failOverReadOnly=false&autoReconnect=true
93 xacml.log.db.user=policy_user
94 xacml.log.db.password=policy_user
96 xacml.att.log.timeframe=150
98 javax.persistence.jdbc.driver=com.mysql.jdbc.Driver
99 javax.persistence.jdbc.url=jdbc:mysql://localhost:3306/ecomp_sdk
100 javax.persistence.jdbc.user=policy_user
101 javax.persistence.jdbc.password=policy_user
103 # Dashboard refresh rate in miliseconds
104 xacml.refresh.rate=40000
105 xacml.user.column.count=3
106 xacml.sqlcontainer.page.length=75
107 xacm.xcor.required.pattern=1,1
108 xacm.cache.live.time=2
109 xacml.max.priority.count=10
112 # These can be set so the Admin Console knows who is logged on. Ideally, you can run the console in a J2EE
113 # container and setup authentication as you please. Setting HttpSession attribute values will override these
114 # values set in the properties files.
116 # ((HttpServletRequest) request).getSession().setAttribute("xacml.rest.admin.user.name", "Homer");
118 # The default policy: Policy-Admin.xml is extremely simple.
120 # You can test authorization within the Admin Console by changing the user id.
121 # There are 3 supported user ids:
122 # guest - Read only access
123 # editor - Read/Write access
124 # admin - Read/Write/Admin access
126 # An empty or null value for xacml.rest.admin.user.id results in no access to the application at all.
128 # This is for development/demonstration purposes only. A production environment should provide authentication which is
129 # outside the scope of this application. This application can be used to develop a XACML policy for user authorization
130 # within this application.
132 #xacml.rest.admin.user.name=Guest
133 #xacml.rest.admin.user.id=guest
134 #xacml.rest.admin.user.name=Editor
135 #xacml.rest.admin.user.id=editor
136 xacml.rest.admin.user.name=Administrator
137 xacml.rest.admin.user.id=super-admin
138 xacml.rest.admin.user.email=
141 # URL location for the PAP servlet.
143 xacml.rest.pap.url=http://localhost:8070/pap/
146 xacml.rest.pap.userid=testpap
148 xacml.rest.pap.password=alpha123
150 # new Property Please mention your PAP-REST webapps Location here.
152 xacml.rest.config.webapps=C:\\Second Tomcat\\apache-tomcat-8.0.23\\webapps\\ConfigPAP\\
154 # pdps file - Needs to have the location of the PDPs File of the PAP-REST
155 xacml.rest.pdp.idfile=test.properties
158 xacml.rest.closedLoopFault=OpenSource.version.1
159 xacml.rest.closedLoopPM=OpenSource.version.1
160 xacml.rest.microServices=OpenSource.version.1
161 xacml.rest.gocPolicy=OpenSource.version.1
162 xacml.rest.firewallPolicy=OpenSource.version.1
164 #***Properties for IntegrityMonitor integration defined in XACMLRestProperties.java***
166 #The name of the Admin. Must be unique across the system
167 xacml.rest.admin.resource.name=site_1.admin_1
169 #The site name for the Admin
172 #Has to be one of pdp_xacml, pdp_drools, pap, pap_admin, logparser, brms_gateway, astra_gateway, elk_server, pypdp
175 # The (optional) period of time in seconds between executions of the integrity audit.
176 # Value < 0 : Audit does not run (default value if property is not present = -1)
177 # Value = 0 : Audit runs continuously
178 # Value > 0 : The period of time in seconds between execution of the audit on a particular node
179 integrity_audit_period_seconds=-1
181 #Automatic Policy Distribution
182 xacml.att.automatic.push = false
186 xacml.ecomp.dashboard.logTableLimit = 5000
187 xacml.ecomp.dashboard.systemAlertTableLimit = 2000
190 #Diff of policies for Firewall feature
191 FW_GETURL=https://todo_enter_the_firewallurl
192 FW_AUTHOURL=https://todo_enter_the_firewallAuthurl
193 FW_PROXY=todo_enter_the_proxy
196 #SMTP Server Details for Java Mail
197 ecomp.smtp.host = smtp_host
198 ecomp.smtp.port = smtp_port
199 ecomp.smtp.userName = smtp_username
200 ecomp.smtp.password = smtp_password
201 ecomp.smtp.emailExtension=smtp_emailExtension
202 ecomp.application.name = smtp_AppName
204 #Dialect for Database
205 ecomp.dialect = org.hibernate.dialect.MySQLDialect
207 policyAdapter.impl.className = org.openecomp.policy.admin.PolicyAdapter
209 #Micro Service Model Properties
210 xacml.policy.msEcompName=http://ecomp.com
211 xacml.policy.msPolicyName=http://ecomp.com/policy