Skip to content

rierjarv/verkkokauppa-core

 
 

Repository files navigation

How to use swagger endpoints in openshift environment

img.png

  1. Open openshift website, then find in right corner and press the "Copy login command" below your profile name
  2. Run the command in command line oc login --token=XXX --server=XXX
  3. Select correct project oc project XXX
  4. Find pod name, CHANGE_ME to events returns first events-api pod name oc get pods | grep CHANGE_ME | awk '{print $1}'
  5. Open tunnel to pod in port 8080, oc port-forward POD_NAME 8080:8080
  6. Then you can open swagger on your local computer in http://localhost:8080/swagger-ui/index.html

How to setup core application

Read this!

How to use swagger endpoint using infra/runConfigurations on intellij idea ultimate.

How to use swagger endpoint using docker compose up command

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Java 98.1%
  • HTML 1.2%
  • Other 0.7%