Refactor HTTP client and NRF service
Changes
- Cleaned-up invocation of CURL (removed malloc, made more c++ style)
- Created interface for HTTP client (could be used as reference for all NFs)
- Send De-Registration upon stop of PCF
- Removed raw pointers and memory leak in pcf_app
Persisting issues
- Issue #5 discovered during testing, the NRF heartbeat procedure does not work (also on old branch)
Tests
- Manually tested PCF SM Policy API, as described in Wiki
- Manually spawned NRF instance to verify the NRF registration and de-registration for HTTP1 and HTTP2
Notes
Branched from branch refactor_main
, should be merged first, see MR !11 (merged)