aboutsummaryrefslogtreecommitdiffstats
path: root/models-interactions/model-impl/events/pom.xml
blob: 6af4e3e5326366be6f8d908d8cf10dd03dbe4784 (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
<!--
  ============LICENSE_START=======================================================
  events in model-impl
  ================================================================================
  Copyright (C) 2017-2018 AT&T Intellectual Property. All rights reserved.
  Modifications 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.
  ============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.policy-models-interactions.model-impl</groupId>
    <artifactId>model-impl</artifactId>
    <version>2.1.3-SNAPSHOT</version>
  </parent>

  <artifactId>events</artifactId>

  <dependencies>
    <dependency>
      <groupId>com.google.code.gson</groupId>
      <artifactId>gson</artifactId>
      <scope>provided</scope>
    </dependency>
    <dependency>
      <groupId>junit</groupId>
      <artifactId>junit</artifactId>
      <scope>test</scope>
    </dependency>
  </dependencies>
</project>
n> = 3; } message BluePrintBootstrapInput { org.onap.ccsdk.cds.controllerblueprints.common.api.CommonHeader commonHeader = 1; bool loadCBA = 2; bool loadModelType = 3; bool loadResourceDictionary = 4; } message BluePrintManagementOutput { org.onap.ccsdk.cds.controllerblueprints.common.api.CommonHeader commonHeader = 1; // Optional file chunk sent back to the client for Enrich and Download this is mandatory. FileChunk fileChunk = 2; org.onap.ccsdk.cds.controllerblueprints.common.api.Status status = 3; // Extra optional dynamic properties. google.protobuf.Struct properties = 4; } message FileChunk { bytes chunk = 1; } // Values used in BluePrintDownloadInput/actionIdentifiers/action enum DownloadAction { // Default is SEARCH the cba and download the cba SEARCH = 0; // Download the starter cba with corresponding property options STARTER = 1; // clone cba with corresponding property options CLONE = 2; } enum UploadAction { // Default is DRAFT DRAFT = 0; ENRICH = 1; VALIDATE = 2; PUBLISH = 3; } enum RemoveAction { // Delete CBA from database, deploy path and clean cache. DEFAULT = 0; } service BluePrintManagementService { rpc downloadBlueprint (BluePrintDownloadInput) returns (BluePrintManagementOutput); rpc uploadBlueprint (BluePrintUploadInput) returns (BluePrintManagementOutput); rpc removeBlueprint (BluePrintRemoveInput) returns (BluePrintManagementOutput); rpc bootstrapBlueprint (BluePrintBootstrapInput) returns (BluePrintManagementOutput); }