Changes for .github/workflows/python-publish.yml: 70 added lines, 0 removed lines.
Original line number
Diff line number
Diff line
# This workflow will upload a Python Package to PyPI when a release is created
# For more information see: https://docs.github.com/en/actions/automating-builds-and-tests/building-and-testing-python#publishing-to-package-registries
# This workflow uses actions that are not certified by GitHub.
# They are provided by a third-party and are governed by
# separate terms of service, privacy policy, and support
# documentation.
name:Upload Python Package
on:
release:
types:[published]
permissions:
contents:read
jobs:
release-build:
runs-on:ubuntu-latest
steps:
-uses:actions/checkout@v4
-uses:actions/setup-python@v5
with:
python-version:"3.12"
-name:Build release distributions
run:|
# NOTE: put your own distribution build steps here.
python -m pip install build
python -m build
-name:Upload distributions
uses:actions/upload-artifact@v4
with:
name:release-dists
path:dist/
pypi-publish:
runs-on:ubuntu-latest
needs:
-release-build
permissions:
# IMPORTANT: this permission is mandatory for trusted publishing
id-token:write
# Dedicated environments with protections for publishing are strongly recommended.
# For more information, see: https://docs.github.com/en/actions/deployment/targeting-different-environments/using-environments-for-deployment#deployment-protection-rules
environment:
name:pypi
# OPTIONAL: uncomment and update to include your PyPI project URL in the deployment status:
#
# ALTERNATIVE: if your GitHub Release name is the PyPI project version string
# ALTERNATIVE: exactly, uncomment the following line instead:
9.[**OpenCAPIF SDK full documentation**](./doc/sdk_full_documentation.md)
10.[OpenCAPIF SDK known issues](#opencapif-sdk-known-issues)
8.[**OpenCAPIF SDK full documentation**](./doc/sdk_full_documentation.md)
9.[OpenCAPIF SDK known issues](#opencapif-sdk-known-issues)
# Repository structure
@@ -96,6 +95,7 @@ OpenCAPIF SDK brings a set of functions to integrate with the 5G Core's function
| /{apfId}/service-apis/{serviceApiId} (GET) | [get_service()](./doc/sdk_full_documentation.md#get-services) | Retrieves the details of a specific service API for a specific `apfId` and `serviceApiId` |
| /{apfId}/service-apis (GET) | [get_all_services()](./doc/sdk_full_documentation.md#get-all-services) | Retrieves a list of all available service APIs for a specific `apfId` |
| /aef-security/v1/check-authentication (POST) | [check_authentication()](./doc/sdk_full_documentation.md#check_authentication) | This custom operation allows the API invoker to confirm the `supported_features` from the API exposing function(AEF) |
| /api-invocation-logs/v1/{aefId}/logs (POST) | [create_logs( aefId, api_invoker_id)](./doc/sdk_full_documentation.md#create_logs) | This operation allows to the Provider to notice to the CCF about the query of an invoker for an especific `aefId`
NOTE: Above mentioned CAPIF APIs are defined in these 3GPP references:
-[CAPIF Invoker API specification](https://github.com/jdegre/5GC_APIs/blob/Rel-18/TS29222_CAPIF_API_Invoker_Management_API.yaml)
@@ -104,6 +104,7 @@ NOTE: Above mentioned CAPIF APIs are defined in these 3GPP references:
-[CAPIF Publish API specification](https://github.com/jdegre/5GC_APIs/blob/Rel-18/TS29222_CAPIF_Publish_Service_API.yaml)
-[CAPIF Security API specification](https://github.com/jdegre/5GC_APIs/blob/Rel-18/TS29222_CAPIF_Security_API.yaml)
-[AEF Security API specification](https://github.com/jdegre/5GC_APIs/blob/Rel-18/TS29222_AEF_Security_API.yaml)
-[CAPIF Logging API management](https://github.com/jdegre/5GC_APIs/blob/Rel-18/TS29222_CAPIF_Logging_API_Invocation_API.yaml)
NOTE: In the [3GPP Technical Specification (TS) 29.222 V18.5.0 Common API Framework for 3GPP Northbound APIs](https://www.etsi.org/deliver/etsi_ts/129200_129299/129222/18.05.00_60/ts_129222v180500p.pdf) the `service` concept is understood as equal as the `API` concept.
@@ -163,6 +164,7 @@ Now, it is described in 4 simple steps how a Provider can be developed in just s