Giri Dandu
58ad5ba062
Updated after review comments.
...
- Fixes #163
2015-05-07 19:10:48 -04:00
Giri Dandu
90584ef1a4
Merge branch 'master' into issue-163-uat-artifact-for-deploydb
2015-05-06 15:49:27 -04:00
Giri Dandu
927312b5cd
Tested UAT with deploydb running in an environemnt
...
- Added update of deployment state and promotion result testing for
a deployment
- Fixes #163
2015-05-06 14:31:31 -04:00
Giri Dandu
c75b53510b
Add Admin task for UAT to kick off cleanup of models
...
- Fixes #163
2015-05-05 17:24:37 -04:00
Mahesh V Kelkar
5493490f7a
Add ldap config to all deploydb config files used in cucumber tests
...
Also, make the manual LDAP authentication scenario self-explanatory.
References #166
2015-05-02 13:24:24 -04:00
Mahesh V Kelkar
3954d8c1b9
Enabled tests for REST API to get Deployments for environment ident
...
References #169
2015-04-28 11:43:18 -04:00
Mahesh V Kelkar
f6b82b7ef2
Added a scenario where environment doesnt exist when seeking deployments
...
References #21
2015-04-27 11:21:10 -04:00
Mahesh V Kelkar
7d0beea655
Changed the API to return deployments instead of artifacts for a given environment
...
References #21
2015-04-27 10:55:34 -04:00
Mahesh V Kelkar
93fc9d2729
Defined new REST API to get artifacts in a given environment
...
References #21
2015-04-27 10:45:08 -04:00
Mahesh V Kelkar
2a51a4492e
Merge branch 'master' into issues/162-impl-manual-promotion
...
Conflicts:
features/api/webhook/multipleWebhooks.feature
src/test/groovy/deploydb/WorkFlowSpec.groovy
2015-04-22 16:35:02 -04:00
Mahesh V Kelkar
f921b14c8b
Changed package name to lowercase and added validation for classname in type variable.
...
References #162
2015-04-22 16:14:42 -04:00
Mahesh V Kelkar
60844705ae
Must register AuthProvider or will cause DeploymentResource creation to fail
...
References #162
2015-04-22 09:45:56 -04:00
Mahesh V Kelkar
80c2f789b8
Added PromotionImpl, ManualPromotionImpl, BasicPromotionImpl for manual promotion
...
This is documented as a part of issue 159
References #162
2015-04-21 16:12:55 -04:00
Giri Dandu
f7572388cf
Merge branch 'master' into issue-145-spock-webhook-end-to-end
2015-04-20 14:22:27 -04:00
Giri Dandu
1ba91c75d6
Remove the tests from cukes that are covered by spock integration tests
...
- Fixes #145
2015-04-20 13:46:30 -04:00
Mahesh V Kelkar
26dc40f302
Disable the negative auth scenario for the timebeing
...
Investigating into what needs to be done to disable a negative
auth scenario in case authenitcation is disabled
References #157 and #158
2015-04-17 11:01:50 -04:00
Mahesh V Kelkar
79edb89482
Simplified spock tests for LdapAuthenticator and added lot of javadocs
...
Added new cucumber step to enable basic HTTP auth credentials.
References #157 and #158
2015-04-16 16:29:51 -04:00
R. Tyler Croy
27b5f2a658
Merge pull request #156 from GiriDandu/issue-155-out-of-order-webhooks-for-multiple-environments
...
In a flow, the deployments should be processed in the insertion order
2015-04-13 18:37:35 -07:00
Giri Dandu
90a6d1bfaa
In a flow, the deployments should be processed in the insertion order
...
- Add cucumber scenarios to test the webhook execution order
- Fixes #155
2015-04-13 18:28:11 -04:00
Giri Dandu
6878fcb6a5
Deploydb should gracefully handle error when create artifact is called twice
...
for the same artifact
- Fixes #153
2015-04-10 15:05:05 -04:00
Giri Dandu
6846e068d2
All the database providers can be tested but not all tests are passing for following
...
reasons
- Timestamp mismatch for mysql
- Oder in the list returns is not consistent for postgresql and h2
- Fixes #127
2015-04-07 18:20:55 -04:00
Giri Dandu
a22015d6e8
Merge remote-tracking branch 'upstream/master' into issue-108-code-cleanup
...
Conflicts:
src/cucumber/groovy/deploydb/cucumber/StubAppRunner.groovy
src/cucumber/groovy/step_definitions/FlowSteps.groovy
src/cucumber/groovy/step_definitions/WebhookSteps.groovy
src/main/groovy/deploydb/WorkFlow.groovy
2015-04-06 14:26:20 -04:00
Giri Dandu
aad71d3d0c
Fix the step definitons rearrange all model steps to appropriate files and
...
upgrade gradle to 2.3
- Use model helper to create the deployment
- Upgrage gradle to 2.3 in hope of fixing the codenarc dependency issue
but it didn't make any difference
- Fixes #108
2015-04-06 14:01:23 -04:00
Mahesh V Kelkar
403f5a2540
Merge branch 'master' into issues/126-allow-config-changes
...
Conflicts:
features/api/config.feature
src/main/groovy/deploydb/DeployDBApp.groovy
2015-04-06 12:01:06 -04:00
Giri Dandu
d68b57b94e
Merge branch 'master' into issue-108-code-cleanup
...
Conflicts:
docs/html5/restapi/report.js
2015-04-06 11:39:32 -04:00
Giri Dandu
2c9338e0f4
Code clean up
...
- Environment model contains a webhook not many
- Fixes #108
2015-04-06 08:38:41 -04:00
Giri Dandu
b0f40f4d09
Merge branch 'master' into issue-139-make-example-config-useful
...
Conflicts:
docs/html5/restapi/report.js
2015-04-03 11:48:05 -04:00
Giri Dandu
97e2cfd276
Update after code review comments
...
- Fixes #139
2015-04-03 11:32:06 -04:00
Mahesh V Kelkar
bf6e5d9787
Using VARCHAR(64) for checksum in modelConfigs and flows table
...
Other code review changes
References #126 and #141
2015-04-03 11:17:31 -04:00
Mahesh V Kelkar
d1cce09796
Merge branch 'master' into issues/126-allow-config-changes
2015-04-02 16:01:02 -04:00
Mahesh V Kelkar
ac04cc2f44
Allow Models-config to change (configReload) while deployments are in progress
...
- Added ModelConfig model, DB table, etc to keep track of old configs.
- Added checksum calculations to keep track of each configReload
iteration. This calculation reads all the directories and files
in a deterministic order and computes checksum, which should remain
same for given config on any platform.
- The checksum is stored in the DeployDB app object as well Flow object
in order to associate them with the given iteration of config.
- On the subsequent Flow/Deployment transitions, if checksum from the
Flow matches with that in the App object, then in-memory (i.e. registry)
Model objects are used. Otherwise Model objects are read from the
ModelConfig objects.
- In loadConfigModels, moved code repetitions such as loading from
string, inserting into registry, checksum calculations, etc.
to common function
- Added cucumber and spock tests to validate the code.
References #126
2015-04-02 15:58:58 -04:00
Giri Dandu
c6d0c334ea
move the example configuration into "example" directory
...
- Fixes #139
2015-04-02 12:42:24 -04:00
Giri Dandu
ca68820939
Use the correct criteria to fetch the deployments
...
- Update the cucumber test to fetch multiple deployments
- Fixes #134
2015-04-02 10:19:04 -04:00
Giri Dandu
f7ad5777a6
Merge branch 'master' into issue-134-fetch-deployment-by-artifact-id
...
Conflicts:
features/api/deployment/reading.feature
2015-04-01 15:55:24 -04:00
GiriDandu
b573f49474
Merge pull request #133 from GiriDandu/issue-117-api-get-deployments-by-artifact-id
...
Add API to fetch deployment by artifact id
2015-04-01 15:44:56 -04:00
Giri Dandu
c6a6930a52
Update after code review comments
...
- Remove unnecessary tags and make scenario name consistent
- Fixes #117
2015-04-01 15:14:47 -04:00
Giri Dandu
1d846718e4
Fetch deployments for a given artifact id
...
- The fetch operation is not working properly, will have to rework the logic
- Fixes #134
2015-04-01 13:43:14 -04:00
Giri Dandu
6f92532474
Add API to fetch deployment by artifact id
...
- Fixes #117
2015-03-31 14:40:34 -04:00
Giri Dandu
255e113b34
Add pagination support for "query" API.
...
- Fixes #129
2015-03-31 12:20:41 -04:00
Giri Dandu
5f5af72610
Add "query" support for fetching artifacts based on name, group or version.
...
- Fixes #129
2015-03-31 11:39:10 -04:00
Giri Dandu
7606219cb6
Add API support to fetch artifacts by query parameter
...
- Fixes #118
2015-03-30 16:15:56 -04:00
Mahesh V Kelkar
d764a890b7
Updated the scenario text for configReload op that explains in-progress state
...
References #44 and #122
2015-03-30 09:15:12 -04: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
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
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
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
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