Commit Graph

483 Commits

Author SHA1 Message Date
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
R. Tyler Croy cc19e65280 Merge pull request #176 from maheshkelkar/issues/175-add-code-coverage
Added cobertura plugin to compute code coverage by spock tests
2015-05-05 13:39:46 -07:00
Mahesh V Kelkar c565d8c358 Added cobertura plugin to compute code coverage by spock tests
A new task "cobertura" is added to generate the code coverage report.

Also, fixed the unusedClassImports error by CodeNarc.

References #175
2015-05-05 15:34:19 -04:00
Giri Dandu b7366a00dd For UAT artifact, we need to remove the existing artifact, deplopyments and flow.
This allows running of UAT artifact in an existing long running environemts
  - Fixes #163
2015-05-05 12:15:47 -04:00
maheshkelkar 077e6f1d6d Merge pull request #173 from maheshkelkar/issues/166-add-ldap-to-all-ymls
Add ldap config to all deploydb config files used in cucumber tests
2015-05-04 11:32:30 -04:00
maheshkelkar 93d46498ff Merge pull request #174 from maheshkelkar/issues/172-mult-promos-dep-success-early
Fix a case where deployment with multiple promotions is prematurely marked as SUCCESS
2015-05-04 11:32:21 -04:00
Mahesh V Kelkar 583602035e Remove unnecessary check on existence of deployment
Based on review comments

References #172
2015-05-04 10:35:29 -04:00
Mahesh V Kelkar 8d595463ec Fixed the conditional check that failed to find promotion in STARTED state
References #172
2015-05-04 09:31:03 -04:00
Mahesh V Kelkar 7b6efb297b Added a spock test to catch deployment premarturely marked as success
References #172
2015-05-04 09:15:23 -04:00
Giri Dandu 0168dbedab Console integration. UAT needs only service discovery for deploydb.
- Add only health service consul api
  - Fixes #163
2015-05-03 17:33:25 -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
R. Tyler Croy 068951bfa1 Update the version and changelog for Ares 2015-05-02 08:02:06 -07:00
R. Tyler Croy b8d7d2f2b7 Major docs update for 0.3.0 2015-05-02 08:00:26 -07:00
R. Tyler Croy fb30870f55 Merge pull request #171 from maheshkelkar/issues/164-integ-testing-ldap
Updated auth module as per the interop requirements of the with AD server
2015-05-02 07:51:44 -07:00
Mahesh V Kelkar 2a1243d9b6 Ignore the referrals thrown during AD search
We can make it configurable in the future.

References #164
2015-05-01 14:46:20 -04:00
Mahesh V Kelkar c1b8322748 Moved a code repeatation to format a ldap search filter string to a function
References #164
2015-04-30 12:21:26 -04:00
Mahesh V Kelkar d2d567dfbd Fixed the travis failure by updating the code after merge up to latest
References #164
2015-04-30 09:06:18 -04:00
Mahesh V Kelkar 8aae0e2c31 Merge branch 'master' into issues/164-integ-testing-ldap 2015-04-30 08:56:00 -04:00
maheshkelkar 94bd2c075a Merge pull request #170 from maheshkelkar/issues/169-impl-depl-by-env
Implement REST API to get deployment by environment ident
2015-04-29 17:52:43 -04:00
Mahesh V Kelkar 05e1541e13 Updated auth module as per the interop requirements of the with AD server
- Authentication is performed in 4 step process
1. Create a context (A) using bind credentials
2. Search userDN with the context (A) and username
3. Rebind or create a new context (B) using userDN and password
4. Search groups with context (A) and userDN
- Added informative javadocs
- Updated the configuration to fall in line with the requirements
- Moved the Test LDAP server to common test code
- Updated the LdapAuthenticator Spock tests to use TestLdapServer
- Save DeployDBConfigurtion object in the DeployDB app
- Added manualPromo.yml and advServ.yml for testing manual promotion

References #164
2015-04-29 17:41:32 -04:00
Mahesh V Kelkar 3c1260ac90 Simplified the DeploymentDAOSpec tests
Updated as per the code review comments

References #169
2015-04-29 12:05:10 -04:00
Giri Dandu f4f614d8a5 Created UAT artifact that can test remote deployed deploydb
- Fixes #163
2015-04-28 16:42:35 -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 87791a38e3 Merge branch 'master' into issues/169-impl-depl-by-env 2015-04-28 11:19:09 -04:00
maheshkelkar e5754a04e5 Merge pull request #168 from maheshkelkar/issues/21-define-env-to-artifacts
Defined new REST API to get artifacts in a given environment
2015-04-28 11:18:01 -04:00
Mahesh V Kelkar 21c8c6002c Added impl to handle get deployments by environment ident REST API
References #169
2015-04-28 11:16:57 -04:00
Giri Dandu 1a8eeb9de7 Refactor code and create RestAPI client so that spock integation test and uat can
use the common code to call deploydb locally or from another host
 - Fixes #163
2015-04-27 18:58:50 -04:00
Mahesh V Kelkar 00a2f7a430 Added test for getByEnvironmentIdent in DeploymentDAO
References #169
2015-04-27 12:14:36 -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
R. Tyler Croy 09ecbf0e24 Merge pull request #165 from maheshkelkar/issues/162-impl-manual-promotion
Added implementation for manual LDAP promotion
2015-04-22 21:28:42 -07:00
Mahesh V Kelkar 167fd1ce0d Added javadocs for ValidationMethod usage in Promotion object
References #162
2015-04-22 23:08:17 -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
GiriDandu e9500e69f5 Merge pull request #161 from GiriDandu/issue-145-spock-webhook-end-to-end
Issue 145 spock webhook end to end
2015-04-22 14:29:06 -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 b3306537d3 Merge branch 'master' into issues/162-impl-manual-promotion
Conflicts:
	docs/html5/internals.html
	src/asciidoc/internals.ad
	src/test/groovy/deploydb/models/PromotionSpec.groovy
2015-04-22 09:00:06 -04:00
maheshkelkar 81d9e37b12 Merge pull request #160 from maheshkelkar/issues/159-manual-promotion
Added doc for manual promotion and added spock unit tests
2015-04-22 08:51:30 -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
Mahesh V Kelkar bdb5a7bb3d Added TBD and issue number for all the missing pieces in documentation
References #159
2015-04-21 14:23:20 -04:00
Giri Dandu 5e2439f329 Update after code review comments.
- Make sure cucumber files belong to package deploydb.cucumber not package deploydb.
 - Fixes #145
2015-04-21 14:03:55 -04:00
Giri Dandu 23ef2facdd rootProject dependency not required to make the multi project gradle work
for deploydb
 - Fixes #145
2015-04-21 08:07:54 -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
Giri Dandu a0417a83f1 Add promotion and multiple environment webhook integration tests
- Fixes #145
2015-04-20 13:37:00 -04:00
Mahesh V Kelkar 1785930eeb Update internals.html for the changes in internals.ad
References #159
2015-04-20 10:01:39 -04:00