# ============LICENSE_END=================================================
#
-FROM python:3.8-slim-buster
-
-RUN pip install connexion[swagger-ui]
-
-#install nginx and curl
+FROM python:3.10-slim-buster
RUN apt-get update && apt-get install -y nginx=1.14.* nginx-extras curl
+RUN pip install Flask==2.2.5 connexion[swagger-ui,flask]==2.14.2
WORKDIR /usr/src/app
# ============LICENSE_START===============================================
# Copyright (C) 2023 Nordix Foundation. All rights reserved.
+# Copyright (C) 2023 OpenInfra Foundation Europe. All rights reserved.
# ========================================================================
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
from setuptools import setup
setup(name='rappcatalogue-enhanced',
- version='1.0.0',
+ version='1.1.0',
description='The O-RAN Non-RT RIC rApp Catalogue Enhanced provides an OpenApi 3.0 REST API for rApp services to register/unregister themselves and discover other services',
- maintainer='Halil Cakal',
- maintainer_email='halil.cakal@est.tech',
url='https://gerrit.o-ran-sc.org/r/admin/repos/nonrtric/plt/rappcatalogue,general',
license='Apache License, Version 2.0',
platforms='any',
# ============LICENSE_START===============================================
# Copyright (C) 2022-2023 Nordix Foundation. All rights reserved.
+# Copyright (C) 2023 OpenInfra Foundation Europe. All rights reserved.
# ========================================================================
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
[tox]
envlist = code
-minversion = 2.0
+minversion = 4.0
skipsdist = true
# basic test and coverage job
pytest
coverage
pytest-cov
- connexion
-
+ connexion==2.14.2
+ Flask==2.2.5
setenv = TESTS_BASE_PATH = {toxinidir}/tests
commands =
pytest --cov-append --cov {toxinidir} --cov-report xml --cov-report term-missing --cov-report html