Commit Graph

493 Commits

Author SHA1 Message Date
R. Tyler Croy d33c34417e Merge pull request #123 from mbbx6spp/fix-migrations-for-mysql
Fix V2,4-6 migrations to work against MySQL
2015-03-29 14:04:06 -07:00
Susan Potter 521e6d62a9 Fix V2,4-6 migrations to work against MySQL 2015-03-29 15:27:55 -05:00
Mahesh V Kelkar 7d084f3b74 Updated the configReload cucumber doc to return TEXT response.
References #44
2015-03-27 14:47:00 -04:00
Mahesh V Kelkar 4c98e11a42 Merge branch 'master' into issues/44-reload-config 2015-03-27 14:36:52 -04:00
Mahesh V Kelkar e9bacce9a4 Added configReload admin task to reload the config, if no work in progress.
References #44
2015-03-27 14:35:25 -04:00
R. Tyler Croy 74f0091c8d Merge pull request #121 from maheshkelkar/issues/120-define-reload-api
Defined REST API for configuration reload
2015-03-27 09:41:36 -07:00
Mahesh V Kelkar 1045648717 Change the config reload should be an admin task
References #120
2015-03-27 10:12:44 -04:00
Mahesh V Kelkar a9d0423b46 Defined REST API for configuration reload
References #120
2015-03-26 14:40:06 -04:00
R. Tyler Croy a583655534 Merge pull request #119 from GiriDandu/issue-106-webhook-content-type-for-events
Issue 106 webhook content type for events
2015-03-26 08:16:48 -07:00
Giri Dandu 247e6b92b3 Update after code review comments.
- Add the data table for content type header in cukes and validate it
 - Fixes #106
2015-03-26 07:45:59 -04:00
R. Tyler Croy 11846240ab Merge branch 'webui' 2015-03-25 13:50:44 -07:00
Giri Dandu e10b043079 Remove archiving of files for cukes.
- dropwizard 0.8.0 spews logs related rolling file appender and
    cukes doesn't need archiving support.
  - Fix the compilation issue related to previous commit
2015-03-25 13:50:40 -07:00
R. Tyler Croy 01f0ff2008 Ensure we're testing on JDK7 and JDK8 for CI 2015-03-25 13:50:40 -07:00
R. Tyler Croy 88b4021167 Upgrade to Dropwizard 0.8 final now that it has been released
Not really any major changes to report in this commit other than a few minor
updates to keep track with the minor API changes between 0.8rc1 and 0.8 final.

Fixes #92
2015-03-25 13:50:40 -07:00
R. Tyler Croy c07710f923 Fleshing out the web UI for deploydb, starting with awful mockups 2015-03-25 13:50:20 -07:00
Giri Dandu 1f5daa3f60 Merge branch 'master' of github.com:lookout/deploydb into issue-106-webhook-content-type-for-events 2015-03-25 14:46:39 -04:00
Giri Dandu 9174da2c0b Add content type header for webhooks.
- Fix all the cucumber tests for webhooks to verify the
   content type header in webhooks from deploydb
 - Fixes #106
2015-03-25 14:18:16 -04:00
R. Tyler Croy c8f7678a68 Merge pull request #116 from lookout/issues/92-dropwizard-0.8
Upgrade to Dropwizard 0.8 final
2015-03-24 12:35:42 -07:00
Giri Dandu 8ee60ee7da Merge branch 'master' into issues/92-dropwizard-0.8 2015-03-24 14:01:47 -04:00
Giri Dandu 289cb93567 Remove archiving of files for cukes.
- dropwizard 0.8.0 spews logs related rolling file appender and
    cukes doesn't need archiving support.
  - Fix the compilation issue related to previous commit
2015-03-24 12:58:36 -04:00
R. Tyler Croy 3239c4cfc9 Ensure we're testing on JDK7 and JDK8 for CI 2015-03-24 12:58:36 -04:00
R. Tyler Croy b401e71ff0 Upgrade to Dropwizard 0.8 final now that it has been released
Not really any major changes to report in this commit other than a few minor
updates to keep track with the minor API changes between 0.8rc1 and 0.8 final.

Fixes #92
2015-03-24 12:58:36 -04:00
R. Tyler Croy e3f6259b61 Big documentation update (groovydocs and asciidoctor) 2015-03-24 09:32:28 -07:00
R. Tyler Croy badf59aa8c Add a script for generating changelogs and the resulting file for 0.1 2015-03-24 09:30:30 -07:00
maheshkelkar db57c35ae6 Merge pull request #115 from GiriDandu/issue-111-webhook-fai-for-empty-started-config
Issue 111 webhook invocation fails for for empty started config
2015-03-24 11:04:11 -04:00
R. Tyler Croy 60cdeabc5b Merge pull request #114 from maheshkelkar/issues/103-flyway-java-migrations
Using flyway java(groovy) migrations for sql compatibility with diff DBs
2015-03-24 07:34:47 -07:00
Giri Dandu bb221c2486 Make the feature names more meanigful.
- Remove the temporary variable in the toString() in the webhook object.
 - Fixes #111
