diff options
author | Jorge Hernandez <jh1730@att.com> | 2017-05-03 21:31:58 +0000 |
---|---|---|
committer | Gerrit Code Review <gerrit@onap.org> | 2017-05-03 21:31:58 +0000 |
commit | a330af579866dacbe595e2e4ad1dd29cd3c96945 (patch) | |
tree | b9455591600034dfd4f33a9c1f733336280f2208 /ECOMP-PAP-REST/xacml.pap.properties | |
parent | 5444e748b8651d8346dcb78c5ab8b0637dea197b (diff) | |
parent | e0addf5b588a1244f9679becd90999dfcb4c3a94 (diff) |
Merge "Policy 1707 commit to LF"
Diffstat (limited to 'ECOMP-PAP-REST/xacml.pap.properties')
-rw-r--r-- | ECOMP-PAP-REST/xacml.pap.properties | 60 |
1 files changed, 35 insertions, 25 deletions
diff --git a/ECOMP-PAP-REST/xacml.pap.properties b/ECOMP-PAP-REST/xacml.pap.properties index 91e393de5..7ec9447b0 100644 --- a/ECOMP-PAP-REST/xacml.pap.properties +++ b/ECOMP-PAP-REST/xacml.pap.properties @@ -17,12 +17,23 @@ # limitations under the License. # ============LICENSE_END========================================================= ### - +#=====================================================================================# +#================The Below Properties are default, shouldn't change them==============# +#=====================================================================================# # # This is our factory that will create our engine # xacml.PAP.papEngineFactory=org.openecomp.policy.xacml.std.pap.StdEngineFactory - +# Dictionary and Policy Implementation Classes Properties +dictionary.impl.className=org.openecomp.policy.pap.xacml.rest.handler.DictionaryHandlerImpl +savePolicy.impl.className=org.openecomp.policy.pap.xacml.rest.handler.SavePolicyHandler +pushPolicy.impl.className=org.openecomp.policy.pap.xacml.rest.handler.PushPolicyHander +deletePolicy.impl.className=org.openecomp.policy.pap.xacml.rest.handler.DeleteHandler +#AutoPush Policy +xacml.rest.pap.autopush.file=autopush.properties +#=====================================================================================# +#===============The Below Properties will be changed based on Environment=============# +#=====================================================================================# # # Where we store our PAP PDP Group/Node information # @@ -35,7 +46,6 @@ xacml.pap.pdps=pdps # but for startup there is no other way to get it.) # # - xacml.rest.pap.url=http://localhost:8070/pap/ # @@ -55,28 +65,14 @@ xacml.rest.pap.heartbeat.interval=100000 # xacml.rest.pap.heartbeat.timeout=100000 -################################################################################################ -# Adding properties for getting properties previously used by PAP-ADMIN for creating Policies -# THis is part of the Policy Creation API project -################################################################################################ - -# Set your domain here: -xacml.rest.pap.domain=com - -# Location where all the user workspaces are located. -xacml.rest.pap.workspace=workspace - -# Location where the GIT repository is located -xacml.rest.pap.repository=repository - # new Property Please mention your PAP-REST webapps Location here. -xacml.rest.config.webapps=C:\\Second Tomcat\\apache-tomcat-8.0.23\\webapps\\ConfigPAP\\ +xacml.rest.config.webapps=/home/users/PolicyEngine/webapps/ConfigPAP/ #Turn the audit on to synchronize the DB/file system #xacml.rest.pap.run.audit.flag=true #Turn the audit off to not synchronize the DB/file system #xacml.rest.pap.run.audit.flag=false -xacml.rest.pap.run.audit.flag=false +xacml.rest.pap.run.audit.flag=true #Audit will synchronize the file system to match the contents of the DB #xacml.rest.pap.filesystem.audit=true @@ -91,12 +87,12 @@ xacml.rest.pap.password=alpha123 # pdps file xacml.rest.pdp.idfile=test.properties - +#Properties for db access #properties for MySql xacml database: PLEASE DO NOT REMOVE... NEEDED FOR APIs javax.persistence.jdbc.driver=com.mysql.jdbc.Driver -javax.persistence.jdbc.url=jdbc:mysql://localhost:3306/ecomp_sdk -javax.persistence.jdbc.user=root -javax.persistence.jdbc.password= +javax.persistence.jdbc.url=jdbc:mysql://localhost:3306/ecomp_sdk?failOverReadOnly=false&autoReconnect=true +javax.persistence.jdbc.user=policy_user +javax.persistence.jdbc.password=policy_user #Time in ms which a Policy DB transaction will wait to get the transaction lock object xacml.rest.pap.transaction.waitms=500000 @@ -110,10 +106,11 @@ xacml.rest.pap.audit.timeoutms=500000 #controls how long the pap will wait before giving up when sending notifications to other paps xacml.rest.pap.notify.timeoutms=10000 +#the number of times an incoming policy update notification will be tried to be processed (or until it succeeds) +xacml.rest.pap.incomingnotification.tries=4 + #AutoPush Policy Flag xacml.rest.pap.autopush.flag=false -#AutoPush Policy -xacml.rest.pap.autopush.file=autopush.properties #***Properties for IntegrityMonitor integration defined in XACMLRestProperties.java*** @@ -153,3 +150,16 @@ dependency_groups=site_1.logparser_1;site_1.adminconsole_1;site_1.elk_1 integrity_audit_period_seconds=-1 ENVIRONMENT=DEVL + +# +#PolicySafetyChecker properties +# +#Turn safetyChecker on/off +xacml.rest.pap.safetychecker=on +PDP_URL1 = http://localhost:8082/pdp/, testpdp, alpha456 +CLIENT_ID= +CLIENT_KEY= + +#Micro Service Model Properties +xacml.policy.msEcompName=http://ecomp.com +xacml.policy.msPolicyName=http://ecomp.com/policy
\ No newline at end of file |