2022-02-25

#oodrive

Réalisation sujet Kong

Installation

Points

Instances

L'adress IP local de la VM est: 10.107.3.50

containers de test Kong

  • kong gateway: 8000
  • kong admin api: 8001
  • kong manager: 8002
  • kong dev portal: 8003
  • konga: 1337

containers de test Konga

  • kong gateway: 9000
  • kong admin api: 9001
  • konga: 9005

Requête de test

curl -H 'Authorization: Bearer f35c2abb-4179-4f74-ad77-b5993f20d2e7' https://staging.oodev.io/asgard-admin/api/workspace/none/contacts

curl -H 'Authorization: Bearer bb9f0e46-d923-40d7-8e72-bcd8ec22ac01' https://staging.oodev.io/portal/api/users/me

curl -H 'X-Gravitee-Api-Key: 4b94720c-0cdf-41f9-9bca-f1787f524d0d' https://kong.oodev.io:8082/time
sudo docker system prune --all --force --volumes
keytool -genkey -alias test -keyalg RSA -keystore server-keystore.jks -keysize 2048 -validity 360 -dname CN=localhost -keypass secret -storepass secret