Commit d4539635 authored by Stavros-Anastasios Charismiadis's avatar Stavros-Anastasios Charismiadis
Browse files

Upload yaml files for Provider Gateway

parent 2dcc1560
Loading
Loading
Loading
Loading
+5 −0
Original line number Original line Diff line number Diff line
@@ -10,7 +10,11 @@ GET /hello
```
```


The API of this AEF, for the sake of the tutorial, will be accessible via the [CAPIF Provider Gateway](https://labs.etsi.org/rep/ocf/provider-gateway)
The API of this AEF, for the sake of the tutorial, will be accessible via the [CAPIF Provider Gateway](https://labs.etsi.org/rep/ocf/provider-gateway)
The neccesary files to configure the Provider Gateway with the AEF API are:
- northbound.yaml
- southbound.yaml


First fill the "..." of the above fiels with the correct information and then use then to Provider Gateway.


### Prerequisites
### Prerequisites
- Docker (tested in version 29.1.3)
- Docker (tested in version 29.1.3)
@@ -24,3 +28,4 @@ To deploy the service, run the following command in an Ubuntu or MacOS terminal.
```
```


The above command will deploy a docker container with the name or username inserted
The above command will deploy a docker container with the name or username inserted

northbound.yaml

0 → 100644
+44 −0
Original line number Original line Diff line number Diff line
northbound:
  ip: ...
  port: ...
  opencapif_sdk_configuration:
    capif_host: "..."
    register_host: "..."
    capif_https_port: "443"
    capif_register_port: "8084"
    capif_username: "..."
    capif_password: "..."
    debug_mode: "True"
    provider:
      cert_generation:
        csr_common_name: "..."
        csr_organizational_unit: "..."
        csr_organization: "..."
        csr_locality: "..."
        csr_state_or_province_name: "..."
        csr_country_name: "..."
        csr_email_address: "..."
      supported_features: "0"
      apiSuppFeats: "0"
  openapi:
    openapi: 3.0.0
    info:
      title: My API
      description: Example API for demonstration
      version: 1.0.0
    paths:
      /greet:
        get:
          summary: Say hello
          description: Returns a greeting message.
          responses:
            '200':
              description: Success
              content:
                application/json:
                  schema:
                    type: object
                    properties:
                      message:
                        type: string
                        example: "Hello!"

southbound.yaml

0 → 100644
+11 −0
Original line number Original line Diff line number Diff line
southbound:
  ip: ...
  port: 8000
  type: REST
  authentication_method: "JWT Bearer Token"
  credentials:
    jwt: "example-token"
  paths:
    - northbound_path: "/greet"
      southbound_path: "/hello"
      method: GET