summaryrefslogtreecommitdiffstats
path: root/api-state-management/pom.xml
blob: 755e4d77afa33265521d240db4af4563510a4436 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
<!--
  ============LICENSE_START=======================================================
  ONAP Policy Engine - Drools PDP
  ================================================================================
  Copyright (C) 2017 AT&T Intellectual Property. 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.
  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.
  ============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.drools-pdp</groupId>
    <artifactId>drools-pdp</artifactId>
    <version>1.2.0-SNAPSHOT</version>
  </parent>
  
  <artifactId>api-state-management</artifactId>
  
  <name>api-state-management</name>
  <description>Separately loadable module for state management APIe</description>

  <properties>
          <maven.compiler.source>1.8</maven.compiler.source>
          <maven.compiler.target>1.8</maven.compiler.target>
          <swagger.version>1.5.0</swagger.version>
  </properties>

  <build>
    <plugins>
 		<!-- none -->
    </plugins>
  </build>

  <dependencies>
    <dependency>
      <groupId>org.onap.policy.drools-pdp</groupId>
      <artifactId>policy-core</artifactId>
      <version>${project.version}</version>
      <scope>provided</scope>
    </dependency>
    <dependency>
      <groupId>org.onap.policy.common</groupId>
      <artifactId>integrity-monitor</artifactId>
      <version>${project.version}</version>
    </dependency>
   </dependencies>
</project>
">| | | | | - statusCode Either 200 or 500 | | | | | | - detailedMsg of the result, in case of failure particular error message | | | | | | - date string indicating the current date & time | | | | | | | | | | | | Expected: | | | | | | | | | | .. code-block:: javascript | | | | | | | | | | { | | | | | "statusCode": 200, | | | | | "detailedMsg": "health check succeeded", | | | | | "date": current date | | | | | } | | | | | | +---------------------+----------+-------------------------------------------------------+------------------------------------------------------------------------------------------+ | Commit Version | GET | /commitInfo | Displays info about the last commit of the running build | +---------------------+----------+-------------------------------------------------------+------------------------------------------------------------------------------------------+ | | | | | return response entity: | | | | | | - commitId full id of the commit | | | | | | - commitMessageShort short message from the commit | | | | | | - commitTime time of the commit | | | | | | | | | | | | Expected: | | | | | | | | | | .. code-block:: javascript | | | | | | | | | | { | | | | | "commitId": id of the last commit | | | | | "commitMessageShort": short message of the last commit | | | | | "commitTime": time of the last commit | | | | | } | | | | | | +---------------------+----------+-------------------------------------------------------+------------------------------------------------------------------------------------------+ .. _vid-maintenance-apis: Maintenance APIs ------------------ +---------------------+----------+-------------------------------------------------------+------------------------------------------------------------------------------------------+ | Maintenance: | POST | /maintenance/category_parameter/{categoryName} | Populate VID Project/Owning entity/Line of Business/Platform drop downs | | Category Parameters | | | | +---------------------+----------+-------------------------------------------------------+------------------------------------------------------------------------------------------+ | | | | ``{categoryName}`` is one of lineOfBusiness, platform, project, owningEntity. | | | | | | | | | | POST body: | | | | | | | | | | .. code-block:: javascript | | | | | | | | | | { | | | | | "options": [ <list of strings> ] | | | | | } | | | | | | +---------------------+----------+-------------------------------------------------------+------------------------------------------------------------------------------------------+