vmware-archive / springsource-cloudfoundry-samples Goto Github PK
View Code? Open in Web Editor NEWSamples for Cloud Foundry
License: Apache License 2.0
Samples for Cloud Foundry
License: Apache License 2.0
just FYI ... here's what I needed to do to get 'mvn package' to work for ticker-analysis/spring-ticker-analysis
I was seeing
[ERROR] Failed to execute goal on project ticker-analysis: Could not resolve dependencies for project org.cloudfoundry.samples:ticker-analysis:war:1.0.0-BUILD-SNAPSHOT: Could not find artifact org.jredis:jredis-anthonylauzon:jar:03122010 in org.springframework.maven.milestone (http://maven.springframework.org/milestone) -> [Help 1]
until I made the following change
$ git diff pom.xml
diff --git a/ticker-analysis/spring-ticker-analysis/pom.xml b/ticker-analysis/spring-ticker-analysis/pom.xml
index 2d2a63f..9da16d5 100644
--- a/ticker-analysis/spring-ticker-analysis/pom.xml
+++ b/ticker-analysis/spring-ticker-analysis/pom.xml
@@ -127,6 +127,17 @@
<groupId>org.springframework.data</groupId>
<artifactId>spring-data-redis</artifactId>
<version>1.0.0.M2</version>
+ <exclusions>
+ <exclusion>
+ <groupId>org.jredis</groupId>
+ <artifactId>jredis-anthonylauzon</artifactId>
+ </exclusion>
+ </exclusions>
+ </dependency>
+ <dependency>
+ <groupId>redis.clients</groupId>
+ <artifactId>jedis</artifactId>
+ <version>2.0.0</version>
</dependency>
<dependency>
<groupId>org.springframework.data</groupId>
as suggested in https://jira.springsource.org/browse/DATAREDIS-70 .
Hi
I am going through retwis-j example. The tutorial does not mention about cloudfoundry:
http://docs.spring.io/spring-data/data-keyvalue/examples/retwisj/current/
But spring configuration is set up to use cloudfoundry in applicationContext-redis.xml:
<cloud:service-properties id="cfoundryEnv" />
<context:property-placeholder properties-ref="cfoundryEnv"/>
It looks there is a contradiction with the tutorial and the implementation. Can this be considered as a bug?
Hi
First, I would like to thank you for this sample.
to push a simple web application , is it mandatory to add maven?
Thanks
The page http://petclinic-grails.cloudfoundry.com/html/petclinic.html has a labeled home on bottom of the page. The link is to http://petclinic-grails.cloudfoundry.com/welcome.do. This doesn't work in the grails version of Pet Clinic.
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.