Guo Ruijing | 073cc18 | 2017-07-31 08:47:35 +0000 | [diff] [blame] | 1 | ### |
| 2 | # ============LICENSE_START======================================================= |
| 3 | # ONAP 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 | # |
| 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 |
| 37 | # |
| 38 | # AT&T PDP Implementation Factories |
| 39 | # |
| 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.onap.policy.xacml.custom.OnapFunctionDefinitionFactory |
| 43 | xacml.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 | # |
| 49 | xacml.rootPolicies=admin |
| 50 | # |
| 51 | # PAP Servlet properties |
| 52 | # |
| 53 | xacml.PAP.papEngineFactory=org.onap.policy.xacml.std.pap.StdEngineFactory |
| 54 | |
| 55 | # |
| 56 | # Admin Console properties |
| 57 | # |
| 58 | xacml.AC.papEngineFactory=org.onap.policy.xacml.admin.util.RESTfulPAPFactory |
| 59 | |
| 60 | # Set your domain here: |
| 61 | xacml.rest.admin.domain=com |
| 62 | # |
| 63 | # |
| 64 | # Property to declare the max time frame for logs. |
| 65 | # |
| 66 | xacml.log.timeframe=30 |
| 67 | # |
| 68 | # |
| 69 | # |
| 70 | xacml.rest.admin.closedLoopJSON =JSONConfig.json |
| 71 | xacml.rest.admin.microServiceModel=model.properties |
| 72 | xacm.restful.interface.file=RESTful.interface.properties |
| 73 | # |
| 74 | #If the Audit is set false, then Audit function will not work at the Server Run time. |
| 75 | #This will Syncronize the data between Roles and Userinfo Table |
| 76 | xacml.audit.userInfo = true |
| 77 | # |
| 78 | #The Test Environment User Login LoginIU Should provide below on seperating with Comma |
| 79 | # |
| 80 | xacml.testEnvironment.loginId = |
| 81 | |
| 82 | #Log DB properties |
| 83 | xacml.log.db.driver=org.mariadb.jdbc.Driver |
| 84 | xacml.log.db.url=jdbc:mariadb://localhost:3306/log?failOverReadOnly=false&autoReconnect=true |
| 85 | xacml.log.db.user=policy_user |
| 86 | xacml.log.db.password=policy_user |
| 87 | |
| 88 | xacml.att.log.timeframe=150 |
| 89 | |
rb7147 | 92a628e | 2017-09-21 13:51:10 -0400 | [diff] [blame] | 90 | javax.persistence.jdbc.driver=org.mariadb.jdbc.Driver |
| 91 | javax.persistence.jdbc.url=jdbc:mariadb://localhost:3306/onap_sdk |
Guo Ruijing | 073cc18 | 2017-07-31 08:47:35 +0000 | [diff] [blame] | 92 | javax.persistence.jdbc.user=policy_user |
| 93 | javax.persistence.jdbc.password=policy_user |
| 94 | |
| 95 | # Dashboard refresh rate in miliseconds |
| 96 | xacml.refresh.rate=40000 |
| 97 | xacml.user.column.count=3 |
| 98 | xacml.sqlcontainer.page.length=75 |
| 99 | xacm.xcor.required.pattern=1,1 |
| 100 | xacm.cache.live.time=2 |
| 101 | xacml.max.priority.count=10 |
| 102 | |
| 103 | # |
| 104 | # These can be set so the Admin Console knows who is logged on. Ideally, you can run the console in a J2EE |
| 105 | # container and setup authentication as you please. Setting HttpSession attribute values will override these |
| 106 | # values set in the properties files. |
| 107 | # |
| 108 | # ((HttpServletRequest) request).getSession().setAttribute("xacml.rest.admin.user.name", "Homer"); |
| 109 | # |
| 110 | # The default policy: Policy-Admin.xml is extremely simple. |
| 111 | # |
| 112 | # You can test authorization within the Admin Console by changing the user id. |
| 113 | # There are 3 supported user ids: |
| 114 | # guest - Read only access |
| 115 | # editor - Read/Write access |
| 116 | # admin - Read/Write/Admin access |
| 117 | # |
| 118 | # An empty or null value for xacml.rest.admin.user.id results in no access to the application at all. |
| 119 | # |
| 120 | # This is for development/demonstration purposes only. A production environment should provide authentication which is |
| 121 | # outside the scope of this application. This application can be used to develop a XACML policy for user authorization |
| 122 | # within this application. |
| 123 | # |
| 124 | #xacml.rest.admin.user.name=Guest |
| 125 | #xacml.rest.admin.user.id=guest |
| 126 | #xacml.rest.admin.user.name=Editor |
| 127 | #xacml.rest.admin.user.id=editor |
| 128 | xacml.rest.admin.user.name=Administrator |
| 129 | xacml.rest.admin.user.id=super-admin |
| 130 | xacml.rest.admin.user.email= |
| 131 | |
| 132 | # |
| 133 | # URL location for the PAP servlet. |
| 134 | # |
| 135 | xacml.rest.pap.url=http://localhost:8070/pap/ |
| 136 | |
| 137 | # id PAP |
| 138 | xacml.rest.pap.userid=testpap |
| 139 | # pass PAP |
| 140 | xacml.rest.pap.password=alpha123 |
| 141 | |
| 142 | # new Property Please mention your PAP-REST webapps Location here. |
| 143 | |
| 144 | xacml.rest.config.webapps=/home/users/PolicyEngine/webapps/ConfigPAP/ |
| 145 | |
| 146 | # pdps file - Needs to have the location of the PDPs File of the PAP-REST |
| 147 | xacml.rest.pdp.idfile=test.properties |
| 148 | |
| 149 | #Template Versions |
| 150 | xacml.rest.closedLoopFault=OpenSource.version.1 |
| 151 | xacml.rest.closedLoopPM=OpenSource.version.1 |
| 152 | xacml.rest.microServices=OpenSource.version.1 |
| 153 | xacml.rest.gocPolicy=OpenSource.version.1 |
| 154 | xacml.rest.firewallPolicy=OpenSource.version.1 |
Michael Mokry | b6d9063 | 2018-03-16 20:50:41 -0500 | [diff] [blame] | 155 | xacml.rest.optimization=OpenSource.version.1 |
Guo Ruijing | 073cc18 | 2017-07-31 08:47:35 +0000 | [diff] [blame] | 156 | |
| 157 | #***Properties for IntegrityMonitor integration defined in XACMLRestProperties.java*** |
| 158 | |
| 159 | #The name of the Admin. Must be unique across the system |
| 160 | xacml.rest.admin.resource.name=site_1.admin_1 |
| 161 | |
| 162 | #The site name for the Admin |
| 163 | site_name=site_1 |
| 164 | |
| 165 | #Has to be one of pdp_xacml, pdp_drools, pap, pap_admin, logparser, brms_gateway, astra_gateway, elk_server |
| 166 | node_type=pap_admin |
| 167 | |
| 168 | # The (optional) period of time in seconds between executions of the integrity audit. |
| 169 | # Value < 0 : Audit does not run (default value if property is not present = -1) |
| 170 | # Value = 0 : Audit runs continuously |
| 171 | # Value > 0 : The period of time in seconds between execution of the audit on a particular node |
| 172 | integrity_audit_period_seconds=-1 |
| 173 | |
| 174 | #Automatic Policy Distribution |
| 175 | xacml.att.automatic.push = false |
| 176 | |
| 177 | |
| 178 | #Dashboard Tab Limit |
| 179 | xacml.onap.dashboard.logTableLimit = 5000 |
| 180 | xacml.onap.dashboard.systemAlertTableLimit = 2000 |
| 181 | |
| 182 | |
| 183 | #Diff of policies for Firewall feature |
| 184 | FW_GETURL=https://todo_enter_the_firewallurl |
| 185 | FW_AUTHOURL=https://todo_enter_the_firewallAuthurl |
| 186 | FW_PROXY=todo_enter_the_proxy |
| 187 | FW_PORT=8080 |
| 188 | |
| 189 | #SMTP Server Details for Java Mail |
| 190 | onap.smtp.host = smtp_host |
| 191 | onap.smtp.port = smtp_port |
| 192 | onap.smtp.userName = smtp_username |
| 193 | onap.smtp.password = smtp_password |
| 194 | onap.smtp.emailExtension=smtp_emailExtension |
| 195 | onap.application.name = smtp_AppName |
| 196 | |
| 197 | #Dialect for Database |
| 198 | onap.dialect = org.hibernate.dialect.MySQLDialect |
| 199 | |
| 200 | policyAdapter.impl.className = org.onap.policy.admin.PolicyAdapter |
| 201 | |
| 202 | #Micro Service Model Properties |
| 203 | xacml.policy.msOnapName=http://org.onap |
Magnusen, Drew (dm741q) | 7f94862 | 2018-01-10 14:41:24 -0600 | [diff] [blame] | 204 | xacml.policy.msPolicyName=http://org.onap.policy |
| 205 | |
| 206 | #Size limit (in bytes) for file uploads |
| 207 | file.size.limit=30000000 |