GitHub user snoopdave opened a pull request:
https://github.com/apache/usergrid/pull/379
Upgrade to Jersey 2
DO NOT MERGE
This is for review purposes only.
This document summarizes the changes that were made:
https://docs.google.com/document/d/1WINK-Eil8WOstMNAUTjgTlmFnW5vMpwrf-u-Qd0DJu0/edit?usp=sharing
You can merge this pull request into a Git repository by running:
$ git pull https://github.com/apache/usergrid usergrid-103-upgrade-jersey
Alternatively you can review and apply these changes as the patch at:
https://github.com/apache/usergrid/pull/379.patch
To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:
This closes #379
----
commit 0578d987abc9eacb41af50f8957e90d16f6f7025
Author: Dave Johnson <[email protected]>
Date: 2015-08-28T14:57:13Z
Switch to Jersey 2, fix all compilation errors. TODO: new MeteringFilter,
new JSON-HTMP swap logic and correct use of dependency management.
commit eb2aa6ff9d45861c9a3e7d7cb0496423fc3c9a23
Author: Dave Johnson <[email protected]>
Date: 2015-09-03T19:01:37Z
Changes to configure our filters correctly, and numerous other test fixes.
Only 7 REST tests are not passing.
commit e070ad55fe2ca5e5fa9dca95029b501a4389c043
Author: Dave Johnson <[email protected]>
Date: 2015-09-03T21:11:13Z
Client side error handling fixes get two more tests passing.
commit dfa65d61000ad1443c7e6125706dc0642e5b7463
Author: Dave Johnson <[email protected]>
Date: 2015-09-04T13:24:09Z
Jersey 2 fix for IndexResourceIT
commit c8b84305910f8916991a9c3f50c4d9d97a3572ec
Author: Dave Johnson <[email protected]>
Date: 2015-09-04T15:12:32Z
Jersey 2 fixes for ContentTypeFilter and associated test, down to 1 failing
test now.
commit cdf7c293f5127d21b6726f8ba0b7c121722e1f36
Author: Dave Johnson <[email protected]>
Date: 2015-09-08T17:26:29Z
In Jersey 2 need the security annotation on the very last resource method
that is called.
commit ed3ba7c3991793bebed6fea4b25b7543a21e530e
Author: Dave Johnson <[email protected]>
Date: 2015-09-08T20:38:12Z
Don't hard-code the Jersey version number, use a property instead.
commit 3749e7415197863b8fd0f8af3bbcdec59ba137fc
Author: Dave Johnson <[email protected]>
Date: 2015-09-08T20:38:43Z
use string constants wherever possible in @Produces annotations.
commit 1f77ca167b29b2ab847b8e1e0dae09332993bdd1
Author: Dave Johnson <[email protected]>
Date: 2015-09-08T21:05:47Z
Merge branch 'two-dot-o-dev' into usergrid-103-upgrade-jersey
Conflicts:
stack/rest/src/main/java/org/apache/usergrid/rest/SystemResource.java
stack/rest/src/main/java/org/apache/usergrid/rest/management/organizations/applications/ApplicationResource.java
stack/rest/src/test/java/org/apache/usergrid/rest/SystemResourceIT.java
stack/rest/src/test/java/org/apache/usergrid/rest/management/ManagementResourceIT.java
stack/rest/src/test/java/org/apache/usergrid/rest/test/resource/endpoints/NamedResource.java
stack/rest/src/test/java/org/apache/usergrid/rest/test/resource/endpoints/SetupResource.java
stack/rest/src/test/java/org/apache/usergrid/rest/test/resource/endpoints/SystemResource.java
commit 31bacc8d1083337b0eac82c2f094282cd2d864a9
Author: Dave Johnson <[email protected]>
Date: 2015-09-09T14:00:27Z
SystemResourceIT tests pass only when run separately.
commit 2aaa37f862bb78869f65aa2481884c1758b41768
Author: Dave Johnson <[email protected]>
Date: 2015-09-09T15:09:43Z
Moving superuser token get out of try-catch causes some test failures.
----
---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at [email protected] or file a JIRA ticket
with INFRA.
---