diff options
author | 2024-04-10 14:02:33 +0100 | |
---|---|---|
committer | 2024-04-10 14:02:48 +0100 | |
commit | 691631b842b18c04ed3ff230e15594b138d7b329 (patch) | |
tree | 37cba0a29b03c2939be77d11fa0e73d46ec2014d /gui-editors/gui-editor-apex/src/main | |
parent | b84171a5e9e6c24afc29ed7bec7d3bf1e57120f0 (diff) |
Dependency management update
- including dependencies to pom.xml files only where they are used,
avoiding extra dependencies being added in all packages.
Issue-ID: POLICY-4945
Change-Id: Ib92fcae59a3da6fa3bf3d4a5e741ca1b012c4a40
Signed-off-by: adheli.tavares <adheli.tavares@est.tech>
Diffstat (limited to 'gui-editors/gui-editor-apex/src/main')
-rw-r--r-- | gui-editors/gui-editor-apex/src/main/java/org/onap/policy/gui/editors/apex/rest/handling/plugin/upload/PolicyUploadHandler.java | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/gui-editors/gui-editor-apex/src/main/java/org/onap/policy/gui/editors/apex/rest/handling/plugin/upload/PolicyUploadHandler.java b/gui-editors/gui-editor-apex/src/main/java/org/onap/policy/gui/editors/apex/rest/handling/plugin/upload/PolicyUploadHandler.java index 677b3dd..095b544 100644 --- a/gui-editors/gui-editor-apex/src/main/java/org/onap/policy/gui/editors/apex/rest/handling/plugin/upload/PolicyUploadHandler.java +++ b/gui-editors/gui-editor-apex/src/main/java/org/onap/policy/gui/editors/apex/rest/handling/plugin/upload/PolicyUploadHandler.java @@ -1,6 +1,6 @@ /* * ============LICENSE_START======================================================= - * Copyright (C) 2020-2022 Nordix Foundation + * Copyright (C) 2020-2022, 2024 Nordix Foundation * Modifications Copyright (C) 2021 AT&T Intellectual Property. All rights reserved. * Modifications Copyright (C) 2021 Bell Canada. All rights reserved. * ================================================================================ @@ -111,7 +111,7 @@ public class PolicyUploadHandler { final var apexApiResult = new ApexApiResult(Result.FAILED); apexApiResult.addMessage( String.format("uploading Policy '%s' to URL '%s' with userId '%s' failed with status %d", - policyModelKey.getId(), uploadUrl, uploadUserId, e.getRawStatusCode())); + policyModelKey.getId(), uploadUrl, uploadUserId, e.getStatusCode().value())); LOGGER.exit(MODEL_UPLOAD_NOT_OK); return apexApiResult; |