2015-03-23 14:02:57 -04:00
Giri Dandu eb69162835 Change the eventtype list initialization back to null.
- Check for null before accessing the eventtype list
 - Fixes #111
2015-03-23 13:31:35 -04:00
Giri Dandu 39cebb0dbf Fix the webhook invocation when one of event type is missing
- Add spock and cucumber test cases to cover all the test cases
 - Fixes #111
2015-03-23 12:28:35 -04:00
Mahesh V Kelkar fca872b5b2 Moved duplicate flyway java migration code to common DeployDBMirgation class
Added checksum, which null by default for java migrations. Based on code review
comments.

References #103 and #114
2015-03-23 10:40:42 -04:00
Mahesh V Kelkar 057b36bda5 Using flyway java(groovy) migrations for sql compatibility with diff dbs
E.g. MySQL and H2 sql commands are different. Using flyway's java (i.e. groovy in our case)
migrations, instead of sql migrations, we can have tailormade sql commands for each db.

Also fixed the stubAppRunner (i.e. cucumber tests) to read and apply the database/flyway
config from yaml file (instead of hardcoding it)

References #103
2015-03-21 17:10:36 -04:00
GiriDandu 395e79139f Merge pull request #113 from GiriDandu/issue-110-multiple-webhooks-only-one-webhook-invoked
Fix the multiple webhooks invocation use case
2015-03-20 15:05:23 -04:00
Giri Dandu 3b9e48a51c Update after code review comments
- Add unit tests for WebhookManager sendDeploymentWebhook() and sendPromotionWebhook()
 - Fixes #110
2015-03-20 14:06:55 -04:00
Giri Dandu 023ea4f098 Merge branch 'master' of git://github.com/lookout/deploydb into issue-110-multiple-webhooks-only-one-webhook-invoked 2015-03-20 11:07:14 -04:00
Giri Dandu adc6901ed1 Add missing feature file for multiple webhook invocation use case
- Fixes #110
2015-03-20 11:05:08 -04:00
maheshkelkar da5d7aa3e4 Merge pull request #112 from maheshkelkar/issues/14-redis-queue-changes
Upgrade to whoas version 0.1.5 to pull in redis queue support
2015-03-20 11:01:55 -04:00
Giri Dandu 4c77d40f75 Fix the multiple webhooks invocation use case
- Add the support in TestWebhookServer to handle multiple webhooks invocation by deploydb
  - Add cucumber feature for multiple webhooks use case
  - Fixes 110
2015-03-20 10:44:39 -04:00
Mahesh V Kelkar 789481ab59 Upgrade whoas to 0.1.5 version to pull in redis queue support
References #14
2015-03-19 20:47:17 -04:00
R. Tyler Croy 402524c713 Merge pull request #109 from GiriDandu/issue-107-deploydb-whoas-configuration-support
Issue 107 deploydb whoas configuration support
2015-03-18 14:43:27 -07:00
Giri Dandu d05af860da Update after code review comments
- Remove getClassVariable(), its only used one place
 - Use class variable directly instead of getVariableName() to make less verbose code
 - Fixes #107
2015-03-18 15:38:40 -04:00
Giri Dandu e6f3b360bf Merge branch 'master' of git://github.com/lookout/deploydb into issue-107-deploydb-whoas-configuration-support
Conflicts:
	src/main/groovy/deploydb/DeployDBApp.groovy
2015-03-18 13:31:18 -04:00
Giri Dandu 096a2cf69a Add support for whoas configuration
- Build configured queue and runner in webhookmanager
 - Fixes #107
2015-03-18 13:19:57 -04:00
R. Tyler Croy 522d16581f Merge pull request #104 from maheshkelkar/doc-how-to-run
Added instructions for how to run the deployDb application
2015-03-13 12:17:13 -07:00
GiriDandu 097bfee7d7 Merge pull request #100 from maheshkelkar/issues/99-peristence-restart
Removed flyway instatiation in app, it will be driven by db command
2015-03-13 14:46:16 -04:00
Mahesh V Kelkar e6ade672be Added instruction for how to run the deployDb application
Only contains document updates
2015-03-13 14:42:36 -04:00
Mahesh V Kelkar e652184db9 For deploydb.example.yml file, create a db file in current dir, instead of home dir
References #99 and #100
2015-03-13 13:09:36 -04:00
maheshkelkar 6acb3233a5 Merge pull request #101 from GiriDandu/issue-32-fix-artifact-pagination-for-0
Add validation for perPageSize query param for model pagination
2015-03-13 09:59:24 -04:00
Giri Dandu 8f4719d8ed Update after code review comments
- Fixes 32
2015-03-13 09:39:28 -04:00
Giri Dandu 2ac6a449cb Add validation for perPageSize query param for model pagination
- Fixes #32
2015-03-12 16:11:22 -04:00
Mahesh V Kelkar d04c2540b2 Removed flyway instatiation in app, it will be driven by db command
For deploydb.example.yml, use persistent h2 instead of in-memory

References #99
2015-03-12 14:59:23 -04:00