Using the SDS from Wise
Creating a runnable SAIL offering from scratch.
This describes the steps neccessary to support running a SAIL-based PAS project from the Wise portal using the Sail Data Services (SDS). In it I assume that a SDS portal realm has already been created for the Wise project. In all of the following cases the when the SDS resources are created make sure and save the SDS id value for that resource in the associated Wise database table. This will allow you to determine later if the resource already exists. In addition save the associated Wise id in the <portal-token> element in the associated SDS resource. This allows the SDS to supply this information to the PLR in the session config.
1. Add a curnit and a jnlp to a Wise Project and create them in the SDS.
A project author will specify a url for a curnit and a url for a jnlp for running the project in PAS:
2. Create an offering in the SDS based on the curnit and jnlp created for the asscoiated Wise Run project.
If a project author has already specified a curnit and jnlp for a Wise Project then Wise has all of the information needed to create an SDS offering: Create a new SDS offering for a portal
3. Add the Wise users in the Run to the SDS if they don't already exist.
All the Wise users in the Run must be added to the SDS if they don't already exist: Create a new SDS user for a portal
4. Add the Wise Group to the SDS if it has changed or doesn't already exist.
All the Wise Groups in the Run must be added to the SDS as workgroups if they don't already exist. SDS workgroups are created in two steps:
Once an SDS workgroup has been created then create the workgroup membership. If at a later time teh membership of the associated Wise Group has changed just create a new membership for the SDS workgroup. These workgroup updates are kept track of internally by the SDS as workgroup versions.
5. Render the jnlp for the Group and Run using the SDS offering and workgroup ids.
At this point Wise has enough information to render a Java jnlp for a logged-in user: Producing a Java Webstart JNLP file
Archived Notes.
Scenarios
Tools
http://www.gentleware.org/webstart2/Poseidon.jnlp - jnlp to run Poseidon Community edition