Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Initial MongoDB based EnvironmentRepository implementation. #287

Closed
wants to merge 1 commit into from

Conversation

venilnoronha
Copy link
Contributor

Hi,

I've implemented a basic MongoDB based EnvironmentRepository (Issue #203). I've also added a simple test.

The following properties can be configured for this implementation.

spring.cloud.config.server.mongodb.host - The mongodb host (default 127.0.0.1)
spring.cloud.config.server.mongodb.port - The mongodb port (default 27017)
spring.cloud.config.server.mongodb.database - The mongodb database
spring.cloud.config.server.mongodb.username - The mongodb username (optional)
spring.cloud.config.server.mongodb.password - The mongodb password (optional)

Enabling MongoEnvironmentRepository

The spring.profiles.active must be set to 'mongodb' and at least the spring.cloud.config.server.mongodb.database property must be configured to enable this repository.

Please review and pull.

Thanks,
Venil

@venilnoronha venilnoronha changed the title Issue #203. Initial MongoDB based EnvironmentRepository implementation. Initial MongoDB based EnvironmentRepository implementation. Nov 27, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant