Comments (12)
Having a Lagom Descriptor called user
and another service that is using the /user
route is not possible.
Under ConductR, each Lagom service is accessible under http://:9000/DESCRIPTOR_NAME
where DESCRIPTOR_NAME
is the name of the Descriptor: https://github.com/lagom/online-auction-java/blob/master/user-api/src/main/java/com/example/auction/user/api/UserService.java#L25
This suffix is necessary so that every service can use the same port 9000.
So you either rename the Descriptor name of the user-api
service or the route of webGateway
.
from online-auction-java.
So you either rename the Descriptor name of the user-api service or ...
Exactly what I did. ;-)
from online-auction-java.
Thanks for the detailed explanation!
from online-auction-java.
@markusjura why is http://:9000/user
even published in the service gateway if that's a private API? I would expect user -> [<list of (ip/port)]
to exist in a Service Registry that's only consumable from the private network.
What is the motivation to expose the list of services in http://:9000/<service-name>
?
from online-auction-java.
Related to #17
from online-auction-java.
Yeah, what does http://:9000/user
even route to? Shouldn't only ACLs declared by the service descriptor be exposed?
from online-auction-java.
Yeah, what does http://:9000/user even route to? Shouldn't only ACLs declared by the service descriptor be exposed?
@markusjura does this question still apply? If so, can we find some docs on the subject? /cc @TimMoore
from online-auction-java.
@ignasi35 Yes, it still applies. I would need to dive a bit deeper into that again to gain a full understanding. Will not be able to do that today. Hopefully, beginning of next week. I keep you posted.
from online-auction-java.
Run "cf unmap-route YOUR-APP-NAME OLD-ROUTE" to remove the existing route from that app.
from online-auction-java.
$ cf env my-app
Getting env variables for app my-app in org My-Org / space development as admin...
OK
System-Provided:
{
"VCAP_SERVICES": {
"p-mysql-n/a": [
{
"credentials": {
"uri":"postgres://lrra:[email protected]:5432/lraa
},
"label": "p-mysql-n/a",
"name": "p-mysql",
"syslog_drain_url": "",
"tags": ["postgres","postgresql","relational"]
}
]
}
}
User-Provided:
my-env-var: 100
my-drain: http://drain.example.com
//u can also review this example..
from online-auction-java.
@anii1234 I think you might be in the wrong place 😄
from online-auction-java.
This is solved. user-service
no longer collisions with web-gateway
from online-auction-java.
Related Issues (20)
- Logout causes (UI and logs) exception HOT 1
- event store uniqueness , saga ,optimistic ui updates HOT 1
- TransportException on home page HOT 2
- Nav controller initialization failure in Japan locale HOT 1
- InvalidQueryException: Cannot execute this query as it might involve data filtering and thus may have unpredictable performance. HOT 1
- sbt runAll raise errro Unknown CF HOT 1
- logback stacktrace (NPE) when running in devmode HOT 3
- Disable java serialization completely HOT 1
- Add integration tests on Bidding Service
- Add LO4K8s instructions (remove ConductR) HOT 1
- Upgrade Elasticsearch to 6.x
- Replace the deprecated JavaTestKit with current equivalent
- Search service api expects a request body for GET request
- Replace ReadSideTestDriver with testkit-provided
- Cleanup Service descriptor for SearchService
- Upgrade to Lagom 1.5 HOT 1
- Upgrade to JUnit 5
- Fine tune Kafka logger levels
- Setup mergify
- Setup probot-settings
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 online-auction-java.