Container | Folder | Description |
---|---|---|
python_aef | python_aef | Python API Exposing Function (communication example with CAPIF) |
redis_aef | - | DB to store info exchanged with CAPIF |
capif_callback_aef | capif_callback_aef | Server implementing CAPIF callback endpoints |
Development Task | Subtask | Status |
---|---|---|
Communication with CAPIF | Register | ✅ |
Provider Management API | ✅ | |
Publish Service API | ✅ | |
Communication with dummy_netapp | - | ✅ |
Use of CAPIF SDK libraries | - | ✅ |
Callback server for CAPIF responses | - | ✅ |
TLS Communication with CAPIF | - | ✅ |
Pre-condition:
- Deploy CAPIF (locally or on another server)
- Define IPs* and ports of CAPIF and callback server (in files credentails.properties)
*If CAPIF is running on the same host as dummy_aef, then leave the IP properties as "host.docker.internal". Otherwise, add the IP of their host (e.g. "192.168.X.X").
**For communication with dummy_netapp, demo-network is created.
# Deploy and run containers
./run.sh
# Stop containers
./stop.sh
# Stop and Remove containers
./cleanup_docker_containers.sh
# Access Python NetApp
./terminal_to_py_aef.sh
# Inside the container
# Test NetApp with CAPIF and dummy_aef
python3 1_provider_reg_onboard_pub.py
python3 5_aef_service_oauth.py
python3 6_aef_security.py
python3 7_aef_service_pki.py
python3 8_aef_logging.py
python3 9_aef_audit.py
# Outside container, for clean-up
(
sudo rm ./python_aef/AEF_*
sudo rm ./python_aef/APF_*
sudo rm ./python_aef/AMF_*
sudo rm ./python_aef/ca.crt
sudo rm ./python_aef/domain.*
sudo rm ./python_aef/cert_server.pem
sudo rm ./python_aef/dummy*
sudo rm ./python_aef/capif_cert_server.pem
)