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 ONAP
29 *The main purpose of this model to provide an interface bewteen APPC Runtime and other interface
36 module interfaces-service {
39 namespace "org:onap:appc:interfaces:service";
40 prefix interfaces.service;
43 "Defines the services provided by Application Controller to external interfaces.";
46 * Note, the revision changes the package name of the generated java code. Do not
47 * change the revision unless you also update all references to the bindings.
49 revision "2017-08-18" {
51 "APP-C Interface services version 1.1.0";
54 grouping request-info {
58 description "The request ID ";
63 description "The Action Name";
68 description "The Payload";
70 leaf request-data-type {
71 description "Data type for validation";
77 grouping response-info {
78 description "The Generic Data response which includes data key value pair as requested in Model";
79 container response-info {
80 description "Data returned from APPC to external Interaface";
82 description "Response message";
86 description "Response message reqesut ID";
93 description "The specific response codes are to be aligned with APPC/ECOMP messaging Systems";
95 description "The specific response codes are to be aligned with APPC.";
97 description "Response code";
102 description "Response message";
108 rpc execute-service {
109 description "Runs a given action if it exists.";