Commit c3fd3638 authored by George Papathanail's avatar George Papathanail
Browse files
parents d2ef265f 2ea39918
Loading
Loading
Loading
Loading
+0 −14
Original line number Diff line number Diff line
@@ -39,20 +39,6 @@ jobs:
      - name: Install tox
        run: pip install tox

      - name: Wait for MongoDB to be ready
        run: |
          for i in {30..0}; do
            if mongo --host localhost --eval 'quit(db.runCommand({ ping: 1 }).ok ? 0 : 2)'; then
              echo "MongoDB is up and running"
              break
            fi
            echo 'MongoDB is unavailable - sleeping'
            sleep 1
          done
        env:
          MONGO_URI: "mongodb://test_admin:test_password@localhost:27017/test_db?authSource=admin"


      - name: Run tox for python 3.12 - tests only
        env:
          MONGO_URI: "mongodb://test_admin:test_password@localhost:27017/test_db?authSource=admin"
+5 −5
Original line number Diff line number Diff line
# Capabilities Exposure API
# Open Exposure Gateway

A Server Implementation of the **CAMARA Edge Application Management API** as specified [here](https://github.com/camaraproject/EdgeCloud/blob/main/code/API_definitions/Edge-Application-Management.yaml)


### Overview

[![tests](https://github.com/SMARTECH-ISI-Athena/capabilities-exposure-api/actions/workflows/edge-cloud-management-api.yml/badge.svg)](https://github.com/SMARTECH-ISI-Athena/capabilities-exposure-api/actions/workflows/edge-cloud-management-api.yml)
[![tests](https://github.com/OpenOperatorPlatform/open-exposure-gateway/actions/workflows/edge-cloud-management-api.yml/badge.svg)](https://github.com/OpenOperatorPlatform/open-exposure-gateway/actions/workflows/edge-cloud-management-api.yml)


This server was generated by the [swagger-codegen](https://github.com/swagger-api/swagger-codegen) project.
It uses the [Connexion](https://github.com/zalando/connexion) library on top of Flask.
It propagates requests to the [Sunrise 6G OP service resource manager](https://github.com/SMARTECH-ISI-Athena/Sunrise-6G-Operator-Platform), as configured in the `.env`.
It propagates requests to the [Sunrise 6G OP service resource manager](https://github.com/OpenOperatorPlatform/service_resource_manager), as configured in the `.env`.

### Usage
Before running the server you need to `mv env.sample .env` and update variables to properly link to a running OP service resource manager instance.
@@ -40,5 +40,5 @@ To run the server on a Docker container, please execute the following from the r
docker build -t edge_cloud_management_api .

# starting up a container
docker run -p 8080:8080 edge_cloud_management_api
docker run -p 8080:8080 --env-file ./.env edge_cloud_management_api
```