Skip to content
This repository has been archived by the owner on Feb 23, 2022. It is now read-only.

retwis-j database configuration #13

Open
hkarakose opened this issue Oct 4, 2013 · 3 comments
Open

retwis-j database configuration #13

hkarakose opened this issue Oct 4, 2013 · 3 comments

Comments

@hkarakose
Copy link
Contributor

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?

@scottfrederick
Copy link
Contributor

The retwis-j tutorial on docs.spring.io is not meant to be Cloud Foundry specific. The version under http://github.com/spring-projects/cloudfoundry-samples/retwisj was created by taking the spring-data sample and making a few small changes for deployment to CF.

The spring-projects/cloudfoundry-samples repo should be considered deprecated. All of the samples in this repo are likely to need some work before they can be deployed to the current CF cleanly, as they were created for an earlier version of CF. I merged your earlier PR thinking it was in the the http://github.com/cloudfoundry-samples org, because I didn't look closely enough at the repo. If you do get it to work on CF I will gladly add it to the cloudfoundry-samples org.

@hkarakose
Copy link
Contributor Author

Scott,
Do you consider updating spring-projects/cloudfoundry-samples/retwisj to work in local environment (without cloud-foundry)?

@scottfrederick
Copy link
Contributor

Such a non-Cloud Foundry-specific version of rewtisj would be in the Spring Data samples here: https://github.com/spring-projects/spring-data-keyvalue-examples. It has been updated recently, so there is a good chance it is in better shape than the one in spring-projects/cloudfoundry-samples.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants