Skip to content

Commit

Permalink
fix: Cleanup Event definition - Meeds-io/MIPs#64 (#91)
Browse files Browse the repository at this point in the history
This change will delete usage of RuleRegistry service which has been deleted.
  • Loading branch information
boubaker authored and exo-swf committed Sep 25, 2023
1 parent 966a90f commit a430ff5
Show file tree
Hide file tree
Showing 4 changed files with 6,480 additions and 9,220 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@
<property name="jobName" value="GitHubWebHookForceUpdate"/>
<property name="groupName" value="Gamification"/>
<property name="job" value="org.exoplatform.gamification.github.scheduled.GitHubWebHookForceUpdate"/>
<property name="expression" value="${io.meeds.gamification.GitHubWebHookForceUpdate.expression:0 * * * *}"/><!-- Every hour -->
<property name="expression" value="${io.meeds.gamification.GitHubWebHookForceUpdate.expression:0 0 * ? * * *}"/><!-- Every hour -->
</properties-param>
</init-params>
</component-plugin>
Expand Down Expand Up @@ -98,11 +98,6 @@
<set-method>addPlugin</set-method>
<type>org.exoplatform.gamification.github.plugin.CommentTriggerPlugin</type>
</component-plugin>
<component-plugin>
<name>issue_comment</name>
<set-method>addPlugin</set-method>
<type>org.exoplatform.gamification.github.plugin.CommentTriggerPlugin</type>
</component-plugin>
</external-component-plugins>

<import>jar:/conf/portal/gamification-github-connector-configuration.xml</import>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -20,65 +20,6 @@
xsi:schemaLocation="http://www.exoplatform.org/xml/ns/kernel_1_2.xsd http://www.exoplatform.org/xml/ns/kernel_1_2.xsd"
xmlns="http://www.exoplatform.org/xml/ns/kernel_1_2.xsd">

<external-component-plugins>
<target-component>io.meeds.gamification.service.RuleRegistry</target-component>
<component-plugin>
<name>rule.PushCode</name>
<set-method>addPlugin</set-method>
<type>io.meeds.gamification.plugin.RuleConfigPlugin</type>
<init-params>
<value-param>
<name>rule-event</name>
<value>pushCode</value>
</value-param>
</init-params>
</component-plugin>
<component-plugin>
<name>rule.CreatPullRequest</name>
<set-method>addPlugin</set-method>
<type>io.meeds.gamification.plugin.RuleConfigPlugin</type>
<init-params>
<value-param>
<name>rule-event</name>
<value>creatPullRequest</value>
</value-param>
</init-params>
</component-plugin>
<component-plugin>
<name>rule.ReviewPullRequest</name>
<set-method>addPlugin</set-method>
<type>io.meeds.gamification.plugin.RuleConfigPlugin</type>
<init-params>
<value-param>
<name>rule-event</name>
<value>reviewPullRequest</value>
</value-param>
</init-params>
</component-plugin>
<component-plugin>
<name>rule.CommentPullRequest</name>
<set-method>addPlugin</set-method>
<type>io.meeds.gamification.plugin.RuleConfigPlugin</type>
<init-params>
<value-param>
<name>rule-event</name>
<value>commentPullRequest</value>
</value-param>
</init-params>
</component-plugin>
<component-plugin>
<name>rule.PullRequestValidated</name>
<set-method>addPlugin</set-method>
<type>io.meeds.gamification.plugin.RuleConfigPlugin</type>
<init-params>
<value-param>
<name>rule-event</name>
<value>pullRequestValidated</value>
</value-param>
</init-params>
</component-plugin>
</external-component-plugins>

<external-component-plugins>
<target-component>io.meeds.gamification.service.EventRegistry</target-component>
<component-plugin>
Expand Down Expand Up @@ -311,10 +252,8 @@
</value-param>
</init-params>
</component-plugin>

</external-component-plugins>


<external-component-plugins>
<target-component>io.meeds.gamification.service.BadgeRegistry</target-component>
<component-plugin>
Expand Down
Loading

0 comments on commit a430ff5

Please sign in to comment.