Skip to content

This is a basic application that will test out kotlin and spring integration. The intent of the is to create a rest service that will generate a basic UUID and persist a message on mongo for later retrial with the UUID.

License

Notifications You must be signed in to change notification settings

PeterPlatt/kotlinRegistration

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

28 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Build Status

Kotlin Registration

This is a basic application that will test out kotlin and spring integration. The intent of the is to create a rest service that will generate a basic UUID and persist a message on mongo for later retrial with the UUID.

Setup

  1. Setup a mongoDB instance or create one online for free using it's free Mongo Lab
  2. Set the environment variables listed below to the appropriate values
  3. Run the application using the command below
gradle bootRun

Environment variables setup

Environment Variable Description Example
registrationMongoPassword Password used for mongodb user pass123
registrationMongoUserName Username used for mongodb user UN123
registrationMongoDatabase Mongodb database name testMongo
registrationMongoHost mongodb host something.mlab.com
registrationMongoPort mongodb port 1235

How to run the Tests

The tests use an embedded mongoDb instance and can be run with no external setup. Execute the command below to run the test.

gradle test

Resources

About

This is a basic application that will test out kotlin and spring integration. The intent of the is to create a rest service that will generate a basic UUID and persist a message on mongo for later retrial with the UUID.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages