diff options
author | Tomasz Wrobel <tomasz.wrobel@nokia.com> | 2022-01-25 11:00:42 +0100 |
---|---|---|
committer | Tomasz Wrobel <tomasz.wrobel@nokia.com> | 2022-02-11 12:27:06 +0100 |
commit | 9d02ea09cac22c177688622ed50a7eb3f6fd38ce (patch) | |
tree | 430c1dfc64d505a24a380d7eeef48d0f1c3d37db /src/main/java/org/onap/dcaegen2/services/pmmapper/model/PublisherConfig.java | |
parent | 6fa1dfca682711066189bef2f946433b614239fe (diff) |
Fix loading SSL Context when certpaths not exist in configuration1.8.0
- Make cert paths field optional in configuration.
- Allow to skip ssl context load.
- Make PublisherConfig and SubscriberConfig fields optional.
- Remove Auth Header when AAF credentials are empty
Issue-ID: DCAEGEN2-3032
Issue-ID: DCAEGEN2-3038
Signed-off-by: Tomasz Wrobel <tomasz.wrobel@nokia.com>
Change-Id: I27d44cf8c2887b3a75c5ad16f833439b7b5757ee
Diffstat (limited to 'src/main/java/org/onap/dcaegen2/services/pmmapper/model/PublisherConfig.java')
-rw-r--r-- | src/main/java/org/onap/dcaegen2/services/pmmapper/model/PublisherConfig.java | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/src/main/java/org/onap/dcaegen2/services/pmmapper/model/PublisherConfig.java b/src/main/java/org/onap/dcaegen2/services/pmmapper/model/PublisherConfig.java index 16ab941..4b0cdac 100644 --- a/src/main/java/org/onap/dcaegen2/services/pmmapper/model/PublisherConfig.java +++ b/src/main/java/org/onap/dcaegen2/services/pmmapper/model/PublisherConfig.java @@ -1,6 +1,7 @@ /*- * ============LICENSE_START======================================================= * Copyright (C) 2019 Nordix Foundation. + * Copyright (C) 2022 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. @@ -30,15 +31,12 @@ public class PublisherConfig { @SerializedName("topic_url") private String topicUrl; - @GSONRequired @SerializedName("client_role") private String clientRole; - @GSONRequired @SerializedName("client_id") private String clientId; - @GSONRequired @SerializedName("location") private String clusterLocation; |