Commit 05b06c16 authored by guillecxb's avatar guillecxb
Browse files

reorganize and testing exceptions

parent d63d5a4f
Loading
Loading
Loading
Loading
Loading
+1 −2
Original line number Diff line number Diff line
@@ -15,11 +15,10 @@ RUN python -m pip install --upgrade pip
RUN pip install -r installation/requirements.txt
RUN pip install .

# Ejecutar provider y luego invoker al iniciar el contenedor
ENTRYPOINT sh -c "\
  cd ci_cd_test/testing_samples/testing_provider_sample && \
  echo '🚀 Ejecutando provider...' && \
  python network_app_provider.py && \
  python testing_provider.py && \
  echo '✅ Provider finalizado.' && \
  cd ../testing_invoker_sample && \
  echo '🚀 Ejecutando invoker...' && \
+2 −2
Original line number Diff line number Diff line
@@ -312,7 +312,7 @@
        }
    ],
    "description": "API of dummy Network-App to test",
    "supportedFeatures": "0",
    "supportedFeatures": "fffff",
    "shareableInfo": {
        "isShareable": true,
        "capifProvDoms": [
@@ -320,7 +320,7 @@
        ]
    },
    "serviceAPICategory": "string",
    "apiSuppFeats": "0",
    "apiSuppFeats": "fffff",
    "pubApiPath": {
        "ccfIds": [
            "string"
+1 −1
Original line number Diff line number Diff line
@@ -11,7 +11,7 @@ if __name__ == "__main__":
        print("PROVIDER ONBOARDING COMPLETED")
        capif_connector.onboard_provider()

        capif_connector.api_description_path = "./nef_upf_vendor_1.json"
        capif_connector.api_description_path = "./api_descriptor_testing.json"

        api6g = capif_connector.provider_capif_ids["APF-1"]
        api5g = capif_connector.provider_capif_ids["APF-2"]
+2 −3
Original line number Diff line number Diff line
@@ -3,7 +3,7 @@
# Nombre del contenedor e imagen
CONTAINER_NAME=capif-sdk-runner
IMAGE_NAME=opencapif_sdk
BRANCH_NAME=feat/dockerfiles
BRANCH_NAME=SDK15-create-dockerfile-image-with-sdk
NETWORK_NAME=capif-network

echo "🛠️ Building image: $IMAGE_NAME from branch: $BRANCH_NAME with no cache..."
@@ -15,6 +15,5 @@ docker run -d \
  --network $NETWORK_NAME \
  $IMAGE_NAME

echo "🧑‍💻 Attaching to container shell..."
docker exec -it $CONTAINER_NAME sh
echo '✅ Proceso completo. Contenedor se cerrará.'