Skip to content

Commit

Permalink
Finish demo/complex2
Browse files Browse the repository at this point in the history
  • Loading branch information
mederly committed Apr 4, 2019
1 parent 9f94b75 commit ee13824
Show file tree
Hide file tree
Showing 3 changed files with 24 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,17 @@
<xsd:element name="grouperGroup" type="xsd:string" minOccurs="0" maxOccurs="unbounded"/>
<xsd:element name="rawAffiliation" type="xsd:string" minOccurs="0" maxOccurs="unbounded"/>
</xsd:sequence>
</xsd:complexType>

<xsd:complexType name="OrgExtensionType">
<xsd:annotation>
<xsd:appinfo>
<a:extension ref="c:OrgType"/>
</xsd:appinfo>
</xsd:annotation>
<xsd:sequence>
<xsd:element name="grouperName" type="xsd:string" minOccurs="0"/>
</xsd:sequence>
</xsd:complexType>
</xsd:schema>

4 changes: 2 additions & 2 deletions demo/complex2/add-ref-groups.gsh
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ def supergroup = GroupFinder.findByName(gs, "etc:midpointGroups", true)
def cs = GroupFinder.findByName(gs, "app:cs", true)

addGroups(gs, StemFinder.findByName(gs, 'ref:affiliation'), supergroup, null)
//addGroups(gs, StemFinder.findByName(gs, 'ref:dept'), null)
//addGroups(gs, StemFinder.findByName(gs, 'ref:course'), null)
addGroups(gs, StemFinder.findByName(gs, 'ref:dept'), supergroup, null)
addGroups(gs, StemFinder.findByName(gs, 'ref:course'), supergroup, null)

addGroups(gs, StemFinder.findByName(gs, 'ref:course'), cs, /CS.*/)
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,17 @@
<xsd:element name="grouperGroup" type="xsd:string" minOccurs="0" maxOccurs="unbounded"/>
<xsd:element name="rawAffiliation" type="xsd:string" minOccurs="0" maxOccurs="unbounded"/>
</xsd:sequence>
</xsd:complexType>

<xsd:complexType name="OrgExtensionType">
<xsd:annotation>
<xsd:appinfo>
<a:extension ref="c:OrgType"/>
</xsd:appinfo>
</xsd:annotation>
<xsd:sequence>
<xsd:element name="grouperName" type="xsd:string" minOccurs="0"/>
</xsd:sequence>
</xsd:complexType>
</xsd:schema>

0 comments on commit ee13824

Please sign in to comment.