Skip to content

Commit

Permalink
improve matching rule in SAP samples
Browse files Browse the repository at this point in the history
  • Loading branch information
gpalos committed May 11, 2016
1 parent 49a0f7b commit f556cef
Show file tree
Hide file tree
Showing 3 changed files with 27 additions and 3 deletions.
10 changes: 9 additions & 1 deletion samples/resources/sap/assignment/sap-advanced.xml
Expand Up @@ -65,13 +65,20 @@
<limitations>
<minOccurs>0</minOccurs>
</limitations>
<matchingRule>mr:stringIgnoreCase</matchingRule>
<outbound>
<source>
<c:path>$user/name</c:path>
</source>
<expression>
<script>
<code>
return basic.uc(basic.stringify(name));
</code>
</script>
</expression>
</outbound>
<inbound>
<strength>weak</strength>
<target>
<c:path>$user/name</c:path>
</target>
Expand Down Expand Up @@ -506,6 +513,7 @@
<enabled>true</enabled>
<correlation>
<q:equal>
<q:matching>polyStringNorm</q:matching>
<q:path>c:name</q:path>
<expression>
<c:path>$account/attributes/icfs:name</c:path>
Expand Down
10 changes: 9 additions & 1 deletion samples/resources/sap/sap-advanced.xml
Expand Up @@ -50,13 +50,20 @@
<limitations>
<minOccurs>0</minOccurs>
</limitations>
<matchingRule>mr:stringIgnoreCase</matchingRule>
<outbound>
<source>
<c:path>$user/name</c:path>
</source>
<expression>
<script>
<code>
return basic.uc(basic.stringify(name));
</code>
</script>
</expression>
</outbound>
<inbound>
<strength>weak</strength>
<target>
<c:path>$user/name</c:path>
</target>
Expand Down Expand Up @@ -384,6 +391,7 @@
<enabled>true</enabled>
<correlation>
<q:equal>
<q:matching>polyStringNorm</q:matching>
<q:path>c:name</q:path>
<expression>
<c:path>$account/attributes/icfs:name</c:path>
Expand Down
10 changes: 9 additions & 1 deletion samples/resources/sap/sap-medium.xml
Expand Up @@ -50,13 +50,20 @@
<limitations>
<minOccurs>0</minOccurs>
</limitations>
<matchingRule>mr:stringIgnoreCase</matchingRule>
<outbound>
<source>
<c:path>$user/name</c:path>
</source>
<expression>
<script>
<code>
return basic.uc(basic.stringify(name));
</code>
</script>
</expression>
</outbound>
<inbound>
<strength>weak</strength>
<target>
<c:path>$user/name</c:path>
</target>
Expand Down Expand Up @@ -279,6 +286,7 @@
<enabled>true</enabled>
<correlation>
<q:equal>
<q:matching>polyStringNorm</q:matching>
<q:path>c:name</q:path>
<expression>
<c:path>$account/attributes/icfs:name</c:path>
Expand Down

0 comments on commit f556cef

Please sign in to comment.