1 .. This work is licensed under a Creative Commons Attribution 4.0 International License.
2 .. http://creativecommons.org/licenses/by/4.0
3 .. Copyright (C) 2021 Nordix
11 This document describes the API to access the Non-RT RIC Gateway.
13 The Gateway acts as a mediator for services provided by the Non-RT RIC project. This means that users only need to
14 know about one address to access the content of the Non-RT Ric.
16 The default value for the Gateway port is 9090. There are different ways to find out which port that is actually used.
18 If Kubernetes is used, run the following command:
22 kubectl get svc -n nonrtric | grep gateway
24 With the name from the "NAME" column, run the following command:
28 kubectl describe svc -n nonrtric [name]
30 If Docker is used, run the following command:
34 docker ps | grep gateway
36 Look under the "PORTS" column to see the port used by the Gateway.
38 The Gateway supports calls to the A1 Policy Management Service and A1 Enrichment Information Coordinator.
39 See `A1 Policy Management Service API <https://docs.o-ran-sc.org/projects/o-ran-sc-nonrtric/en/latest/api-docs.html#a1-policy-management-service>`__
40 and `A1 Enrichment Information Coordinator API <https://docs.o-ran-sc.org/projects/o-ran-sc-nonrtric/en/latest/api-docs.html#enrichment-coordinator-service>`__.
42 Some examples on how to call the gateway with CURL:
46 curl localhost:9090/a1-policy/v2/policy-instances
47 curl localhost:9090/data-producer/v1/info-types