Skip to Content.
Sympa Menu

grouper-dev - RE: [grouper-dev] export screen

Subject: Grouper Developers Forum

List archive

RE: [grouper-dev] export screen


Chronological Thread 
  • From: Chris Hyzer <>
  • To: "GW Brown, Information Systems and Computing" <>, "" <>
  • Subject: RE: [grouper-dev] export screen
  • Date: Tue, 11 Dec 2007 15:47:14 -0500
  • Accept-language: en-US
  • Acceptlanguage: en-US

Looks good Gary. Below are a screenshot and resulting XML in case people
aren't up and running...

Kind regards,
Chris


<?xml version="1.0" encoding="UTF-8"?>
<registry>
<metadata>
<groupTypesMetaData>
<groupTypeDef name='base'>
<field name='admins'
required='false'
type='access'
readPriv='admin'
writePriv='admin'
/>
<field name='description'
required='false'
type='attribute'
readPriv='read'
writePriv='admin'
/>
<field name='displayExtension'
required='true'
type='attribute'
readPriv='view'
writePriv='admin'
/>
<field name='displayName'
required='true'
type='attribute'
readPriv='view'
writePriv='system'
/>
<field name='extension'
required='true'
type='attribute'
readPriv='view'
writePriv='admin'
/>
<field name='members'
required='false'
type='list'
readPriv='read'
writePriv='update'
/>
<field name='name'
required='true'
type='attribute'
readPriv='view'
writePriv='system'
/>
<field name='optins'
required='false'
type='access'
readPriv='update'
writePriv='update'
/>
<field name='optouts'
required='false'
type='access'
readPriv='update'
writePriv='update'
/>
<field name='readers'
required='false'
type='access'
readPriv='admin'
writePriv='admin'
/>
<field name='updaters'
required='false'
type='access'
readPriv='admin'
writePriv='admin'
/>
<field name='viewers'
required='false'
type='access'
readPriv='admin'
writePriv='admin'
/>
</groupTypeDef>
</groupTypesMetaData>

<subjectSourceMetaData>
<source id='qsuob'
name='QSUOB JDBC Source Adapter'
class='edu.internet2.middleware.subject.provider.JDBCSourceAdapter'
>
<subjectType name='person'/>
</source>
<source id='g:gsa'
name='Grouper: Group Source Adapter'
class='edu.internet2.middleware.grouper.GrouperSourceAdapter'
>
<subjectType name='group'/>
</source>
<source id='g:isa'
name='Grouper: Internal Source Adapter'
class='edu.internet2.middleware.grouper.InternalSourceAdapter'
>
<subjectType name='application'/>
</source>
</subjectSourceMetaData>
</metadata>
<data>

<!-- 'aStem' -->
<stem extension='aStem'
displayExtension='a stem'
name='aStem'
displayName='a stem'
id='c5cdc0c4-04a8-47ac-931e-951b4eb44502'
>
<description>a stem</description>

<!-- 'aStem:aGroup' -->
<group extension='aGroup'
displayExtension='aGroup'
name='aStem:aGroup'
displayName='a stem:aGroup'
id='19284537-6118-44b2-bbbc-d5757c709cb7'
>
<description>aGroup</description>
<internalAttributes>
<internalAttribute name='parentStem'>aStem</internalAttribute>
<internalAttribute name='createSubject'>
<subject id='GrouperSystem' type='application' source='g:isa'/>
</internalAttribute>
<internalAttribute
name='createTime'>1194646074503</internalAttribute> <!-- Fri Nov 09 17:07:54
EST 2007 -->
<internalAttribute name='modifySubject'>
<subject id='GrouperSystem' type='application' source='g:isa'/>
</internalAttribute>
<internalAttribute
name='modifyTime'>1194646075191</internalAttribute> <!-- Fri Nov 09 17:07:55
EST 2007 -->
</internalAttributes>


<privileges type='admin'>
</privileges> <!-- admin -->

<privileges type='update'>
</privileges> <!-- update -->

<privileges type='read'>
<subject id='GrouperAll' type='application' source='g:isa' immediate=
'true'
/>

</privileges> <!-- read -->

<privileges type='view'>
<subject id='GrouperAll' type='application' source='g:isa' immediate=
'true'
/>

</privileges> <!-- view -->

<privileges type='optin'>
</privileges> <!-- optin -->

<privileges type='optout'>
</privileges> <!-- optout -->
</group>
<!-- 'aStem:aGroup' -->

</stem>
<!-- 'aStem' -->

</data>
<exportParams>
<node type='group'>aStem:aGroup</node>
<relative>false</relative>
</exportParams>

<exportInfo>
<start>Tue Dec 11 15:26:51 EST 2007</start>
<end>Tue Dec 11 15:26:52 EST 2007</end>
<duration>0</duration>
<options>
<option key='export.data'>true</option>
<option key='export.group.custom-attributes'>true</option>
<option key='export.group.internal-attributes'>true</option>
<option key='export.group.lists'>false</option>
<option key='export.group.lists.immediate-only'>true</option>
<option key='export.group.members'>false</option>
<option key='export.group.members.immediate-only'>false</option>
<option key='export.metadata'>true</option>
<option key='export.privs.access'>true</option>
<option key='export.privs.for-parents'>false</option>
<option key='export.privs.immediate-only'>false</option>
<option key='export.privs.naming'>true</option>
<option key='export.stem.internal-attributes'>true</option>
</options>
</exportInfo>
</registry>


-----Original Message-----
From: GW Brown, Information Systems and Computing
[mailto:]
Sent: Tuesday, December 11, 2007 6:40 AM
To: Chris Hyzer;

Subject: Re: [grouper-dev] Web services prototype done

The attached tar, if extracted in the grouper-ui folder and the UI rebuilt,
makes available a /grouper/exportXml.do action. This presents a form with
various options which is effectively an interface onto the current Grouper
Xml export functionality. Be aware that you could export your whole
repository - which you probably don't want to do, so experiment in a stem
with relatively few children first...

I've thought about doing something like this in the past, but I've done it
now just to (hopefully) help discussions around webservices. The feature is
REST like, but I'm not particularly advocating we use this approach or the
resulting format. This feature may be useful when talking about formats,
range of options, whether there should be a relationship between current Xml
import/export functionality and webservices, etc.

The underlying XmlExporter class uses the Grouper API, so the responsiveness
of the new action may reflect what we can expect from other webservice
approaches - though I haven't done any profiling to see if there is any extra
overhead due to this approach.

Gary


Attachment: grouperExportScreen.gif
Description: grouperExportScreen.gif




Archive powered by MHonArc 2.6.16.

Top of Page