blob: b6b2cd669843eabfa70c08ecb80f19133bc96bb8 [file] [log] [blame]
elinuxhenrik3c0cb322020-10-01 10:52:59 +02001.. This work is licensed under a Creative Commons Attribution 4.0
2 International License.
3.. http://creativecommons.org/licenses/by/4.0
4.. Copyright 2020 Nordix Foundation
Singal, Kapil (ks220y)535be962020-10-07 12:59:08 -04005
6.. _offered_apis:
elinuxhenrik3c0cb322020-10-01 10:52:59 +02007
8
9Offered APIs
10============
11
12Introduction
13************
14
elinuxhenrikea2fcc82020-10-13 16:39:13 +020015The north bound REST API of the Policy Management Service provides convenient methods to handle policies.
elinuxhenrik3c0cb322020-10-01 10:52:59 +020016
17
18Global ORAN architecture
19************************
20
21Following illustration provides a global view about **ORAN** architecture,
22integration with other ONAP components and API resource/operation provided.
23
elinuxhenrik42fb47f2020-11-17 17:43:28 +010024.. image:: ../media/ONAP-A1ControllerArchitecture.png
Singal, Kapil (ks220y)535be962020-10-07 12:59:08 -040025 :width: 500pt
elinuxhenrik3c0cb322020-10-01 10:52:59 +020026
27
elinuxhenrik3c0cb322020-10-01 10:52:59 +020028API Version
29***********
30
31APIs are described with a state version with "v" following the API Name,
elinuxhenrikea2fcc82020-10-13 16:39:13 +020032e.g.: ``v2/policy``.
elinuxhenrik3c0cb322020-10-01 10:52:59 +020033The schema associated with a REST API must have its version number aligned
34with that of the REST API.
35
36The version number has major, minor and revision numbers. E.g. v1.0.0
37The version number (without the revision number) is held in the URI.
38
39The major version number is incremented for an incompatible change.
40The minor version number is incremented for a compatible change.
41For minor modifications of the API, version numbering must not be updated,
42provided the following backward compatibility rules are respected:
43
44- New elements in a data type must be optional (``minOccurs=0``)
45- Changes in the cardinality of an attribute in a data type must be from
46 mandatory to optional or from lower to greater
47- New attributes defined in an element must be optional (absence of
48 ``use="required"``).
49- If new enumerated values are included, the former ones and its meaning must
50 be kept.
51- If new operations are added, the existing operations must be kept
52- New parameters added to existing operations must be optional and existing
53 parameters must be kept
54
55For major modifications of the API, not backward compatible and forcing client
56implementations to be changed, the version number must be updated.
57
58
59API Table
60*********
61
62.. |swagger-icon| image:: ../media/swagger.png
63 :width: 40px
64
elinuxhenrik9bb9a4c2020-10-08 14:36:37 +020065.. |yaml-icon| image:: ../media/yaml_logo.png
66 :width: 40px
67
elinuxhenrik3c0cb322020-10-01 10:52:59 +020068
69.. csv-table::
elinuxhenrik9bb9a4c2020-10-08 14:36:37 +020070 :header: "API name", "|swagger-icon|", "|yaml-icon|"
71 :widths: 10,5, 5
elinuxhenrik3c0cb322020-10-01 10:52:59 +020072
elinuxhenrik9bb9a4c2020-10-08 14:36:37 +020073 "PMS API", ":download:`link <./swagger/pms-api.json>`", ":download:`link <./swagger/pms-api.yaml>`"
elinuxhenrikea2fcc82020-10-13 16:39:13 +020074 "A1 ADAPTER API (Internal)", ":download:`link <./swagger/a1-adapter-api.json>`", ":download:`link <./swagger/a1-adapter-api.yaml>`"
elinuxhenrik3c0cb322020-10-01 10:52:59 +020075
76
Singal, Kapil (ks220y)535be962020-10-07 12:59:08 -040077.. _pms_api:
78
elinuxhenrik3c0cb322020-10-01 10:52:59 +020079PMS API
80.......
81`PMS API <./pms-api.html>`_
82
elinuxhenrikea2fcc82020-10-13 16:39:13 +020083.. _a1_adapter_api:
84
85A1 ADAPTER API
86..............
87`A1 ADAPTER API (Internal) <./a1-adapter-api.html>`_
88