Skip to content

Commit

Permalink
Merge pull request #18490 from AnjanaSamindraPerera/remove-workflow
Browse files Browse the repository at this point in the history
Remove workflow related components
  • Loading branch information
chamathns committed Dec 7, 2023
2 parents d609b51 + 4cc9c9f commit 3d90732
Show file tree
Hide file tree
Showing 9 changed files with 14 additions and 181 deletions.
12 changes: 0 additions & 12 deletions modules/api-resources/api-resources-full/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -117,14 +117,6 @@
<groupId>org.wso2.carbon.identity.user.api</groupId>
<artifactId>org.wso2.carbon.identity.rest.api.user.authorized.apps.v2</artifactId>
</dependency>
<dependency>
<groupId>org.wso2.carbon.identity.user.api</groupId>
<artifactId>org.wso2.carbon.identity.rest.api.user.approval.v1</artifactId>
</dependency>
<dependency>
<groupId>org.wso2.carbon.identity.user.api</groupId>
<artifactId>org.wso2.carbon.identity.api.user.approval.common</artifactId>
</dependency>
<dependency>
<groupId>org.wso2.carbon.identity.user.api</groupId>
<artifactId>org.wso2.carbon.identity.rest.api.user.fido2.v1</artifactId>
Expand Down Expand Up @@ -260,10 +252,6 @@
<groupId>org.wso2.carbon.identity.server.api</groupId>
<artifactId>org.wso2.carbon.identity.api.server.claim.management.common</artifactId>
</dependency>
<dependency>
<groupId>org.wso2.carbon.identity.server.api</groupId>
<artifactId>org.wso2.carbon.identity.rest.api.server.workflow.engine.v1</artifactId>
</dependency>
<dependency>
<groupId>org.wso2.carbon.identity.server.api</groupId>
<artifactId>org.wso2.carbon.identity.api.server.permission.management.v1</artifactId>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,6 @@
xmlns:cxf="http://cxf.apache.org/core"
xsi:schemaLocation="http://www.springframework.org/schema/beans http://www.springframework.org/schema/beans/spring-beans-3.0.xsd http://www.springframework.org/schema/context http://www.springframework.org/schema/context/spring-context-3.0.xsd http://cxf.apache.org/jaxrs http://cxf.apache.org/schemas/jaxrs.xsd http://cxf.apache.org/core http://cxf.apache.org/schemas/core.xsd">
<import resource="classpath:META-INF/cxf/user-association-v1-cxf.xml"/>
<import resource="classpath:META-INF/cxf/user-approval-v1-cxf.xml"/>
<import resource="classpath:META-INF/cxf/authorized-apps-user-v1-cxf.xml"/>
<import resource="classpath:META-INF/cxf/authorized-apps-user-v2-cxf.xml"/>
<import resource="classpath:META-INF/cxf/session-user-v1-cxf.xml"/>
Expand Down Expand Up @@ -198,7 +197,6 @@
<jaxrs:server id="users" address="/users/v1">
<jaxrs:serviceBeans>
<bean class="org.wso2.carbon.identity.rest.api.user.application.v1.MeApi"/>
<bean class="org.wso2.carbon.identity.rest.api.user.approval.v1.MeApi"/>
<bean class="org.wso2.carbon.identity.rest.api.user.association.v1.MeApi"/>
<bean class="org.wso2.carbon.identity.rest.api.user.association.v1.UserIdApi"/>
<bean class="org.wso2.carbon.identity.rest.api.user.authorized.apps.v1.MeApi"/>
Expand Down Expand Up @@ -236,7 +234,6 @@
<jaxrs:server id="orgPerspectiveUsers" address="/o/users/v1">
<jaxrs:serviceBeans>
<bean class="org.wso2.carbon.identity.rest.api.user.application.v1.MeApi"/>
<bean class="org.wso2.carbon.identity.rest.api.user.approval.v1.MeApi"/>
<bean class="org.wso2.carbon.identity.rest.api.user.association.v1.MeApi"/>
<bean class="org.wso2.carbon.identity.rest.api.user.association.v1.UserIdApi"/>
<bean class="org.wso2.carbon.identity.rest.api.user.authorized.apps.v1.MeApi"/>
Expand Down
15 changes: 0 additions & 15 deletions modules/api-resources/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -78,16 +78,6 @@
<artifactId>org.wso2.carbon.identity.api.user.session.common</artifactId>
<version>${identity.user.api.version}</version>
</dependency>
<dependency>
<groupId>org.wso2.carbon.identity.user.api</groupId>
<artifactId>org.wso2.carbon.identity.rest.api.user.approval.v1</artifactId>
<version>${identity.user.api.version}</version>
</dependency>
<dependency>
<groupId>org.wso2.carbon.identity.user.api</groupId>
<artifactId>org.wso2.carbon.identity.api.user.approval.common</artifactId>
<version>${identity.user.api.version}</version>
</dependency>
<dependency>
<groupId>org.wso2.carbon.identity.user.api</groupId>
<artifactId>org.wso2.carbon.identity.api.user.application.common</artifactId>
Expand Down Expand Up @@ -156,11 +146,6 @@
<artifactId>org.wso2.carbon.identity.api.server.claim.management.common</artifactId>
<version>${identity.server.api.version}</version>
</dependency>
<dependency>
<groupId>org.wso2.carbon.identity.server.api</groupId>
<artifactId>org.wso2.carbon.identity.rest.api.server.workflow.engine.v1</artifactId>
<version>${identity.server.api.version}</version>
</dependency>

<dependency>
<groupId>org.wso2.carbon.identity.rest.dispatcher</groupId>
Expand Down
45 changes: 0 additions & 45 deletions modules/distribution/src/assembly/bin.xml
Original file line number Diff line number Diff line change
Expand Up @@ -428,10 +428,6 @@
<outputDirectory>${pom.artifactId}-${pom.version}/lib/</outputDirectory>
</fileSet>

<fileSet>
<directory>../p2-profile-gen/target/wso2carbon-core-${carbon.kernel.version}/dbscripts/bps</directory>
<outputDirectory>${pom.artifactId}-${pom.version}/dbscripts/bps</outputDirectory>
</fileSet>
<fileSet>
<directory>
../p2-profile-gen/target/wso2carbon-core-${carbon.kernel.version}/repository/conf/data-bridge
Expand Down Expand Up @@ -928,54 +924,13 @@
</source>
<outputDirectory>wso2is-${pom.version}/repository/conf/identity</outputDirectory>
</file>
<file>
<source>../p2-profile-gen/target/wso2carbon-core-${carbon.kernel.version}/repository/database/jpadb.mv.db
</source>
<outputDirectory>wso2is-${pom.version}/repository/database/</outputDirectory>
<fileMode>644</fileMode>
</file>
<file>
<source>
../p2-profile-gen/target/wso2carbon-core-${carbon.kernel.version}/repository/conf/datasources/bps-datasources.xml
</source>
<outputDirectory>wso2is-${pom.version}/repository/conf/datasources/</outputDirectory>
<fileMode>644</fileMode>
</file>
<file>
<source>
../p2-profile-gen/target/wso2carbon-core-${carbon.kernel.version}/repository/conf/b4p-coordination-config.xml
</source>
<outputDirectory>wso2is-${pom.version}/repository/conf/</outputDirectory>
<fileMode>644</fileMode>
</file>

<file>
<source>../p2-profile-gen/target/wso2carbon-core-${carbon.kernel.version}/repository/conf/humantask.xml
</source>
<outputDirectory>wso2is-${pom.version}/repository/conf/</outputDirectory>
<fileMode>644</fileMode>
</file>
<file>
<source>
../p2-profile-gen/target/wso2carbon-core-${carbon.kernel.version}/repository/conf/output-event-adapters.xml
</source>
<outputDirectory>wso2is-${pom.version}/repository/conf/</outputDirectory>
<fileMode>644</fileMode>
</file>
<file>
<source>
../p2-profile-gen/target/wso2carbon-core-${carbon.kernel.version}/repository/conf/attachment-management.xml
</source>
<outputDirectory>wso2is-${pom.version}/repository/conf/</outputDirectory>
<fileMode>644</fileMode>
</file>
<!-- This is temporary replace bps.xml file (that is copied by feature) by local copy of the file until BPS team fix and release one of issue with bps.xml -->
<file>
<source>
conf/bps/bps.xml
</source>
<outputDirectory>wso2is-${pom.version}/repository/conf/</outputDirectory>
</file>
<file>
<source>
../p2-profile-gen/target/wso2carbon-core-${carbon.kernel.version}/repository/conf/identity/oidc-scope-config.xml
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -186,7 +186,6 @@ org.wso2.carbon.databridge.commons.thrift_*.jar,\
org.apache.felix.gogo.shell_*.jar,\
org.wso2.carbon.identity.rest.api.user.fido2.v1-*.jar,\
org.wso2.carbon.identity.api.user.fido2.common-*.jar,\
org.wso2.carbon.identity.rest.api.server.workflow.engine.*.jar,\
pax-logging-api-*.jar,\
hibernate-validator-*.jar,\
shiro-web-*.jar,\
Expand Down
7 changes: 7 additions & 0 deletions modules/integration/tests-common/admin-clients/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -112,14 +112,21 @@
<groupId>org.wso2.carbon.identity.association.account</groupId>
<artifactId>org.wso2.carbon.identity.user.account.association.stub</artifactId>
</dependency>

<!-- Using the previous stub version for compilation due to deprecation of the workflow feature in IS 7.0.0 and onwards -->
<dependency>
<groupId>org.wso2.carbon.identity.framework</groupId>
<artifactId>org.wso2.carbon.identity.workflow.mgt.stub</artifactId>
<version>5.25.547</version>
<scope>compile</scope>
</dependency>
<dependency>
<groupId>org.wso2.carbon.identity.workflow.impl.bps</groupId>
<artifactId>org.wso2.carbon.identity.workflow.impl.stub</artifactId>
<version>5.5.5</version>
<scope>compile</scope>
</dependency>

<dependency>
<groupId>org.wso2.carbon.deployment</groupId>
<artifactId>org.wso2.carbon.service.mgt.stub</artifactId>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -146,7 +146,8 @@
<!--<class name="org.wso2.identity.integration.test.rest.api.user.challenge.v1.UserMeNegativeTest"/>-->
<class name="org.wso2.identity.integration.test.rest.api.user.association.v1.UserMeSuccessTestBase"/>
<class name="org.wso2.identity.integration.test.rest.api.user.association.v1.UserMeNegativeTestBase"/>
<class name="org.wso2.identity.integration.test.rest.api.user.approval.v1.UserMeApprovalTest"/>
<!--Disabling since the workflow is provided as a connector and it does not exist in the product by default.-->
<!--<class name="org.wso2.identity.integration.test.rest.api.user.approval.v1.UserMeApprovalTest"/>-->
<class name="org.wso2.identity.integration.test.rest.api.user.authorized.apps.v1.MeAuthorizedAppsNegativeTest"/>
<class name="org.wso2.identity.integration.test.rest.api.user.authorized.apps.v1.MeAuthorizedAppsSuccessTest"/>
<class name="org.wso2.identity.integration.test.rest.api.user.authorized.apps.v2.MeAuthorizedAppsSuccessTest"/>
Expand Down Expand Up @@ -276,7 +277,8 @@
<!--TODO: Temporary disabled ConditionalAuthenticationTestCase. Enable after fixing the issues. -->
<!--<class name="org.wso2.identity.integration.test.auth.ConditionalAuthenticationTestCase" />-->
<class name="org.wso2.identity.integration.test.provisioning.ProvisioningTestCase"/>
<class name="org.wso2.identity.integration.test.workflow.mgt.WorkflowManagementTestCase"/>
<!--Disabling since the workflow is provided as a connector and it does not exist in the product by default.-->
<!--<class name="org.wso2.identity.integration.test.workflow.mgt.WorkflowManagementTestCase"/>-->
<class name="org.wso2.identity.integration.test.oidc.OIDCIdentityFederationTestCase"/>
<class name="org.wso2.identity.integration.test.provisioning.JustInTimeProvisioningTestCase"/>
<class name="org.wso2.identity.integration.test.oidc.OIDCFederatedIdpInitLogoutTest"/>
Expand Down
63 changes: 0 additions & 63 deletions modules/p2-profile-gen/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -374,34 +374,6 @@
<featureArtifactDef>
org.wso2.ciphertool:org.wso2.ciphertool.feature:${cipher-tool.version}
</featureArtifactDef>

