blob: 7631d00e7abf868632c7d26e807eddea9279f503 [file] [log] [blame]
Pamela Dragosh91d04c62017-02-14 19:41:00 -05001###
2# ============LICENSE_START=======================================================
3# ECOMP-PDP-REST
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# Default XACML Properties File for PDP RESTful servlet
22#
23# Standard API Factories
24#
25xacml.dataTypeFactory=com.att.research.xacml.std.StdDataTypeFactory
26xacml.pdpEngineFactory=com.att.research.xacmlatt.pdp.ATTPDPEngineFactory
27xacml.pepEngineFactory=com.att.research.xacml.std.pep.StdEngineFactory
28# NOT USED SEE BELOW xacml.pipFinderFactory=org.openecomp.policy.xacml.std.pip.StdPIPFinderFactory
29xacml.traceEngineFactory=com.att.research.xacml.std.trace.LoggingTraceEngineFactory
30#
31# AT&T PDP Implementation Factories
32#
33xacml.att.evaluationContextFactory=com.att.research.xacmlatt.pdp.std.StdEvaluationContextFactory
34xacml.att.combiningAlgorithmFactory=com.att.research.xacmlatt.pdp.std.StdCombiningAlgorithmFactory
35xacml.att.functionDefinitionFactory=org.openecomp.policy.xacml.custom.EcompFunctionDefinitionFactory
36# NOT USED SEE BELOW xacml.att.policyFinderFactory=org.openecomp.policy.pdp.std.StdPolicyFinderFactory
ITSERVICES\rb7147e0addf52017-04-25 11:46:00 -040037# creteUpdate Policy Implementation Class details.
38createUpdatePolicy.impl.className=org.openecomp.policy.pdp.rest.api.services.CreateUpdatePolicyServiceImpl
39# AAF Implementation class details
40aafClient.impl.className=org.openecomp.policy.utils.AAFPolicyClientImpl
Pamela Dragosh91d04c62017-02-14 19:41:00 -050041#
42# AT&T RESTful PDP Implementation Factories
43#
44xacml.pipFinderFactory=org.openecomp.policy.pdp.rest.impl.XACMLPdpPIPFinderFactory
45xacml.att.policyFinderFactory=org.openecomp.policy.pdp.rest.XACMLPdpPolicyFinderFactory
46#
47# When set to true, this flag tells the StdPolicyFinderFactory to combined all the root policy files into
48# into one PolicySet and use the given Policy Algorithm.
49#
ITSERVICES\rb7147dda032f2017-05-08 22:20:44 -040050xacml.att.policyFinderFactory.combineRootPolicies=urn:com:att:xacml:3.0:policy-combining-algorithm:combined-permit-overrides
Pamela Dragosh91d04c62017-02-14 19:41:00 -050051#
52# PDP RESTful API properties
53#
54# Set this to the address where the XACML-PAP-REST servlet is running
55xacml.rest.pap.url=http://localhost:8070/pap/
56
57#if multiple paps exist, the xacml.rest.pap.url can be removed and they can be defined like this:
58#xacml.rest.pap.urls=http://localhost:9090/pap/,http://localhost:9091/pap/
59
60#
61# Give the running PDP an ID for the PAP. The url that its running as is a good choice.
62# The PAP identifies PDP's using the URL of the PDP.
63#
ITSERVICES\rb7147e0addf52017-04-25 11:46:00 -040064xacml.rest.pdp.id=http://localhost:8082/pdp/
Pamela Dragosh91d04c62017-02-14 19:41:00 -050065
66# Give the port number used for the PDP
67
68xacml.jmx.port=0
69
Pamela Dragosh91d04c62017-02-14 19:41:00 -050070
ITSERVICES\rb7147e0addf52017-04-25 11:46:00 -040071# Notification Properties
72# Notifcation type: websocket, ueb or dmaap... if left blank websocket is the default
73NOTIFICATION_TYPE=websocket
74NOTIFICATION_SERVERS=
75NOTIFICATION_TOPIC=
76NOTIFICATION_DELAY=
77UEB_API_KEY=
78UEB_API_SECRET=
79DMAAP_AAF_LOGIN=
80DMAAP_AAF_PASSWORD=
81
Pamela Dragosh91d04c62017-02-14 19:41:00 -050082#
83# Set the directory where the PDP holds its Policy Cache and PIP Configuration
84#
85xacml.rest.pdp.config=config
86
Ravindra Bakkamanthalad9007d62017-05-31 15:54:24 -040087xacml.rest.pdp.webapps=/home/users/PolicyEngine/webapps/ConfigPAP/
Pamela Dragosh91d04c62017-02-14 19:41:00 -050088#
89# Initialize register with PAP servlet
90#
91xacml.rest.pdp.register=true
92#
93# Sleep period in seconds between register attempts
94#
95xacml.rest.pdp.register.sleep=15
96#
97# number of attempts to register. -1 means keep trying forever.
98#
99xacml.rest.pdp.register.retries=-1
100#
101# max number of bytes in a POST of a XML/JSON request
102# old value #32767
103xacml.rest.pdp.maxcontent=99999999
104#
105# Set UserID here
106xacml.rest.pdp.userid=testpdp
107# Set Password here
108xacml.rest.pdp.password=alpha456
109
110# id PAP
111xacml.rest.pap.userid=testpap
112#if multiple paps have different logins, they can be defined like this:
113#http\://localhost\:9090/pap/.xacml.rest.pap.userid=testpap
114
115# pass PAP
116xacml.rest.pap.password=alpha123
117#http\://localhost\:9090/pap/.xacml.rest.pap.password=alpha123
118
119# Delay for Notifications Don't change this. Value in milliSec.
120xacml.rest.notification.delay=30
121# Buffer Size.
122REQUEST_BUFFER_SIZE=15
123
124#properties for MySql xacml database: PLEASE DO NOT REMOVE... NEEDED FOR APIs
125javax.persistence.jdbc.driver=com.mysql.jdbc.Driver
ITSERVICES\rb7147e0addf52017-04-25 11:46:00 -0400126javax.persistence.jdbc.url=jdbc:mysql://localhost:3306/ecomp_sdk
Pamela Dragosh91d04c62017-02-14 19:41:00 -0500127javax.persistence.jdbc.user=policy_user
ITSERVICES\rb7147e0addf52017-04-25 11:46:00 -0400128javax.persistence.jdbc.password=policy_user
Pamela Dragosh91d04c62017-02-14 19:41:00 -0500129
130
131#***Properties for IntegrityMonitor integration defined in XACMLRestProperties.java***
132
133#The name of the PDP. Must be unique across the system
134xacml.rest.pdp.resource.name=site_1.pdp_1
135
136#***Properties for IntegrityMonitor integration defined in IntegrityMonitorProperties.java***
137
138#Interval between forward progress counter updates in seconds
139fp_monitor_interval=30
140
141#Number of forward progress counter failures before failover
142failed_counter_threshold=3
143
144#Interval in seconds between test transactions if there is no other traffic
145test_trans_interval=10
146
147#Interval in seconds between updates of the forward progress counter in the DB
148write_fpc_interval=5
149
150#Name of the site
151site_name=site_1
152
153#Node type
154node_type=pdp_xacml
155
156#Dependency groups are groups of resources upon which a node operational state is dependent upon).
157#Each group is a comma-separated list of resource names and groups are separated by a semicolon.
158#A group may contain one or more members. Resource names must match the resource names defined
159#in the respective servers' properties files
Ravindra Bakkamanthala87c95be2017-05-23 14:56:12 -0400160dependency_groups=site_1.pdplp_1;site_1.astragw_1;site_1.brmsgw_1
Pamela Dragosh91d04c62017-02-14 19:41:00 -0500161
162# this can be DEVL, TEST, PROD
163ENVIRONMENT=DEVL
ITSERVICES\rb7147e0addf52017-04-25 11:46:00 -0400164xacml.rest.pep.idfile = client.properties
165
166#AAF Policy Name space
167#Not Mandatory for Open Ecomp
168policy.aaf.namespace =
Tarun Tej Velagae92ff832017-07-24 17:13:43 +0000169policy.aaf.resource =
170# Decision Response settings.
171# can be either PERMIT or DENY.
172decision.indeterminate.response=PERMIT