Skip to content

v2.0.0

Compare
Choose a tag to compare
@JFrgs JFrgs released this 02 Mar 08:32
· 59 commits to main since this release
2f11171

Summary:

  • Addition of nginx reverse proxy. Default ports are 8090 for http and 4443 for https
  • Support of server side authentication based on self signed certificates using openssl
  • Support TLS encryption
  • Two step authorisation using OAuth2.0 (jwt tokens) both generated from CAPIF and NEF
  • Migration to python 3.10
  • Compatible with Docker Compose v2.0.0

NEF APIs / backend

  • new class OAuth2TwoTokensBearer that overrides OAuth2 class based on FastAPI's OAuth2PasswordBearer to support two tokens bearer to authorise either NEF or CAPIF jtw tokens (commiteaccf0f)
  • ⛔ breaking change: the exposed port 8888 is deprecated. All traffic is routed through the reverse proxy via dynamically defined ports. The default ports are 8090 for http and 4443 for https

Docker 🐳

  • ⛔ breaking change: Compatible with Docker Compose V2. CLI commands are now used by replacing the hyphen (-) with a space, using docker compose, instead of docker-compose. The changes are applied in the Makefile to help developers.
  • Create env variables for nginx ports 👉NGINX_HTTP NGINX_HTTPS
  • Create env variable for nginx hostname 👉NEF_HOST
  • Create env variable to enable token verification generated by CAPIF, if CAPIF is used. 👉USE_PUBLIC_KEY_VERIFICATION

Libraries

  • Migrate to python 3.10 (from ^3.9.7 👉 ~3.10)
  • Downgrade pyOpenSSL (from 23.0.0 👉 22.1.0) to be compatible with evolved5g SDK
  • Upgrade emails (from ^0.5.15 👉 ^0.6) to be compatible with python 3.10

Other

  • ✔ Add option --pull to build-no-cache this forces docker to check and pull newer versions of the images during build