blob: b927fb959a28c0a7b4bc52d0b64ecd8166646137 [file] [log] [blame]
Pamela Dragosh91d04c62017-02-14 19:41:00 -05001###
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 file is set to the defaults one can use to run the XACML-PAP-ADMIN for testing and development.
23#
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:
27#
28#-Dxacml.properties=/opt/app/xacml/etc/xacml.admin.properties
29#
30#
31# Standard API Factories
32#
33xacml.dataTypeFactory=com.att.research.xacml.std.StdDataTypeFactory
34xacml.pdpEngineFactory=com.att.research.xacmlatt.pdp.ATTPDPEngineFactory
35xacml.pepEngineFactory=com.att.research.xacml.std.pep.StdEngineFactory
36xacml.pipFinderFactory=com.att.research.xacml.std.pip.StdPIPFinderFactory
37#
38# AT&T PDP Implementation Factories
39#
40xacml.att.evaluationContextFactory=com.att.research.xacmlatt.pdp.std.StdEvaluationContextFactory
41xacml.att.combiningAlgorithmFactory=com.att.research.xacmlatt.pdp.std.StdCombiningAlgorithmFactory
42xacml.att.functionDefinitionFactory=org.openecomp.policy.xacml.custom.EcompFunctionDefinitionFactory
43xacml.att.policyFinderFactory=com.att.research.xacmlatt.pdp.std.StdPolicyFinderFactory
44
45#
46# This is an extremely simple policy to demonstrate authorization
47# within the Admin Console.
48#
49xacml.rootPolicies=admin
50admin.file=Policy-Admin.xml
51
52#
53# PAP Servlet properties
54#
55xacml.PAP.papEngineFactory=org.openecomp.policy.xacml.std.pap.StdEngineFactory
56
57#
58# Admin Console properties
59#
60xacml.AC.papEngineFactory=org.openecomp.policy.xacml.admin.util.RESTfulPAPFactory
61
62# Set your domain here:
63#xacml.rest.admin.domain=com:foo:bar
64xacml.rest.admin.domain=com
65#
66# Location where the GIT repository is located
67#
68xacml.rest.admin.repository=repository
69#
70# Location where all the user workspaces are located.
71#
72xacml.rest.admin.workspace=workspace
73#
74#
75#
76# Property to declare the max time frame for logs.
77#
78xacml.log.timeframe=30
79#
80#
81#
82xacml.rest.admin.closedLoopJSON =JSONConfig.json
83xacml.rest.admin.microServiceModel=model.properties
84xacm.restful.interface.file=RESTful.interface.properties
85#
86#If the Audit is set false, then Audit function will not work at the Server Run time.
87#This will Syncronize the data between Roles and Userinfo Table
88xacml.audit.userInfo = true
89#
90#The Test Environment User Login LoginIU Should provide below on seperating with Comma
91#
92xacml.testEnvironment.loginId =
93
94#Log DB properties
95xacml.log.db.driver=org.mariadb.jdbc.Driver
96xacml.log.db.url=jdbc:mariadb://logdatabaseurl:port/dbname
97xacml.log.db.user=username
98xacml.log.db.password=password
99
100xacml.att.log.timeframe=150
101:
102# Dashboard refresh rate in miliseconds
103xacml.refresh.rate=40000
104xacml.user.column.count=3
105xacml.sqlcontainer.page.length=75
106xacm.xcor.required.pattern=1,1
107xacm.cache.live.time=2
108xacml.max.priority.count=10
109
110#
111# These can be set so the Admin Console knows who is logged on. Ideally, you can run the console in a J2EE
112# container and setup authentication as you please. Setting HttpSession attribute values will override these
113# values set in the properties files.
114#
115# ((HttpServletRequest) request).getSession().setAttribute("xacml.rest.admin.user.name", "Homer");
116#
117# The default policy: Policy-Admin.xml is extremely simple.
118#
119# You can test authorization within the Admin Console by changing the user id.
120# There are 3 supported user ids:
121# guest - Read only access
122# editor - Read/Write access
123# admin - Read/Write/Admin access
124#
125# An empty or null value for xacml.rest.admin.user.id results in no access to the application at all.
126#
127# This is for development/demonstration purposes only. A production environment should provide authentication which is
128# outside the scope of this application. This application can be used to develop a XACML policy for user authorization
129# within this application.
130#
131#xacml.rest.admin.user.name=Guest
132#xacml.rest.admin.user.id=guest
133#xacml.rest.admin.user.name=Editor
134#xacml.rest.admin.user.id=editor
135xacml.rest.admin.user.name=Administrator
136xacml.rest.admin.user.id=super-admin
137xacml.rest.admin.user.email=
138
139#
140# URL location for the PAP servlet.
141#
142xacml.rest.pap.url=http://localhost:8070/pap/
143
144# id PAP
145xacml.rest.pap.userid=testpap
146# pass PAP
147xacml.rest.pap.password=alpha123
148
149# new Property Please mention your PAP-REST webapps Location here.
150
151xacml.rest.config.webapps=C:\\Second Tomcat\\apache-tomcat-8.0.23\\webapps\\ConfigPAP\\
152
153# pdps file - Needs to have the location of the PDPs File of the PAP-REST
154xacml.rest.pdp.idfile=test.properties
155
156#Template Versions
157xacml.rest.closedLoopFault=OpenSource.version.1
158xacml.rest.closedLoopPM=OpenSource.version.1
159xacml.rest.microServices=OpenSource.version.1
160xacml.rest.gocPolicy=OpenSource.version.1
161xacml.rest.firewallPolicy=OpenSource.version.1
162
163#***Properties for IntegrityMonitor integration defined in XACMLRestProperties.java***
164
165#The name of the Admin. Must be unique across the system
166xacml.rest.admin.resource.name=site_1.admin_1
167
168#The site name for the Admin
169site_name=site_1
170
171#Has to be one of pdp_xacml, pdp_drools, pap, pap_admin, logparser, brms_gateway, astra_gateway, elk_server, pypdp
172node_type=pap_admin
173
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
178integrity_audit_period_seconds=-1
179
180#Automatic Policy Distribution
181xacml.att.automatic.push = false
182
183
184#Dashboard Tab Limit
185xacml.ecomp.dashboard.logTableLimit = 5000
186xacml.ecomp.dashboard.systemAlertTableLimit = 2000
187
188
189#Diff of policies for Firewall feature
190FW_GETURL=https://todo_enter_the_firewallurl
191FW_AUTHOURL=https://todo_enter_the_firewallAuthurl
192FW_PROXY=todo_enter_the_proxy
193FW_PORT=8080
194
195#SMTP Server Details for Java Mail
196ecomp.smtp.host = smtp_host
197ecomp.smtp.port = smtp_port
198ecomp.smtp.userName = smtp_username
199ecomp.smtp.password = smtp_password
200ecomp.smtp.emailExtension=smtp_emailExtension
201ecomp.application.name = smtp_AppName
202
203#Dialect for Database
204ecomp.dialect = org.hibernate.dialect.MySQLDialect