You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@ranger.apache.org by me...@apache.org on 2018/12/19 12:00:47 UTC

[ranger] 24/36: RANGER-2288: Sqoop repository config missing 'Common Name for Certificate'

This is an automated email from the ASF dual-hosted git repository.

mehul pushed a commit to branch ranger-1.2
in repository https://gitbox.apache.org/repos/asf/ranger.git

commit 4c84b66bfa614315d028ded8d8a0d98908e761f4
Author: zhangqiang2 <zh...@zte.com.cn>
AuthorDate: Fri Nov 16 15:10:44 2018 +0800

    RANGER-2288: Sqoop repository config missing 'Common Name for Certificate'
    
    Signed-off-by: peng.jianhua <pe...@zte.com.cn>
---
 .../resources/service-defs/ranger-servicedef-sqoop.json     | 13 ++++++++++++-
 1 file changed, 12 insertions(+), 1 deletion(-)

diff --git a/agents-common/src/main/resources/service-defs/ranger-servicedef-sqoop.json b/agents-common/src/main/resources/service-defs/ranger-servicedef-sqoop.json
index 902a0b8..8cff9ab 100644
--- a/agents-common/src/main/resources/service-defs/ranger-servicedef-sqoop.json
+++ b/agents-common/src/main/resources/service-defs/ranger-servicedef-sqoop.json
@@ -103,7 +103,18 @@
 			"validationMessage": "",
 			"uiHint":"{\"TextFieldWithIcon\":true, \"info\": \"eg. 'http://&lt;ipaddr&gt;:12000'\"}",
 			"label": "Sqoop URL"
-		}
+		},
+
+        {
+            "itemId": 3,
+            "name": "commonNameForCertificate",
+            "type": "string",
+            "mandatory": false,
+            "validationRegEx":"",
+            "validationMessage": "",
+            "uiHint":"",
+            "label": "Common Name for Certificate"
+        }
 
 	],
 	"options": { "enableDenyAndExceptionsInPolicies": "false" },