diff --git a/kong_config_2.json b/kong_config_2.json new file mode 100644 index 0000000000000000000000000000000000000000..2ceda7ee229cb16e647140cc8275ea5130b70655 --- /dev/null +++ b/kong_config_2.json @@ -0,0 +1 @@ +{"createdUser":null,"updatedUser":null,"id":2,"name":"practica","kong_node_name":"Kong","kong_node_url":"http://kong:8001","kong_version":"3.9.0","data":{"services":[{"path":"/users","port":8201,"client_certificate":null,"id":"1d1ce8d9-aa4b-4576-8d91-00326d00c26e","name":"Users","tags":[],"ca_certificates":null,"created_at":1735150914,"updated_at":1735486602,"protocol":"http","host":"users-api","tls_verify":null,"enabled":true,"read_timeout":60000,"tls_verify_depth":null,"connect_timeout":60000,"write_timeout":60000,"retries":5,"extras":{}},{"path":"/hotels","port":8301,"client_certificate":null,"id":"37407f92-1d9f-4d88-b80f-0bc9a3fb57fd","name":"Hotels","tags":[],"ca_certificates":null,"created_at":1735151821,"updated_at":1735486602,"protocol":"http","host":"hotels-api","tls_verify":null,"enabled":true,"read_timeout":60000,"tls_verify_depth":null,"connect_timeout":60000,"write_timeout":60000,"retries":5,"extras":{}},{"path":"/auth","port":8101,"client_certificate":null,"id":"60e76e38-63f1-4fd7-b10c-51456722a312","name":"Auth","tags":[],"ca_certificates":null,"created_at":1735151037,"updated_at":1735486602,"protocol":"http","host":"auth-api","tls_verify":null,"enabled":true,"read_timeout":60000,"tls_verify_depth":null,"connect_timeout":60000,"write_timeout":60000,"retries":5,"extras":{}},{"path":"/bookings","port":8401,"client_certificate":null,"id":"ae250c19-10c3-4ed2-8cdb-d62497721da2","name":"Bookings","tags":[],"ca_certificates":null,"created_at":1735151922,"updated_at":1735486602,"protocol":"http","host":"bookings-api","tls_verify":null,"enabled":true,"read_timeout":60000,"tls_verify_depth":null,"connect_timeout":60000,"write_timeout":60000,"retries":5,"extras":{}}],"routes":[{"hosts":null,"strip_path":true,"request_buffering":true,"sources":null,"https_redirect_status_code":426,"tags":null,"destinations":null,"created_at":1735151081,"updated_at":1735486602,"methods":["OPTIONS","POST","DELETE"],"protocols":["http","https"],"service":{"id":"60e76e38-63f1-4fd7-b10c-51456722a312"},"regex_priority":0,"id":"4f7e698c-aed6-4919-8d72-a24ce6a2a333","snis":null,"paths":["/api/auth"],"preserve_host":false,"name":"Auth","path_handling":"v1","response_buffering":true,"headers":null},{"hosts":null,"strip_path":true,"request_buffering":true,"sources":null,"https_redirect_status_code":426,"tags":null,"destinations":null,"created_at":1735151945,"updated_at":1735486602,"methods":["GET","POST","PATCH","PUT","DELETE","OPTIONS"],"protocols":["http","https"],"service":{"id":"ae250c19-10c3-4ed2-8cdb-d62497721da2"},"regex_priority":0,"id":"810bbb6d-a10d-416d-b5db-a121762981fa","snis":null,"paths":["/api/bookings"],"preserve_host":false,"name":"Bookings","path_handling":"v1","response_buffering":true,"headers":null},{"hosts":null,"strip_path":true,"request_buffering":true,"sources":null,"https_redirect_status_code":426,"tags":null,"destinations":null,"created_at":1735486723,"updated_at":1735486747,"methods":["GET","OPTIONS","PUT","PATCH","POST","DELETE"],"protocols":["http","https"],"service":{"id":"37407f92-1d9f-4d88-b80f-0bc9a3fb57fd"},"regex_priority":0,"id":"dc4b871c-7013-43f3-b4e1-8cfaf94ae03c","snis":null,"paths":["/api/hotels"],"preserve_host":false,"name":"Hotels","path_handling":"v1","response_buffering":true,"headers":null},{"hosts":null,"strip_path":true,"request_buffering":true,"sources":null,"https_redirect_status_code":426,"tags":null,"destinations":null,"created_at":1735150976,"updated_at":1735486602,"methods":["OPTIONS","GET","POST","DELETE","PUT","PATCH"],"protocols":["http","https"],"service":{"id":"1d1ce8d9-aa4b-4576-8d91-00326d00c26e"},"regex_priority":0,"id":"df0fefa6-7df8-4ae3-baed-ae58add42bbf","snis":null,"paths":["/api/users"],"preserve_host":false,"name":"Usuarios","path_handling":"v1","response_buffering":true,"headers":null}],"consumers":[{"created_at":1735155577,"updated_at":1735486602,"id":"c012b84f-63af-461f-8a8d-b8f99a2bd006","custom_id":null,"tags":[],"username":"JWT","credentials":{"jwts":[{"created_at":1735155689,"consumer":{"id":"c012b84f-63af-461f-8a8d-b8f99a2bd006"},"key":"9L8RmLEKMFd54WrR06CE9zoRSAGpCWeu","rsa_public_key":null,"secret":"MiClaveDeSeguridadMuyLargaParaQueNoFalleSpringBoot","algorithm":"HS256","tags":null,"id":"d9fc99a4-b111-4ff2-a02c-9348fcb176cb"}]}}],"plugins":[{"created_at":1735155843,"updated_at":1735487924,"consumer":null,"service":null,"protocols":["grpc","grpcs","http","https"],"route":{"id":"810bbb6d-a10d-416d-b5db-a121762981fa"},"config":{"uri_param_names":["jwt"],"cookie_names":[],"header_names":["Authorization"],"anonymous":null,"run_on_preflight":false,"secret_is_base64":false,"maximum_expiration":0,"key_claim_name":"kid","realm":null,"claims_to_verify":["exp"]},"tags":null,"enabled":true,"instance_name":null,"name":"jwt","id":"3e302549-c51f-469d-a71d-98f30f2ddcab"},{"created_at":1735156525,"updated_at":1735487917,"consumer":null,"service":null,"protocols":["grpc","grpcs","http","https"],"route":{"id":"df0fefa6-7df8-4ae3-baed-ae58add42bbf"},"config":{"uri_param_names":["jwt"],"cookie_names":[],"header_names":["Authorization"],"anonymous":null,"run_on_preflight":false,"secret_is_base64":false,"maximum_expiration":0,"key_claim_name":"kid","realm":null,"claims_to_verify":["exp"]},"tags":null,"enabled":true,"instance_name":null,"name":"jwt","id":"8386bf54-ede1-4f34-bb87-989ce4276e8a"},{"created_at":1735486785,"updated_at":1735487895,"consumer":null,"service":null,"protocols":["grpc","grpcs","http","https"],"route":{"id":"dc4b871c-7013-43f3-b4e1-8cfaf94ae03c"},"config":{"uri_param_names":["jwt"],"cookie_names":[],"header_names":["Authorization"],"anonymous":null,"run_on_preflight":false,"secret_is_base64":false,"maximum_expiration":0,"key_claim_name":"kid","realm":null,"claims_to_verify":["exp"]},"tags":null,"enabled":true,"instance_name":null,"name":"jwt","id":"d1fc4321-6bb5-432a-92cd-52b245df6a52"}],"acls":[],"upstreams":[],"certificates":[],"snis":[]},"createdAt":"2024-12-29T16:00:09.000Z","updatedAt":"2024-12-29T16:00:09.000Z"} \ No newline at end of file