Skip to content

aravindsaraff/api-gateway

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commits
 
 
 
 
 
 

Repository files navigation

Gateway (Facade/Proxy) API Service Sample

Technologies used:

  • Java 8
  • Cryptography with JASYPT/BouncyCastle
    • Requires strong JCE libraries- local_policy.jar, US_export_policy.jar to be downloaded from oracle.com
    • (Re)place the libraries in <JRE_INSTALL>/lib/security by above
    • Ex. For Mac: The location could be: /Library/Java/JavaVirtualMachines/jdk1.8.0_144.jdk/Contents/Home/jre/lib/security
  • Spring Boot 2.x
  • Swagger
  • Integration Test using RestAssured

How to Build:

  • mvn clean install
  • The above builds the application Jar with embedded Tomcat

How to Run:

  • Intellij

    • Add a Spring Boot configuration with GatewayServiceApplication as the main class
  • bash-console

    • java -jar api-portal-service.jar
  • The application should start up at default 8080 port

  • Then start the swagger at

    • http://localhost:8080/swagger-ui.html

    • Then click on the gateway-controller link
      • Go to the API /v1/story
      • Hit Try-It-Out button. It should reveal the Execute button
      • Click on the execute and you should see the Results/Response body
  • Alternatively, you can also run the integration test

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages