Skip to content

twhite0/demo-provider

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

demo-provider

STS Local deployment

Within STS, Select Run, Run Configurations. Highlight Spring Boot and select New. Name it, fill in the Project (demo-producer), Main (RegistryProviderApplication.java). Alternatively (> STS 3.7.1-ish), you can leverage the Spring Boot Dashboard (highly recommended). Windows-> Show View -> Other. Within the Spring folder there should be a Boot Dashboard. Within the dashboard you can start/stop instances with ease.

This repo assumes a Eureka registry is up on your local laptop listening on port 35000. https://github.com/twhite0/demo-registry

The service can be executed via. http://localhost:34000/demo/v0/producer

Jersey vs CXF

Flipping back and forth....not ideal but here we go: Update the gradle.build file Update the com.example.RegistryConsumerApplication.java (comment or uncomment the cxf) Comment/Uncomment the com.example.endpoint.config files

Refresh the dependencies and restart

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages