GlassFish Server Open Source Edition 3.1 - RESTful Administration API
The REST Administration API will be the primary Scope
The REST Admin API will be the API that clients, most notably the Admin Console, will use to interact with the server. Every operation that is supported via the CLI or through the now deprecated AMX interface must be supported via REST. The major push in 3.1 is clustering, so support for this new capability will be the top priority for the API. Additionally, the very prominent Admin Console will be the primary consumer initially, so great care will be given to insure that the Console works as expected once the transition is made to use this API. Design Document
The dev tests for the REST module reside in the standard Maven location under src/test in v3/admin/rest. The tests require a running GlassFish instance, though, so the Maven Surefire plugin has been disabled in the test phase of the Maven lifecycle. Execution of the tests, then, will be skipped during the normal build/package/install process, and must be run explicitly using the 'test' profile via mvn -Prest-devtest test A Hudson job will be configured to run these tests automatically. References
|
Item # | Date/Milestone | Feature-ID | Description | QA/Docs Handover? | Status / Comments |
---|---|---|---|---|---|
01. | MS4 | REST-001 | Cluster management | Yes | REST support for clustering depends on the implementation of the clustering CLI commands see (Clustering Project ) |
02. | MS2 | REST-002 | JMS support | Yes | |
03. | MS4 | REST-003 | Expose REST endpoints dynamically (work starts in MS1) | Yes | |
04. | MS3 | REST-004 | Create session token mechanism | Yes |
Task | Target Milestone | Start | End Date | Owner(s) | Feature ID | Status / Comments |
---|---|---|---|---|---|---|
Make the naming and formatting of param names/keys consistent (issue ) | M1-M2 | 2010-05-04 | 2010-06-21 | Ludo | REST-001 | |
Default to CamelCased key names (issue ) | M2 | 2010-05-04 | 2010-06-21 | Ludo | REST-001 | The Admin Console will hard-code mappings for now so that a PoC can be created |
Refactor generated and supporting code (issue ) | M3 | 2010-05-04 | 2010-07-19 | Ludo, Mitesh | REST-002 | Refactoring should simplify the code base, making comprehension and maintenance (and dynamicity) easier in the long term |
Help develop Console REST-based prototype (issue ) | M1 | 2010-05-10 | 2010-05-24 | Jason | This task has been completed and the console team is pressing forward with its migration | |
Dynamic REST Resources (issue ) | M4 | 2010-05-04 | 2010-08-16 | team | ALL | Investigate options (jersey, ASM, JDK) in M1, M2, implementation in M4 |
Develop more dev tests (issue ) | M4 | 2010-05-04 | 2010-08-16 | Jason | ALL | Will have necessary dev tests during MS2, MS3 for feature hand over |
Create session authentication token mechanism (issue ) | M3 | 2010-05-10 | 2010-06-21 | Jason | REST-004 | |
Returned type in URL (issue ) | M3 | 2010-06-10 | 2010-07-19 | Ludo | REST-005 | This feature has been implemented. |