Plugin:org.tolven.jaxrs

From DOC

Jump to: navigation, search

This plugin provides Tolven RESTful services

When added to plugins.xml

    <plugin id="org.tolven.jaxrs">
         <root />
     </plugin>

adds a servlet that services JAX-RS compatible requests.

Also included are a few simple web pages that test these services.

http://mydomain/Tolven/public/jaxrs/index.xhtml

Contents

Version 2.1 Notes

Version 2.1.8

  • Removed the reference to other plug-ins in the .classpath file.

Version 2.1.8

  • Broken "Show All Metadata" link on Application page of RESTFul interface was fixed.
  • Added RS APIs for /document/create, /document/createXML, /document/process/docId and /document/processXML/docId
  • With regard to the new optional org.tolven.document.store.fs plug-in, added mediaType as a FormParam to /document/process, which still defaults to text/xml as was previously hard-coded.
  • With regard to the new optional org.tolven.document.store.fs plug-in, moved all resource classes and resource writers to org.tolven.api.
  • A new war file is now created and registered with the tolven.ear file for the RS interface: tolvenRS.war. The context is /rs.
  • Added following XHTML files:
    • createDocument.xhtml
    • updateDocument.xhtml
    • processGenericDocument.xhtml
    • processXMLDocument.xhtml
    • queueDocument.xhtml
  • Added accountList and createAccount to vestibule.xhtml.

Version 2.1.7

  • Deprecated the method createUser from UserResources, because this function is a Tolven GateKeeper function, and a class with the same name and function already exists there.
  • Fixed the Select Account and Select Account User functions on the Tolven Vestibule page.
  • Fixed a known issue about the Show Account List.
  • Fixed a known issue about the Login/Logout.
  • Changed annotation @Produces(Mediatype.APPLICATION_FORM_URLENCODED) to simply @Produces, because in no case was a form returned.

Version 2.1.6

  • Removed JAXRSServlet contribution tolvenAPI.war's web.xml, which was already being made by org.tolven.api itself.

Version 2.1.5

  • Upgraded the RESTful interface to conform with the latest version of security.
  • Fixed login and logout on RESTful interface to point to TolvenGateKeeper. Save the file when prompted.

Version 2.1.4

  • Removed @ManagedBean because the new version of Jersey causes issues with injection. This was seen originally in JBoss, and is now seen in Glassfish as well.
  • Removed openssoclientsdk.jar, which is not used in Shiro.
  • Additions were made for Shiro Web Services support. This functionality is not yet complete.

Version 2.1.3

  • Additional updates were made due to recent TolvenGateKeeper security changes and how it affects the restful interface.

Version 2.1.2

  • Due to recent TolvenGateKeeper security changes, the restful interface now accesses accountUserId.

Version 2.1.1

  • Removed references to classes in org.tolven.api.schemas

Version 2.1.0

  • This plug-in was updated with minor changes to fix interfaces that were changed for the introduction of Shiro.


Version 2 Notes

Version 2.0.30

  1. Minor, non-functional changes were made to accommodate Tolven's release build process.

Version 2.0.29

  1. PlaceholderResource APIs return HTTP status 501 at this time

Version 2.0.28

  1. Placed XFacadeAccountUsers in HttpSession to improve performance

Version 2.0.27

  1. Migrated MessageWriters to V2
  2. Added placeholder attributes to POST amd PUT

Version 2.0.26

  1. APIs: Created following APIs: /api/accountTypes, /api/placeholders and /api/accounts

Version 2.0.25

  1. Added createPlaceholder, createTemplateAccount and findTemplateAccont APIs
  2. API pattern for accountType is now accountTypes to indicate a collection, then accessed as accountTypes/{knownType} for a specific

Version 2.0.24

  1. Converted ApplicationResources and TrimResources from V0 to V2
  2. Added GET, POST, PUT and DELETE for accountTypes

Version 2.0.23

  1. Removed class org.tolven.server.RESTfulClient. The Jersey client is now accessible directly from in the ServletContext

Version 2.0.22

  1. Instead of returning the documentId in a TolvenMessage, it is returned as a long, which facilitates WebServices

Version 2.0.21

  1. synchronous document processing added via RESTful API document/process

Version 2.0.20

  1. Added RESTful API account/properties/set to create/set a collection of properties

Version 2.0.18

  1. Fixed bug in setting default account

Version 2.0.17

  1. Removed @Singleton beans in favor or simple Java singleton classes, since no caching is taking place, which will reduce the resource overhead

Version 2.0.16

  1. XAccountUser is now passed between tolvenAPI and tolvenWeb instead of AccountUser

Version 2.0.15

  1. XAccountUser and XFacadeAccountUser are now passed between tolvenAPI and tolvenWeb instead of AccountUser

Version 2.0.14

  1. Session is now invalidated via the SSO session as opposed to the HttpSession
  2. Vestibule processing code clarified

Version 2.0.13

  1. Fixed NullPointerException when inviting user to account

Version 2.0.12

  1. When a TolvenPerson is invited to an account, their TolvenUser is immediately activated

Version 2.0.11

  1. Users are now activated (TovenUser created), when they first login into Tolven, as per version V0

Version Notes

Version 0.0.6

  • Refactor (again). This code is restful but not specific to jersey.
  • Add trim resources

Version 0.0.5

  • Refactor modules as guest, user, account, and application
  • Add application/list and application/item queries
  • Add application/describe (column definition) query
  • Add document resources (header, payload, signature)
  • Add document submit
  • Add data generator

Version 0.0.4

  • Add guest/millisecond resource.

Version 0.0.3

  • Split up modules to guest, user, and account resources.
  • Add preemptive login

Version 0.0.2

Various updates including the ability to login programatically. Still not ready for use.

Version 0.0.1

  • Initial checkin - very preliminary test. Not ready for real use.
Personal tools