From f6fc229608f2692ae666767ff49699acb1a795bb Mon Sep 17 00:00:00 2001 From: Remigiusz Janeczek Date: Thu, 26 Nov 2020 13:46:46 +0100 Subject: Update external certificates SANs delimiter Fix formatting Issue-ID: DCAEGEN2-2508 Signed-off-by: Remigiusz Janeczek Change-Id: I1fab49ed949923e7c2a2ca47182805f494c89093 --- .../ExternalCertificateParametersFactoryService.java | 15 +++++++++------ 1 file changed, 9 insertions(+), 6 deletions(-) (limited to 'mod/bpgenerator/onap/src/main/java/org/onap') diff --git a/mod/bpgenerator/onap/src/main/java/org/onap/blueprintgenerator/service/common/ExternalCertificateParametersFactoryService.java b/mod/bpgenerator/onap/src/main/java/org/onap/blueprintgenerator/service/common/ExternalCertificateParametersFactoryService.java index b739e4b..300aa5d 100644 --- a/mod/bpgenerator/onap/src/main/java/org/onap/blueprintgenerator/service/common/ExternalCertificateParametersFactoryService.java +++ b/mod/bpgenerator/onap/src/main/java/org/onap/blueprintgenerator/service/common/ExternalCertificateParametersFactoryService.java @@ -4,6 +4,7 @@ * * org.onap.dcae * * ================================================================================ * * Copyright (c) 2020 AT&T Intellectual Property. All rights reserved. + * * Copyright (c) 2020 Nokia. All rights reserved. * * ================================================================================ * * Licensed under the Apache License, Version 2.0 (the "License"); * * you may not use this file except in compliance with the License. @@ -34,9 +35,8 @@ import java.util.Map; /** * @author : Ravi Mantena - * @date 10/16/2020 - * Application: ONAP - Blueprint Generator - * Common ONAP Service used by ONAP and DMAAP Blueprint to add External Certificate Parameters + * @date 10/16/2020 Application: ONAP - Blueprint Generator Common ONAP Service used by ONAP and DMAAP Blueprint to add + * External Certificate Parameters */ @@ -58,11 +58,14 @@ public class ExternalCertificateParametersFactoryService extends ExternalCertifi public Map> createInputList() { Map> retInputs = new LinkedHashMap<>(); - LinkedHashMap commonNameInputMap = blueprintHelperService.createStringInput("Common name which should be present in certificate.",Constants.DEFAULT_COMMON_NAME); + LinkedHashMap commonNameInputMap = blueprintHelperService + .createStringInput("Common name which should be present in certificate.", Constants.DEFAULT_COMMON_NAME); retInputs.put(addPrefix(Constants.COMMON_NAME_FIELD), commonNameInputMap); - LinkedHashMap sansInputMap = blueprintHelperService.createStringInput("\"List of Subject Alternative Names (SANs) which should be present in certificate. " + - "Delimiter - : Should contain a common_name value and other FQDNs under which the given " +"component is accessible.\"",Constants.DEFAULT_SANS); + LinkedHashMap sansInputMap = blueprintHelperService + .createStringInput("\"List of Subject Alternative Names (SANs) which should be present in certificate. " + + "Delimiter - , Should contain a common_name value and other FQDNs under which the given " + + "component is accessible.\"", Constants.DEFAULT_SANS); retInputs.put(addPrefix(Constants.SANS_FIELD), sansInputMap); return retInputs; -- cgit 1.2.3-korg