spring-cloud-samples / customers-stores Goto Github PK
View Code? Open in Web Editor NEWTwo microservices for customers and stores
Two microservices for customers and stores
We are using Eureka and AWS. By nature the uri for services changes often. I see zuul on the client side but what handles dynamic uri's for inter-service communication?
Integration UI with Spring Boot using frontend-maven-plugin
.
I'm getting the following error running "spring run app.groovy"
1: unable to resolve class EnableZuulProxy , unable to find class for annotation
@ line 1, column 1.
@EnableZuulProxy
^
2: unable to resolve class EnableDiscoveryClient , unable to find class for annotation
@ line 2, column 1.
@EnableDiscoveryClient
^
Hi everyone
i'm trying to install this project but after execution of "spring run command" (like it has described into readme file) i receive the following error
Caused by: java.net.ConnectException: Connection refused
at java.net.PlainSocketImpl.socketConnect(Native Method)
at java.net.AbstractPlainSocketImpl.doConnect(AbstractPlainSocketImpl.java:350)
at java.net.AbstractPlainSocketImpl.connectToAddress(AbstractPlainSocketImpl.java:206)
at java.net.AbstractPlainSocketImpl.connect(AbstractPlainSocketImpl.java:188)
at java.net.SocksSocketImpl.connect(SocksSocketImpl.java:392)
....
The other 2 projects are working without any problem, and i can reach the localhost page.
Could anyone help me?
Thanks in advance
BR
Daniele
In master looks like a merge wasn't resolved before commit
<<<<<<< HEAD
<spring-cloud.version>1.0.0.BUILD-SNAPSHOT</spring-cloud.version>
<!-- TODO: this isn't working -->
<spring-data-releasetrain.version>Evans-RC1</spring-data-releasetrain.version>
<!-- TODO: ... so we need these -->
<spring-data-rest.version>2.2.0.RC1</spring-data-rest.version>
<spring-data-commons.version>1.9.0.BUILD-SNAPSHOT</spring-data-commons.version>
<tomcat.version>8.0.9</tomcat.version>
=======
<spring-cloud.version>1.0.0.RC1</spring-cloud.version>
<spring-data-releasetrain.version>Evans-SR1</spring-data-releasetrain.version>
>>>>>>> 32feb16... Rationalize versions
when running
ltc create --memory-mb 0 --timeout 5m -e MONGODB_HOST=10.0.1.170 -e MONGODB_PORT=61002 -e RABBITMQ_HOST=10.0.1.170 -e RABBITMQ_PORT=61001 stores springcloud/stores
it times out
Timed out waiting for the container to come up.
This typically happens because docker layers can take time to download.
Lattice is still downloading your application in the background.
To view logs:
ltc logs stores
To view status:
ltc status stores
App will be reachable at:
http://stores.192.168.11.11.xip.io
First springcloud/customers downloads and runs fine
This is a question
I do not see EurekaServer enabled, but I do see @EnableEurekaClient
being used?
can you please clarify how the EurekaServer is configured in this example.
Thanks
Probably its good to mention Lombok is involved. I was new to it & took me a while what was wrong.
assertThat(repository.findById(customer.id), is(customer));
Throws an error as it returns type "java.util.Optional" instead of "example.customers.Customer" fixed it by changing assert to.
assertThat(repository.findById(customer.id).get(), is(customer));
can not resolve maven dependencies
IDE: intellijidea 14
JDK: 1.8
MAVEN: 3.2.1
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.