Skip to content
Permalink
Browse files

First build with Wordpress and Sentrifugo added to the demo/grouper

  • Loading branch information
ethan committed Dec 17, 2019
1 parent 6dd9ae3 commit 6f55408d6918a3ce9d46a4c3d7d83ac46b903bce
Showing with 3,056 additions and 0 deletions.
  1. BIN ...per/midpoint_server/container_files/mp-home/icf-connectors/connector-amqp-import-0.4-SNAPSHOT.jar
  2. BIN ...dpoint_server/container_files/mp-home/icf-connectors/connector-federation-manager-.3-SNAPSHOT.jar
  3. BIN .../midpoint_server/container_files/mp-home/icf-connectors/connector-rest-wordpress-.23-SNAPSHOT.jar
  4. +88 −0 ...rver/container_files/mp-home/post-initial-objects/objectTemplates/template-user-generate-name.xml
  5. +516 −0 demo/grouper/midpoint_server/container_files/mp-home/post-initial-objects/resources/amqp-import.xml
  6. +485 −0 .../container_files/mp-home/post-initial-objects/resources/connector-federation-manager-entities.xml
  7. +395 −0 ...nt_server/container_files/mp-home/post-initial-objects/resources/connector-federation-manager.xml
  8. +421 −0 ...dpoint_server/container_files/mp-home/post-initial-objects/resources/connector-rest-wordpress.xml
  9. +62 −0 demo/grouper/midpoint_server/container_files/mp-home/post-initial-objects/roles/role-editor.xml
  10. +62 −0 demo/grouper/midpoint_server/container_files/mp-home/post-initial-objects/roles/role-subscriber.xml
  11. +426 −0 demo/grouper/midpoint_server/container_files/mp-home/post-initial-objects/tasks/amqp-import-task.xml
  12. +1 −0 demo/grouper/mq/container_files/etc-rabbitmq/rabbitmq.conf
  13. +215 −0 demo/grouper/mq/container_files/etc-rabbitmq/rabbitmq.json
  14. +14 −0 demo/grouper/sentrifugo_data/Dockerfile
  15. +41 −0 demo/grouper/sentrifugo_server/000-default.conf
  16. +79 −0 demo/grouper/sentrifugo_server/Dockerfile
  17. +23 −0 demo/grouper/sentrifugo_server/README
  18. +4 −0 demo/grouper/sentrifugo_server/application_constants.php
  19. +1 −0 demo/grouper/sentrifugo_server/banderson.sql
  20. +10 −0 demo/grouper/sentrifugo_server/email.sql
  21. +26 −0 demo/grouper/sentrifugo_server/entrypoint.sh
  22. +8 −0 demo/grouper/sentrifugo_server/mail_settings_constants.php
  23. +14 −0 demo/grouper/sentrifugo_server/sentrifugo_data/Dockerfile
  24. +1 −0 demo/grouper/sentrifugo_server/step3.sql
  25. +2 −0 demo/grouper/sentrifugo_server/step4.sql
  26. +15 −0 demo/grouper/sentrifugo_server/step5.sql
  27. +8 −0 demo/grouper/sentrifugo_server/trigger.sql
  28. +7 −0 demo/grouper/sentrifugo_server/trigger.sql.2019--5-14
  29. +5 −0 demo/grouper/sentrifugo_server/trigger2.sql
  30. +5 −0 demo/grouper/sentrifugo_server/trigger3.sql
  31. +15 −0 demo/grouper/wordpress_data/Dockerfile
  32. +45 −0 demo/grouper/wordpress_server/Dockerfile
  33. +32 −0 demo/grouper/wordpress_server/container_files/wordpress/000-default.conf
  34. +3 −0 demo/grouper/wordpress_server/container_files/wordpress/config.yml
  35. +9 −0 demo/grouper/wordpress_server/container_files/wordpress/sed.sh
  36. BIN demo/grouper/wordpress_server/container_files/wordpress/wp
  37. +3 −0 demo/grouper/wordpress_server/container_files/wordpress/wp-cli.yml
  38. +15 −0 demo/grouper/wordpress_server/wordpress_data/Dockerfile
