elinuxhenrik | 3c0cb32 | 2020-10-01 10:52:59 +0200 | [diff] [blame^] | 1 | .. 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 |
| 5 | .. _offeredapis: |
| 6 | |
| 7 | |
| 8 | Offered APIs |
| 9 | ============ |
| 10 | |
| 11 | Introduction |
| 12 | ************ |
| 13 | |
| 14 | The north bound ... |
| 15 | |
| 16 | |
| 17 | Global ORAN architecture |
| 18 | ************************ |
| 19 | |
| 20 | Following illustration provides a global view about **ORAN** architecture, |
| 21 | integration with other ONAP components and API resource/operation provided. |
| 22 | |
| 23 | .. image:: ../images/onap_ccsdk_oran.jpg |
| 24 | :width: 800px |
| 25 | |
| 26 | |
| 27 | API Endpoint |
| 28 | ************ |
| 29 | |
| 30 | TBD |
| 31 | |
| 32 | |
| 33 | API Version |
| 34 | *********** |
| 35 | |
| 36 | APIs are described with a state version with "v" following the API Name, |
| 37 | e.g.: ``TBD``. |
| 38 | The schema associated with a REST API must have its version number aligned |
| 39 | with that of the REST API. |
| 40 | |
| 41 | The version number has major, minor and revision numbers. E.g. v1.0.0 |
| 42 | The version number (without the revision number) is held in the URI. |
| 43 | |
| 44 | The major version number is incremented for an incompatible change. |
| 45 | The minor version number is incremented for a compatible change. |
| 46 | For minor modifications of the API, version numbering must not be updated, |
| 47 | provided the following backward compatibility rules are respected: |
| 48 | |
| 49 | - New elements in a data type must be optional (``minOccurs=0``) |
| 50 | - Changes in the cardinality of an attribute in a data type must be from |
| 51 | mandatory to optional or from lower to greater |
| 52 | - New attributes defined in an element must be optional (absence of |
| 53 | ``use="required"``). |
| 54 | - If new enumerated values are included, the former ones and its meaning must |
| 55 | be kept. |
| 56 | - If new operations are added, the existing operations must be kept |
| 57 | - New parameters added to existing operations must be optional and existing |
| 58 | parameters must be kept |
| 59 | |
| 60 | For major modifications of the API, not backward compatible and forcing client |
| 61 | implementations to be changed, the version number must be updated. |
| 62 | |
| 63 | |
| 64 | API Table |
| 65 | ********* |
| 66 | |
| 67 | .. |swagger-icon| image:: ../media/swagger.png |
| 68 | :width: 40px |
| 69 | |
| 70 | |
| 71 | .. csv-table:: |
| 72 | :header: "API name", "|swagger-icon|" |
| 73 | :widths: 10,5 |
| 74 | |
| 75 | "PMS API", ":download:`link <./swagger/pms-api.json>`" |
| 76 | |
| 77 | |
| 78 | PMS API |
| 79 | ....... |
| 80 | `PMS API <./pms-api.html>`_ |
| 81 | |