Loading ci_cd_test/Dockerfile +1 −2 Original line number Diff line number Diff line Loading @@ -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...' && \ Loading ci_cd_test/testing_samples/testing_provider_sample/nef_upf_vendor_1.json→ci_cd_test/testing_samples/testing_provider_sample/api_descriptor_testing.json +2 −2 Original line number Diff line number Diff line Loading @@ -312,7 +312,7 @@ } ], "description": "API of dummy Network-App to test", "supportedFeatures": "0", "supportedFeatures": "fffff", "shareableInfo": { "isShareable": true, "capifProvDoms": [ Loading @@ -320,7 +320,7 @@ ] }, "serviceAPICategory": "string", "apiSuppFeats": "0", "apiSuppFeats": "fffff", "pubApiPath": { "ccfIds": [ "string" Loading ci_cd_test/testing_samples/testing_provider_sample/network_app_provider.py→ci_cd_test/testing_samples/testing_provider_sample/testing_provider.py +1 −1 Original line number Diff line number Diff line Loading @@ -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"] Loading test_sdk.sh +2 −3 Original line number Diff line number Diff line Loading @@ -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..." Loading @@ -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á.' Loading
ci_cd_test/Dockerfile +1 −2 Original line number Diff line number Diff line Loading @@ -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...' && \ Loading
ci_cd_test/testing_samples/testing_provider_sample/nef_upf_vendor_1.json→ci_cd_test/testing_samples/testing_provider_sample/api_descriptor_testing.json +2 −2 Original line number Diff line number Diff line Loading @@ -312,7 +312,7 @@ } ], "description": "API of dummy Network-App to test", "supportedFeatures": "0", "supportedFeatures": "fffff", "shareableInfo": { "isShareable": true, "capifProvDoms": [ Loading @@ -320,7 +320,7 @@ ] }, "serviceAPICategory": "string", "apiSuppFeats": "0", "apiSuppFeats": "fffff", "pubApiPath": { "ccfIds": [ "string" Loading
ci_cd_test/testing_samples/testing_provider_sample/network_app_provider.py→ci_cd_test/testing_samples/testing_provider_sample/testing_provider.py +1 −1 Original line number Diff line number Diff line Loading @@ -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"] Loading
test_sdk.sh +2 −3 Original line number Diff line number Diff line Loading @@ -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..." Loading @@ -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á.'