Binary file not shown.
Binary file not shown.
Binary file not shown.
@@ -0,0 +1,88 @@
<?xml version="1.0" encoding="UTF-8"?>
<objects xmlns="http://midpoint.evolveum.com/xml/ns/public/common/common-3"
xmlns:c="http://midpoint.evolveum.com/xml/ns/public/common/common-3"
xmlns:org="http://midpoint.evolveum.com/xml/ns/public/common/org-3">
<objectTemplate xmlns="http://midpoint.evolveum.com/xml/ns/public/common/common-3" xmlns:c="http://midpoint.evolveum.com/xml/ns/public/common/common-3" xmlns:icfs="http://midpoint.evolveum.com/xml/ns/public/connector/icf-1/resource-schema-3" xmlns:org="http://midpoint.evolveum.com/xml/ns/public/common/org-3" xmlns:q="http://prism.evolveum.com/xml/ns/public/query-3" xmlns:ri="http://midpoint.evolveum.com/xml/ns/public/resource/instance-3" xmlns:t="http://prism.evolveum.com/xml/ns/public/types-3" oid="c0c010c0-d34d-b33f-f00d-777222222333" version="2">
<name>User Template Generate Name</name>
<description>
Alternative User Template Object.
This object is used when creating a new account, to set it
up as needed.
</description>
<metadata>
<requestTimestamp>2019-12-02T19:50:13.530Z</requestTimestamp>
<requestorRef oid="00000000-0000-0000-0000-000000000002" relation="org:default" type="c:UserType">
<!-- administrator -->
</requestorRef>
<createTimestamp>2019-12-02T19:50:13.544Z</createTimestamp>
<creatorRef oid="00000000-0000-0000-0000-000000000002" relation="org:default" type="c:UserType">
<!-- administrator -->
</creatorRef>
<createChannel>http://midpoint.evolveum.com/xml/ns/public/gui/channels-3#user</createChannel>
</metadata>
<iteration>0</iteration>
<iterationToken/>
<iterationSpecification>
<maxIterations>1000</maxIterations>
<tokenExpression>
<script xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:c="http://midpoint.evolveum.com/xml/ns/public/common/common-3" xsi:type="c:ScriptExpressionEvaluatorType">
<code>
if (iteration == 0) {
return "";
} else {
return ""+iteration;
}
</code>
</script>
</tokenExpression>
</iterationSpecification>
<mapping id="1">
<description>
Property mapping.
Defines how properties of user object are set up.
This specific definition sets a full name as a concatenation
of givenName and familyName.
</description>
<strength>weak</strength>
<source>
<c:path>$user/givenName</c:path>
</source>
<source>
<c:path>$user/familyName</c:path>
</source>
<expression>
<script xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:c="http://midpoint.evolveum.com/xml/ns/public/common/common-3" xsi:type="c:ScriptExpressionEvaluatorType">
<language>http://midpoint.evolveum.com/xml/ns/public/expression/language#Groovy</language>
<code>
givenName + ' ' + familyName
</code>
</script>
</expression>
<target>
<c:path>fullName</c:path>
</target>
</mapping>
<mapping id="3">
<strength>weak</strength>
<source>
<c:path>givenName</c:path>
</source>
<source>
<c:path>familyName</c:path>
</source>
<expression>
<script xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:c="http://midpoint.evolveum.com/xml/ns/public/common/common-3" xsi:type="c:ScriptExpressionEvaluatorType">
<language>http://midpoint.evolveum.com/xml/ns/public/expression/language#Groovy</language>
<code>
def givenNameStr = ''+givenName
givenNameStr.substring(0,1) + '' + familyName + iterationToken
</code>
</script>
</expression>
<target>
<c:path>$user/name</c:path>
</target>
</mapping>
</objectTemplate>

</objects>

Large diffs are not rendered by default.

Large diffs are not rendered by default.

Large diffs are not rendered by default.

Large diffs are not rendered by default.

