Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Libraries - add the development mode in the register_and_onboard_to_c…
…apif command and trigger the tests if it set to production (#145) * update capif exposer onboarding function to conform with the flow of the latest CAPIF version. * initialize TSNManager + reformat with blackd * encapsulate TSNProfile, NetAppIdentifier, TSNProfileConfiguration classes into TSNManager * cleanup * Add basic usage examples of TSNManager * Update docstrings for TSNManager * Update the docstrings of TSNManager usage examples * publishing services gia capif provider connector class * rename class * add comments to help troubleshooting with Stavros * rollback to yesterdays version * Rename NetappTrafficIdentifier to TSNNetAppIdentifier * Add CLI command to get TSN profiles * add comments for troubleshooting * add comments for troubleshooting * add comments for troubleshooting * add comments for troubleshooting * remove comments, troubleshooting * rename capif cert pem * rename capif cert pem * rename TSNManager host and port attribute * replace example host to match docker config * reformat with black connector * remove merge artifact * bugfix key-value deduplication * simplify TSN example * enrich CLI commands for TSN * NetApp registration now conforms to the latest version of CAPIF * Extend ServiceDiscover with a new method get_access_token, that allows to retrieve an access token for a given api_name and aef_profile * add comments back in * add comments back in * Service Discovered, security context should be created only once for a given aef_id * remove properties from payloads that are not used * SDK now sends the CAPIF access token to NEF. SDK Libraries constructros dont expect NEF token as a parameter * update SDK Libraries constructors in the examples folder * update examples * print messages * bug fix * bug fix * fix self_signed_certificate warning * pass CERT_NONE to cert_reqs * fix verification of SSL to libraries * troubleshoot capif nef onboarding issue with Stavros * provide example for TSN * split examples service discoverer * update TSN communication to happen via CAPIF registrered endpoints * update NEF communication, send both NEF and CAPIF tokens * refactor examples for Providers (TSN and NEF). * bug fix on retrieving token from NEF * remove print statement * bug fix * add comments to the examples * TSN examples * update documentation * update version * bug fix on access token * bug fix on access token * bug fix when creating the capif_cert_server.pem, the file should always be overriden every time it is generated * merge * update version * delete not used method * TSN Manager now sends access tokens from CAPIF to the TSN API * fix header, use Bearer tag instead of Basic * CAPIF Logger class and example - first iteration * CAPIF Logger class * merge with master and update history.srt * add class CapifAuditor, update documentation and examples * remove python comments * update version to 1.0.3 * bug fix on ServiceDiscoverer * prepare helper function to test capif and nef endpoints * remove hardcoded path from service discovery example * tests for tsn and nef endpoints * bug fix on specifying the https port for CAPIF when retrieving the capif_cert_server.pem certificate from capif * ability to offboard a net app * provide an example on how to offboard * extend method register_and_onboard_to_capif to accept an --environment variable, create an example to showcase the offboarding * fix de-register , add a not for establishing security contextes * stop sending NEF tokens in the SDK classes. Use only CAPIF access tokens * allow the SDK to create multiple security contextes to CAPIF, one for each pair of API_ID - AEF_ID * add an example of decryption of the capif access token * drop decrypt example * finalize validation tests * bug fix * change date on history * remove unused method * update documentation * add back the development mode in the register_and_onboard_to_capif command and trigger the tests if it set to production * increment version --------- Co-authored-by: EVOLVED5G <[email protected]> Co-authored-by: Paula Encinar <[email protected]> Co-authored-by: NikolasGialitsis <[email protected]>
- Loading branch information