From 7f94862a50f552f840cbb2a84ee1c3e20fc3c708 Mon Sep 17 00:00:00 2001 From: "Magnusen, Drew (dm741q)" Date: Wed, 10 Jan 2018 14:41:24 -0600 Subject: Restrict file upload size in policy editor Restrict file upload size in Policy Editory using a configurable value (in bytes) set in xacml.admin.properties. Default value is 30MB. Issue-ID: POLICY-538 Change-Id: I4d8539ab33320446aed250ea4fdc51de585d5f2a Signed-off-by: Magnusen, Drew (dm741q) --- ONAP-SDK-APP/xacml.admin.properties | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'ONAP-SDK-APP') diff --git a/ONAP-SDK-APP/xacml.admin.properties b/ONAP-SDK-APP/xacml.admin.properties index 333da49a5..5628d8dd0 100644 --- a/ONAP-SDK-APP/xacml.admin.properties +++ b/ONAP-SDK-APP/xacml.admin.properties @@ -200,4 +200,7 @@ policyAdapter.impl.className = org.onap.policy.admin.PolicyAdapter #Micro Service Model Properties xacml.policy.msOnapName=http://org.onap -xacml.policy.msPolicyName=http://org.onap.policy \ No newline at end of file +xacml.policy.msPolicyName=http://org.onap.policy + +#Size limit (in bytes) for file uploads +file.size.limit=30000000 \ No newline at end of file -- cgit 1.2.3-korg