@@ -0,0 +1,62 @@
<role xmlns="http://midpoint.evolveum.com/xml/ns/public/common/common-3" xmlns:c="http://midpoint.evolveum.com/xml/ns/public/common/common-3" xmlns:icfs="http://midpoint.evolveum.com/xml/ns/public/connector/icf-1/resource-schema-3" xmlns:org="http://midpoint.evolveum.com/xml/ns/public/common/org-3" xmlns:q="http://prism.evolveum.com/xml/ns/public/query-3" xmlns:ri="http://midpoint.evolveum.com/xml/ns/public/resource/instance-3" xmlns:t="http://prism.evolveum.com/xml/ns/public/types-3" oid="9e5a82fc-7969-4fd8-9f74-e0857969cdbb">
<name>Editor</name>
<metadata>
<requestTimestamp>2019-03-29T17:20:56.643Z</requestTimestamp>
<requestorRef oid="00000000-0000-0000-0000-000000000002" relation="org:default" type="c:UserType">
<!-- administrator -->
</requestorRef>
<createTimestamp>2019-03-29T17:20:56.702Z</createTimestamp>
<creatorRef oid="00000000-0000-0000-0000-000000000002" relation="org:default" type="c:UserType">
<!-- administrator -->
</creatorRef>
<createChannel>http://midpoint.evolveum.com/xml/ns/public/gui/channels-3#user</createChannel>
</metadata>
<operationExecution id="1">
<timestamp>2019-03-29T17:20:56.764Z</timestamp>
<operation>
<objectDelta>
<t:changeType>add</t:changeType>
<t:objectType>c:RoleType</t:objectType>
</objectDelta>
<executionResult>
<operation>com.evolveum.midpoint.model.impl.lens.ChangeExecutor.executeDelta</operation>
<status>success</status>
<token>1000000000000003970</token>
</executionResult>
<objectName>Editor</objectName>
</operation>
<status>success</status>
<initiatorRef oid="00000000-0000-0000-0000-000000000002" relation="org:default" type="c:UserType">
<!-- administrator -->
</initiatorRef>
<channel>http://midpoint.evolveum.com/xml/ns/public/gui/channels-3#user</channel>
</operationExecution>
<activation>
<administrativeStatus>enabled</administrativeStatus>
<effectiveStatus>enabled</effectiveStatus>
<enableTimestamp>2019-03-29T17:20:56.652Z</enableTimestamp>
</activation>
<iteration>0</iteration>
<iterationToken/>
<displayName>Wordpress Editor</displayName>
<inducement id="2">
<construction>
<resourceRef oid="dd683dd5-b7b0-414c-a1d9-7039340ad70b" relation="org:default" type="c:ResourceType">
<!-- wordpress -->
</resourceRef>
<attribute id="3">
<c:ref>ri:roles</c:ref>
<outbound>
<strength>strong</strength>
<source>
<c:path>$containingObject/name</c:path>
</source>
<expression>
<value>editor</value>
</expression>
</outbound>
</attribute>
</construction>
</inducement>
</role>

@@ -0,0 +1,62 @@
<role xmlns="http://midpoint.evolveum.com/xml/ns/public/common/common-3" xmlns:c="http://midpoint.evolveum.com/xml/ns/public/common/common-3" xmlns:icfs="http://midpoint.evolveum.com/xml/ns/public/connector/icf-1/resource-schema-3" xmlns:org="http://midpoint.evolveum.com/xml/ns/public/common/org-3" xmlns:q="http://prism.evolveum.com/xml/ns/public/query-3" xmlns:ri="http://midpoint.evolveum.com/xml/ns/public/resource/instance-3" xmlns:t="http://prism.evolveum.com/xml/ns/public/types-3" oid="422d70bc-90b5-4a72-98fc-71f552202e9c" version="6">
<name>Subscriber</name>
<metadata>
<requestTimestamp>2019-03-29T17:20:56.643Z</requestTimestamp>
<requestorRef oid="00000000-0000-0000-0000-000000000002" relation="org:default" type="c:UserType">
<!-- administrator -->
</requestorRef>
<createTimestamp>2019-03-29T17:20:56.702Z</createTimestamp>
<creatorRef oid="00000000-0000-0000-0000-000000000002" relation="org:default" type="c:UserType">
<!-- administrator -->
</creatorRef>
<createChannel>http://midpoint.evolveum.com/xml/ns/public/gui/channels-3#user</createChannel>
</metadata>
<operationExecution id="1">
<timestamp>2019-03-29T17:20:56.764Z</timestamp>
<operation>
<objectDelta>
<t:changeType>add</t:changeType>
<t:objectType>c:RoleType</t:objectType>
</objectDelta>
<executionResult>
<operation>com.evolveum.midpoint.model.impl.lens.ChangeExecutor.executeDelta</operation>
<status>success</status>
<token>1000000000000003970</token>
</executionResult>
<objectName>Subscriber</objectName>
</operation>
<status>success</status>
<initiatorRef oid="00000000-0000-0000-0000-000000000002" relation="org:default" type="c:UserType">
<!-- administrator -->
</initiatorRef>
<channel>http://midpoint.evolveum.com/xml/ns/public/gui/channels-3#user</channel>
</operationExecution>
<activation>
<administrativeStatus>enabled</administrativeStatus>
<effectiveStatus>enabled</effectiveStatus>
<enableTimestamp>2019-03-29T17:20:56.652Z</enableTimestamp>
</activation>
<iteration>0</iteration>
<iterationToken/>
<displayName>Wordpress Subscriber</displayName>
<inducement id="2">
<construction>
<resourceRef oid="dd683dd5-b7b0-414c-a1d9-7039340ad70b" relation="org:default" type="c:ResourceType">
<!-- wordpress -->
</resourceRef>
<attribute id="3">
<c:ref>ri:roles</c:ref>
<outbound>
<strength>strong</strength>
<source>
<c:path>$containingObject/name</c:path>
</source>
<expression>
<value>subscriber</value>
</expression>
</outbound>
</attribute>
</construction>
</inducement>
</role>

0 comments on commit 6f55408

Please sign in to comment.
You can’t perform that action at this time.