Comments (2)
The new sample has been recreated from scratch using the https://start.spring.io/ generator and that has not used the context path and the sample has not changed it.
I am not sure what was the reason to use it in the old sample.
I tend to keep the configuration concise and I reused only the code (and config) that was adding some functionality.
What are the pros and cons of having the context path set and not set? It can make sense to keep it consistent with the previous sample. The advantage of not setting it is that you do not need to know it and you can just know the hostname and port to access the homepage (Swagger UI in case of the sample). Example: when I was onboarding Endevor using static YML, I did not know what is the home page. I could not find it in the documentation. Everything that made sense to me ended up with 404. I had to ask several developers of Endevor to be able to issue a REST API request.
from sample-spring-boot-api-service.
I like it without context path and really like the concise configuration.
Users of the new SDK have lots of positives but are noticing a few differences. I'll close this for future teams researching about the context path change.
Thank you!
from sample-spring-boot-api-service.
Related Issues (20)
- "https" profile in application.yml has no effect
- Misleading security message in rest-api-commons
- Proxy problem HOT 1
- Document Manual Deployment
- Document zowe-api.json
- zowe-api-dev init generates incorrect zosTargetDir HOT 1
- zowe-api-dev start --job not documented
- zowe-api-dev stop supports only java started by Jzos launcher HOT 3
- zowe-api-dev Variable replacing HOT 1
- zowe-api-dev config --force HOT 1
- Problems registering Zowe Sample API Service HOT 5
- OMVS Segment Required
- Were MFAAS dependencies moved to https://zowe.jfrog.io/? HOT 2
- zowe-api-dev config --name zos Cannot use template
- Use zowe.jfrog.io
- Minor defect - Missing period in error message
- List used third-party components so the SDK can be easily approved
- Document methods for taking diagnostics information
- Security Documentation - Commands and Requirements Don't Match HOT 3
- Make SonarCloud work for pull requests with CircleCI
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from sample-spring-boot-api-service.