Commit 27c6b54a authored by Laskaratos Dimitris's avatar Laskaratos Dimitris
Browse files

Fixed bug with application ports when registering app

parent f2e171d2
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -13,7 +13,7 @@ WORKDIR /usr/src/app


#THIS SOLVED THE ISSUE WITH CFFI: building wheel for cffi (setup.py) finished with status 'error'!
RUN apk add --no-cache libffi-dev build-base
#RUN apk add --no-cache libffi-dev build-base
#
COPY requirements.txt /usr/src/app/
#RUN pip3 install connexion
@@ -34,7 +34,7 @@ RUN pip3 install --upgrade pip
RUN pip3 install wheel

#RUN pip3 install --no-cache --upgrade setuptools
RUN pip3 install --no-cache-dir -r requirements.txt
RUN pip3 install --trusted-host pypi.org --trusted-host pypi.python.org --trusted-host=files.pythonhosted.org --no-cache-dir -r requirements.txt

COPY . /usr/src/app

+1 −1
Original line number Diff line number Diff line
@@ -25,7 +25,7 @@ kubernetes==18.20.0
python-jose[cryptography]
cffi==1.15.1
#bcrypt
bcrypt==3.1.7 #used in python 3.5 running server for dev
#bcrypt==3.1.7 #used in python 3.5 running server for dev

psycopg2-binary
#psycopg2==2.7.7 #used in python 3.5 running server for dev
+1 −1
Original line number Diff line number Diff line
# Mocked API for testing purposes
from typing import Dict, List, Optional
from edgecloud.core.edgecloud_interface import EdgeCloudManagementInterface
from swagger_server.adapters.edgecloud.core.edgecloud_interface import EdgeCloudManagementInterface

class EdgeApplicationManager(EdgeCloudManagementInterface):
    def onboard_app(self, app_manifest: Dict) -> Dict:
+1 −1
Original line number Diff line number Diff line
# Mocked API for testing purposes
from typing import Dict, List, Optional
from edgecloud.core.edgecloud_interface import EdgeCloudManagementInterface
from swagger_server.adapters.edgecloud.core.edgecloud_interface import EdgeCloudManagementInterface

class EdgeApplicationManager(EdgeCloudManagementInterface):
    def onboard_app(self, app_manifest: Dict) -> Dict:
+1 −1
Original line number Diff line number Diff line
# Mocked API for testing purposes
from typing import Dict, List, Optional
from edgecloud.core.edgecloud_interface import EdgeCloudManagementInterface
from swagger_server.adapters.edgecloud.core.edgecloud_interface import EdgeCloudManagementInterface

class EdgeApplicationManager(EdgeCloudManagementInterface):
    def onboard_app(self, app_manifest: Dict) -> Dict:
Loading