(base) chino@chino-Legion-5-15IAH7H:~/LoRaWorks_230822/test_mlit-dpf-api$ python run_kyun_system.py
(base) chino@chino-Legion-5-15IAH7H:~/LoRaWorks_230822/test_mlit-dpf-api$ sudo curl -Ls https://get.konghq.com/quickstart | sudo bash
(base) chino@chino-Legion-5-15IAH7H:~/LoRaWorks_230822/test_mlit-dpf-api$ curl -i -s -X POST http://localhost:8001/services \
> --data name=dpf_service \
> --data url='https://www.mlit-data.jp/api/v1'
HTTP/1.1 201 Created
Date: Mon, 24 Mar 2025 21:21:42 GMT
Content-Type: application/json; charset=utf-8
Connection: keep-alive
Access-Control-Allow-Origin: *
X-Kong-Admin-Request-ID: 1acc2e0392c511397539406a97baba05
Content-Length: 384
X-Kong-Admin-Latency: 15
Server: kong/3.9.0.0-enterprise-edition
{"client_certificate":null,"write_timeout":60000,"protocol":"https","id":"3a2364f0-7db9-41ce-98dd-320e15567097","tls_verify":null,"tls_verify_depth":null,"tags":null,"connect_timeout":60000,"created_at":1742851302,"retries":5,"read_timeout":60000,"ca_certificates":null,"host":"www.mlit-data.jp","updated_at":1742851302,"name":"dpf_service","port":443,"path":"/api/v1","enabled":true}(base) chino@chino-Legion-5-15IAH7H:~/LoRaWorks_230822/test_mlit-dpf-api$ curl -i -X POST http://localhost:8001/services/dpf_service/routes \
> --data 'paths[]=/dpf_mock' \
> --data name=dpf_route
HTTP/1.1 201 Created
Date: Mon, 24 Mar 2025 21:22:00 GMT
Content-Type: application/json; charset=utf-8
Connection: keep-alive
Access-Control-Allow-Origin: *
X-Kong-Admin-Request-ID: 2016a74a18d1eb71e7fb380e866a4314
Content-Length: 485
X-Kong-Admin-Latency: 20
Server: kong/3.9.0.0-enterprise-edition
{"destinations":null,"methods":null,"protocols":["http","https"],"https_redirect_status_code":426,"id":"fcb29240-57a0-484d-a14a-82ea9ded3f96","response_buffering":true,"updated_at":1742851320,"paths":["/dpf_mock"],"name":"dpf_route","snis":null,"tags":null,"preserve_host":false,"created_at":1742851320,"service":{"id":"3a2364f0-7db9-41ce-98dd-320e15567097"},"strip_path":true,"headers":null,"regex_priority":0,"sources":null,"hosts":null,"request_buffering":true,"path_handling":"v0"}(base) chino@chino-Legion-5-15IAH7H:~/LoRaWorks_230822/test_mlit-dpf-api$
(base) chino@chino-Legion-5-15IAH7H:~/LoRaWorks_230822/test_mlit-dpf-api$ curl -X GET http://localhost:8001/services/dpf_service/routes/dpf_route
{"destinations":null,"methods":null,"protocols":["http","https"],"https_redirect_status_code":426,"id":"fcb29240-57a0-484d-a14a-82ea9ded3f96","response_buffering":true,"updated_at":1742851320,"paths":["/dpf_mock"],"name":"dpf_route","snis":null,"tags":null,"preserve_host":false,"created_at":1742851320,"service":{"id":"3a2364f0-7db9-41ce-98dd-320e15567097"},"strip_path":true,"headers":null,"regex_priority":0,"sources":null,"hosts":null,"request_buffering":true,"path_handling":"v0"}(base) chino@chino-Legion-5-15IAH7H:~/LoRaWorks_230822/test_mlit-dpf-api$
(base) chino@chino-Legion-5-15IAH7H:~/LoRaWorks_230822/test_mlit-dpf-api$ curl -i -s -X POST http://localhost:8001/services \
> --data name=kyon_service \
> --data url='http://localhost:5000/'
HTTP/1.1 201 Created
Date: Mon, 24 Mar 2025 21:23:34 GMT
Content-Type: application/json; charset=utf-8
Connection: keep-alive
Access-Control-Allow-Origin: *
X-Kong-Admin-Request-ID: 4416ff6153f246255d338f55aee9a339
Content-Length: 372
X-Kong-Admin-Latency: 17
Server: kong/3.9.0.0-enterprise-edition
{"client_certificate":null,"write_timeout":60000,"protocol":"http","id":"fbda34a8-2dcd-4671-ad15-aa1d40360d41","tls_verify":null,"tls_verify_depth":null,"tags":null,"connect_timeout":60000,"created_at":1742851414,"retries":5,"read_timeout":60000,"ca_certificates":null,"host":"localhost","updated_at":1742851414,"name":"kyon_service","port":5000,"path":"/","enabled":true}(base) chino@chino-Legion-5-15IAH7H:~/LoRaWorks_230822/test_mlit-dpf-api$
(base) chino@chino-Legion-5-15IAH7H:~/LoRaWorks_230822/test_mlit-dpf-api$ curl -i -X POST http://localhost:8001/services/kyon_service/routes \
> --data 'paths[]=/kyon_mock' \
> --data name=kyon_route
HTTP/1.1 201 Created
Date: Mon, 24 Mar 2025 21:23:47 GMT
Content-Type: application/json; charset=utf-8
Connection: keep-alive
Access-Control-Allow-Origin: *
X-Kong-Admin-Request-ID: 67f456133c35591da031db5327e32661
Content-Length: 487
X-Kong-Admin-Latency: 20
Server: kong/3.9.0.0-enterprise-edition
{"destinations":null,"methods":null,"protocols":["http","https"],"https_redirect_status_code":426,"id":"afecb6a6-a54e-4fc8-9952-d70d93692fe6","response_buffering":true,"updated_at":1742851427,"paths":["/kyon_mock"],"name":"kyon_route","snis":null,"tags":null,"preserve_host":false,"created_at":1742851427,"service":{"id":"fbda34a8-2dcd-4671-ad15-aa1d40360d41"},"strip_path":true,"headers":null,"regex_priority":0,"sources":null,"hosts":null,"request_buffering":true,"path_handling":"v0"}(base) chino@chino-Legion-5-15IAH7H:~/LoRaWorks_230822/test_mlit-dpf-api$
(base) chino@chino-Legion-5-15IAH7H:~/LoRaWorks_230822/test_mlit-dpf-api$ curl -X GET http://localhost:8001/services/kyon_service/routes/kyon_route
{"destinations":null,"methods":null,"protocols":["http","https"],"https_redirect_status_code":426,"id":"afecb6a6-a54e-4fc8-9952-d70d93692fe6","response_buffering":true,"updated_at":1742851427,"paths":["/kyon_mock"],"name":"kyon_route","snis":null,"tags":null,"preserve_host":false,"created_at":1742851427,"service":{"id":"fbda34a8-2dcd-4671-ad15-aa1d40360d41"},"strip_path":true,"headers":null,"regex_priority":0,"sources":null,"hosts":null,"request_buffering":true,"path_handling":"v0"}(base) chino@chino-Legion-5-15IAH7H:~/LoRaWorks_230822/test_mlit-dpf-api$