2 * ============LICENSE_START=======================================================
4 * ================================================================================
5 * Copyright (C) 2017 AT&T Intellectual Property. All rights reserved.
6 * ================================================================================
7 * Copyright (C) 2017 Amdocs
8 * =============================================================================
9 * Licensed under the Apache License, Version 2.0 (the "License");
10 * you may not use this file except in compliance with the License.
11 * You may obtain a copy of the License at
13 * http://www.apache.org/licenses/LICENSE-2.0
15 * Unless required by applicable law or agreed to in writing, software
16 * distributed under the License is distributed on an "AS IS" BASIS,
17 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
18 * See the License for the specific language governing permissions and
19 * limitations under the License.
21 * ECOMP is a trademark and service mark of AT&T Intellectual Property.
22 * ============LICENSE_END=========================================================
26 * Yang model for the Application Controller (APP-C) component of ECOMP
29 *The main purpose of this model to provide an interface bewteen APPC Runtime and other interface
34 * Author: Anand Chaturvedi (ac204h@att.com)
37 module interfaces-service {
40 namespace "org:onap:appc:interfaces:service";
41 prefix interfaces.service;
42 organization "AT&T. Copyright (C) 2015. All rights reserved.";
44 "Anand Chaturvedi <ac204h@att.com>";
47 "Defines the services provided by Application Controller to external interfaces.";
50 * Note, the revision changes the package name of the generated java code. Do not
51 * change the revision unless you also update all references to the bindings.
53 revision "2017-08-18" {
55 "APP-C Interface services version 1.1.0";
58 grouping request-info {
62 description "The request ID ";
67 description "The Action Name";
72 description "The Payload";
74 leaf request-data-type {
75 description "Data type for validation";
81 grouping response-info {
82 description "The Generic Data response which includes data key value pair as requested in Model";
83 container response-info {
84 description "Data returned from APPC to external Interaface";
86 description "Response message";
90 description "Response message reqesut ID";
97 description "The specific response codes are to be aligned with APPC/ECOMP messaging Systems";
99 description "The specific response codes are to be aligned with APPC.";
101 description "Response code";
106 description "Response message";
112 rpc execute-service {
113 description "Runs a given action if it exists.";