Commit 44fdf416 authored by Jorge Echevarria Uribarri's avatar Jorge Echevarria Uribarri Committed by GitHub
Browse files

Sdk v0.1 (#1)



PR:
- Included complete Network App samples,
- Complete developer path description,
- Refactored code structure,
- Complete doc upgrade.

---------

Co-authored-by: default avatarJorgeEcheva26 <jorge.echevarriauribarri.practicas@telefonica.es>
Co-authored-by: default avatarDaniel García <daniel.garciasanchez@telefonica.com>
parent 040072de
Loading
Loading
Loading
Loading
+5 −4
Original line number Original line Diff line number Diff line
@@ -161,16 +161,17 @@ cython_debug/
#  option (not recommended) you can uncomment the following to ignore the entire idea folder.
#  option (not recommended) you can uncomment the following to ignore the entire idea folder.
#.idea/
#.idea/


logs
*/logs


config
config


test/logs

*.vscode
*.vscode


.flake8
.flake8


*.DS_store
*.DS_store


netapp-samples/netapp-provider-sample/node_modules
*/__pycache__
 No newline at end of file

*.capif_sdk_config_sample_test
test/capif_sdk_config_sample_test.json

.vscode/settings.json

deleted100644 → 0
+0 −21
Original line number Original line Diff line number Diff line
{
    "cSpell.words": [
        "AEF's",
        "aefs",
        "APF's",
        "apfs",
        "CAPIF",
        "detailspath",
        "libintl",
        "localeconv",
        "localemodule",
        "Offboard",
        "offboarding",
        "onboarded",
        "pesp",
        "pyenv",
        "textdomain",
        "Unpublish",
        "virtualenv"
    ]
}
 No newline at end of file
+246 −112

File changed.

Preview size limit exceeded, changes collapsed.

config/capif-sdk-config.json

deleted100644 → 0
+0 −42
Original line number Original line Diff line number Diff line
{
    "invoker_folder": "/Users/IDB0128/Documents/OpenCapif/test_invoker_certificate_folder",
    "provider_folder": "/Users/IDB0128/Documents/OpenCapif/test_provider_certificate_folder",
    "capif_host": "capif-prev.mobilesandbox.cloud",
    "register_host": "registercapif-prev.mobilesandbox.cloud",
    "capif_https_port": "36212",
    "capif_register_port": "36211",
    "capif_callback_url": "http://localhost:5000",
    "csr_common_name": "test03",
    "csr_organizational_unit": "test_app_ou",
    "csr_organization": "test_app_o",
    "crs_locality": "Madrid",
    "csr_state_or_province_name": "Madrid",
    "csr_country_name": "ES",
    "csr_email_address": "test@example.com",
    "capif_username": "echeva_0",
    "capif_password": "echevapass",
    "apfs": "1",
    "aefs": "2",
    "debug_mode": "True",
    "discover_filter" : {
        "api-name": "",
        "api-version": "",
        "comm-type": "",
        "protocol": "",
        "aef-id": "",
        "data-format": "",
        "api-cat": "",
        "preferred-aef-loc": "",
        "req-api-prov-name": "",
        "supported-features": "",
        "api-supported-features": "",
        "ue-ip-addr": "",
        "service-kpis": ""
    },
    "publish_req" : {
        "service_api_id":"80dbdd52ee766d4ad4494264e4289c",
        "publisher_apf_id":"APF73e3458fb483c3c65f2f7e126ec851",
        "publisher_aefs_ids":["AEF07a01ccd74a160c195e69b4f116d66","AEFb5c206b46fc68c192aed6870899ea1"]
    },
    "api_description_path":"/Users/IDB0128/git_repos/pesp_capif_sdk/samples/provider_api_description_sample.json"
}
 No newline at end of file
+60 −0
Original line number Original line Diff line number Diff line
{
  "capif_host": "capif-prev.mobilesandbox.cloud",
  "register_host": "registercapif-prev.mobilesandbox.cloud",
  "capif_https_port": "36212",
  "capif_register_port": "36211",
  "capif_username": "echeva_0",
  "capif_password": "echevapass",
  "debug_mode": "False",
  "invoker":{
    "invoker_folder": "/Users/IDB0128/Documents/OpenCapif/test_invoker_certificate_folder",
    "capif_callback_url": "http://localhost:5000",
    "cert_generation":{
      "csr_common_name": "invoker",
      "csr_organizational_unit": "test_app_ou",
      "csr_organization": "test_app_o",
      "crs_locality": "Madrid",
      "csr_state_or_province_name": "Madrid",
      "csr_country_name": "ES",
      "csr_email_address": "test@example.com"
    },
    "discover_filter": {
      "api-name": "",
      "api-version": "",
      "comm-type": "",
      "protocol": "",
      "aef-id": "",
      "data-format": "",
      "api-cat": "",
      "preferred-aef-loc": "",
      "req-api-prov-name": "",
      "supported-features": "",
      "api-supported-features": "",
      "ue-ip-addr": "",
      "service-kpis": ""
    }
  },
  "provider":{
    "provider_folder": "/Users/IDB0128/Documents/OpenCapif/test_provider_certificate_folder",
    "apfs": "1",
    "aefs": "2",
    "publish_req": {
      "service_api_id": "",
      "publisher_apf_id": "",
      "publisher_aefs_ids": [
        "",
        ""
      ]
    },
    "cert_generation":{
      "csr_common_name": "provider",
      "csr_organizational_unit": "test_app_ou",
      "csr_organization": "test_app_o",
      "crs_locality": "Madrid",
      "csr_state_or_province_name": "Madrid",
      "csr_country_name": "ES",
      "csr_email_address": "test@example.com"
    },
    "api_description_path": "/Users/IDB0128/git_repos/pesp_capif_sdk/samples/provider_api_description_sample.json"
  }
}
 No newline at end of file
Loading