<!-- Workflow mgt Feature -->
<featureArtifactDef>
org.wso2.carbon.identity.framework:org.wso2.carbon.identity.workflow.mgt.feature:${carbon.identity.framework.version}
</featureArtifactDef>
<featureArtifactDef>
org.wso2.carbon.identity.workflow.user:org.wso2.carbon.user.mgt.workflow.feature:${identity.user.workflow.version}
</featureArtifactDef>
<featureArtifactDef>
org.wso2.carbon.identity.workflow.impl.bps:org.wso2.carbon.identity.workflow.impl.feature:${identity.workflow.impl.bps.version}
</featureArtifactDef>
<featureArtifactDef>
org.wso2.carbon.identity.workflow.template.multisteps:org.wso2.carbon.identity.workflow.template.server.feature:${identity.workflow.template.multisteps.version}
</featureArtifactDef>

<!--BPEL and HumanTask features -->
<featureArtifactDef>
org.wso2.carbon.business-process:org.wso2.carbon.bpel.server.feature:${carbon.business-process.version}
</featureArtifactDef>
<featureArtifactDef>
org.wso2.carbon.business-process:org.wso2.carbon.humantask.server.feature:${carbon.business-process.version}
</featureArtifactDef>
<featureArtifactDef>
org.wso2.carbon.business-process:org.wso2.carbon.attachment.mgt.feature:${carbon.business-process.version}
</featureArtifactDef>
<featureArtifactDef>
org.wso2.carbon.business-process:org.wso2.carbon.unifiedendpoint.server.feature:${carbon.business-process.version}
</featureArtifactDef>
<featureArtifactDef>
org.wso2.carbon.analytics-common:org.wso2.carbon.event.output.adapter.server.feature:${carbon.analytics-common.version}
</featureArtifactDef>
Expand Down Expand Up @@ -973,41 +945,6 @@
<id>org.wso2.carbon.identity.user.account.association.feature.group</id>
<version>${identity.user.account.association.version}</version>
</feature>
<feature>
<id>org.wso2.carbon.identity.workflow.mgt.feature.group</id>
<version>${carbon.identity.framework.version}</version>
</feature>
<feature>
<id>org.wso2.carbon.identity.workflow.impl.feature.group</id>
<version>${identity.workflow.impl.bps.version}</version>
</feature>
<feature>
<id>org.wso2.carbon.identity.workflow.template.server.feature.group</id>
<version>${identity.workflow.template.multisteps.version}</version>
</feature>

<feature>
<id>org.wso2.carbon.user.mgt.workflow.feature.group</id>
<version>${identity.user.workflow.version}</version>
</feature>

<!--BPEL and HumanTask features -->
<feature>
<id>org.wso2.carbon.bpel.server.feature.group</id>
<version>${carbon.business-process.version}</version>
</feature>
<feature>
<id>org.wso2.carbon.humantask.server.feature.group</id>
<version>${carbon.business-process.version}</version>
</feature>
<feature>
<id>org.wso2.carbon.attachment.mgt.feature.group</id>
<version>${carbon.business-process.version}</version>
</feature>
<feature>
<id>org.wso2.carbon.unifiedendpoint.server.feature.group</id>
<version>${carbon.business-process.version}</version>
</feature>
<feature>
<id>org.wso2.carbon.event.output.adapter.server.feature.group</id>
<version>${carbon.analytics-common.version}</version>
Expand Down
Loading

0 comments on commit 3d90732

Please sign in to comment.