diff options
author | Pamela Dragosh <pdragosh@research.att.com> | 2019-03-21 09:58:52 -0400 |
---|---|---|
committer | Pamela Dragosh <pdragosh@research.att.com> | 2019-03-21 11:30:23 -0400 |
commit | 99837f40d77dd41f80eeb4649c43479e898bcaff (patch) | |
tree | 5e5838d6e2a63b6c49e96db0ac9b30c907241577 /models-errors/pom.xml | |
parent | 68476866a3be0b5cc10b75f31b247c2e98e19b69 (diff) |
Add module for error responses
Module will hold a common error message object used by
API's to clients for returning an overall error message
and list of detail messages and warnings.
Added an example and finished a JUnit test.
Changed to response code from HTTP
Added assertj and used StandardCoder
Issue-ID: POLICY-1195
Change-Id: Id0fcf4831b8d03223c590f8085f207dbbbe559b4
Signed-off-by: Pamela Dragosh <pdragosh@research.att.com>
Diffstat (limited to 'models-errors/pom.xml')
-rw-r--r-- | models-errors/pom.xml | 41 |
1 files changed, 41 insertions, 0 deletions
diff --git a/models-errors/pom.xml b/models-errors/pom.xml new file mode 100644 index 000000000..ab998537e --- /dev/null +++ b/models-errors/pom.xml @@ -0,0 +1,41 @@ +<!-- + ============LICENSE_START======================================================= + Copyright (C) 2019 Nordix Foundation. + ================================================================================ + Licensed under the Apache License, Version 2.0 (the "License"); + you may not use this file except in compliance with the License. + You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + + Unless required by applicable law or agreed to in writing, software + distributed under the License is distributed on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + See the License for the specific language governing permissions and + limitations under the License. + + SPDX-License-Identifier: Apache-2.0 + ============LICENSE_END========================================================= +--> + +<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" + xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> + <modelVersion>4.0.0</modelVersion> + <parent> + <groupId>org.onap.policy.models</groupId> + <artifactId>policy-models</artifactId> + <version>2.0.0-SNAPSHOT</version> + </parent> + + <artifactId>models-errors</artifactId> + + <name>${project.artifactId}</name> + <description>The models for Policy API's to return Error/warning message details.</description> + <dependencies> + <dependency> + <groupId>org.onap.policy.common</groupId> + <artifactId>gson</artifactId> + <version>${policy.common.version}</version> + </dependency> + </dependencies> +</project> |