Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
  • Loading branch information
rmsamitha committed Jan 9, 2025
2 parents 8b094d2 + f4e304c commit 6fae13f
Show file tree
Hide file tree
Showing 310 changed files with 964 additions and 541 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -4,11 +4,11 @@
<parent>
<artifactId>application-deployers</artifactId>
<groupId>org.wso2.carbon.mediation</groupId>
<version>4.7.221</version>
<version>4.7.224-SNAPSHOT</version>
</parent>
<modelVersion>4.0.0</modelVersion>
<artifactId>org.wso2.carbon.application.deployer.synapse</artifactId>
<version>4.7.221</version>
<version>4.7.224-SNAPSHOT</version>
<packaging>bundle</packaging>
<name>WSO2 Carbon - Synapse Application Deployer</name>
<description>Application Deployer for deploying Synapse artifacts</description>
Expand Down
2 changes: 1 addition & 1 deletion components/application-deployers/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
<parent>
<artifactId>carbon-mediation</artifactId>
<groupId>org.wso2.carbon.mediation</groupId>
<version>4.7.221</version>
<version>4.7.224-SNAPSHOT</version>
<relativePath>../../pom.xml</relativePath>
</parent>
<modelVersion>4.0.0</modelVersion>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
<parent>
<artifactId>application-mgt</artifactId>
<groupId>org.wso2.carbon.mediation</groupId>
<version>4.7.221</version>
<version>4.7.224-SNAPSHOT</version>
</parent>
<modelVersion>4.0.0</modelVersion>
<artifactId>org.wso2.carbon.application.mgt.synapse.ui</artifactId>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
<parent>
<artifactId>application-mgt</artifactId>
<groupId>org.wso2.carbon.mediation</groupId>
<version>4.7.221</version>
<version>4.7.224-SNAPSHOT</version>
</parent>
<modelVersion>4.0.0</modelVersion>
<artifactId>org.wso2.carbon.application.mgt.synapse</artifactId>
Expand Down
2 changes: 1 addition & 1 deletion components/application-mgt/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
<parent>
<artifactId>carbon-mediation</artifactId>
<groupId>org.wso2.carbon.mediation</groupId>
<version>4.7.221</version>
<version>4.7.224-SNAPSHOT</version>
<relativePath>../../pom.xml</relativePath>
</parent>
<modelVersion>4.0.0</modelVersion>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -19,12 +19,12 @@
<parent>
<groupId>org.wso2.carbon.mediation</groupId>
<artifactId>hl7</artifactId>
<version>4.7.221</version>
<version>4.7.224-SNAPSHOT</version>
</parent>

<modelVersion>4.0.0</modelVersion>
<artifactId>org.wso2.carbon.business.messaging.hl7.common</artifactId>
<version>4.7.221</version>
<version>4.7.224-SNAPSHOT</version>
<packaging>bundle</packaging>
<name>WSO2 Carbon - HL7 Business Messaging - Common</name>
<url>http://wso2.org</url>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -19,12 +19,12 @@
<parent>
<groupId>org.wso2.carbon.mediation</groupId>
<artifactId>hl7</artifactId>
<version>4.7.221</version>
<version>4.7.224-SNAPSHOT</version>
</parent>

<modelVersion>4.0.0</modelVersion>
<artifactId>org.wso2.carbon.business.messaging.hl7.message</artifactId>
<version>4.7.221</version>
<version>4.7.224-SNAPSHOT</version>
<packaging>bundle</packaging>
<name>WSO2 Carbon - HL7 Business Messaging - Message</name>
<url>http://wso2.org</url>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -19,11 +19,11 @@
<parent>
<groupId>org.wso2.carbon.mediation</groupId>
<artifactId>hl7</artifactId>
<version>4.7.221</version>
<version>4.7.224-SNAPSHOT</version>
</parent>

<modelVersion>4.0.0</modelVersion>
<version>4.7.221</version>
<version>4.7.224-SNAPSHOT</version>
<artifactId>org.wso2.carbon.business.messaging.hl7.samples</artifactId>
<packaging>bundle</packaging>
<name>WSO2 Carbon - HL7 Business Messaging - Samples</name>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@
<parent>
<groupId>org.wso2.carbon.mediation</groupId>
<artifactId>hl7</artifactId>
<version>4.7.221</version>
<version>4.7.224-SNAPSHOT</version>
</parent>

<modelVersion>4.0.0</modelVersion>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -19,11 +19,11 @@
<parent>
<groupId>org.wso2.carbon.mediation</groupId>
<artifactId>hl7</artifactId>
<version>4.7.221</version>
<version>4.7.224-SNAPSHOT</version>
</parent>

<modelVersion>4.0.0</modelVersion>
<version>4.7.221</version>
<version>4.7.224-SNAPSHOT</version>
<artifactId>org.wso2.carbon.business.messaging.hl7.store</artifactId>
<packaging>bundle</packaging>
<name>WSO2 Carbon - HL7 Business Messaging - Store</name>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -43,4 +43,10 @@ public void setId(int i) {
public String getId() {
return null;
}

@Override
public boolean reInitialize() {

return false;
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -43,4 +43,10 @@ public void setId(int i) {
public String getId() {
return null;
}
}

@Override
public boolean reInitialize() {

return false;
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -18,11 +18,11 @@
<parent>
<groupId>org.wso2.carbon.mediation</groupId>
<artifactId>hl7</artifactId>
<version>4.7.221</version>
<version>4.7.224-SNAPSHOT</version>
</parent>
<modelVersion>4.0.0</modelVersion>
<artifactId>org.wso2.carbon.business.messaging.hl7.transport</artifactId>
<version>4.7.221</version>
<version>4.7.224-SNAPSHOT</version>
<packaging>bundle</packaging>
<name>WSO2 Carbon - HL7 Business Messaging - Transport</name>
<url>http://wso2.org</url>
Expand Down
4 changes: 2 additions & 2 deletions components/business-adaptors/hl7/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -20,11 +20,11 @@
<parent>
<groupId>org.wso2.carbon.mediation</groupId>
<artifactId>business-adaptors</artifactId>
<version>4.7.221</version>
<version>4.7.224-SNAPSHOT</version>
</parent>

<modelVersion>4.0.0</modelVersion>
<version>4.7.221</version>
<version>4.7.224-SNAPSHOT</version>
<artifactId>hl7</artifactId>
<packaging>pom</packaging>
<name>WSO2 Carbon - HL7 Business Messaging Aggregator Module</name>
Expand Down
2 changes: 1 addition & 1 deletion components/business-adaptors/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@
<parent>
<groupId>org.wso2.carbon.mediation</groupId>
<artifactId>carbon-mediation</artifactId>
<version>4.7.221</version>
<version>4.7.224-SNAPSHOT</version>
<relativePath>../../pom.xml</relativePath>
</parent>

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -20,13 +20,13 @@
<parent>
<artifactId>carbon-mediation-startup</artifactId>
<groupId>org.wso2.carbon.mediation</groupId>
<version>4.7.221</version>
<version>4.7.224-SNAPSHOT</version>
<relativePath>../pom.xml</relativePath>
</parent>
<modelVersion>4.0.0</modelVersion>

<artifactId>org.wso2.carbon.mediation.startup</artifactId>
<version>4.7.221</version>
<version>4.7.224-SNAPSHOT</version>
<packaging>bundle</packaging>
<name>WSO2 Carbon - Carbon Mediation StartUp</name>
<description>Carbon StartUp</description>
Expand Down
2 changes: 1 addition & 1 deletion components/carbon-mediation-startup/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@
<parent>
<artifactId>carbon-mediation</artifactId>
<groupId>org.wso2.carbon.mediation</groupId>
<version>4.7.221</version>
<version>4.7.224-SNAPSHOT</version>
<relativePath>../../pom.xml</relativePath>
</parent>
<modelVersion>4.0.0</modelVersion>
Expand Down
2 changes: 1 addition & 1 deletion components/carbon-transports/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@
<parent>
<groupId>org.wso2.carbon.mediation</groupId>
<artifactId>carbon-mediation</artifactId>
<version>4.7.221</version>
<version>4.7.224-SNAPSHOT</version>
<relativePath>../../pom.xml</relativePath>
</parent>

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -18,11 +18,11 @@
<parent>
<groupId>org.wso2.carbon.mediation</groupId>
<artifactId>websocket</artifactId>
<version>4.7.221</version>
<version>4.7.224-SNAPSHOT</version>
</parent>
<modelVersion>4.0.0</modelVersion>
<artifactId>org.wso2.carbon.websocket.transport</artifactId>
<version>4.7.221</version>
<version>4.7.224-SNAPSHOT</version>
<packaging>bundle</packaging>
<name>WSO2 Carbon - Websocket Carbon Transport</name>
<url>http://wso2.org</url>
Expand Down
4 changes: 2 additions & 2 deletions components/carbon-transports/websocket/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -20,11 +20,11 @@
<parent>
<groupId>org.wso2.carbon.mediation</groupId>
<artifactId>carbon-transports</artifactId>
<version>4.7.221</version>
<version>4.7.224-SNAPSHOT</version>
</parent>

<modelVersion>4.0.0</modelVersion>
<version>4.7.221</version>
<version>4.7.224-SNAPSHOT</version>
<artifactId>websocket</artifactId>
<packaging>pom</packaging>
<name>WSO2 Carbon - Carbon Transports Module</name>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -19,12 +19,12 @@
<parent>
<groupId>org.wso2.carbon.mediation</groupId>
<artifactId>event-sink</artifactId>
<version>4.7.221</version>
<version>4.7.224-SNAPSHOT</version>
</parent>

<modelVersion>4.0.0</modelVersion>
<artifactId>org.wso2.carbon.event.sink.config</artifactId>
<version>4.7.221</version>
<version>4.7.224-SNAPSHOT</version>
<packaging>bundle</packaging>
<name>WSO2 Carbon - Publish Event Mediator Configuration</name>
<url>http://wso2.org</url>
Expand Down
4 changes: 2 additions & 2 deletions components/event-sink/org.wso2.carbon.event.sink/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -19,13 +19,13 @@
<parent>
<groupId>org.wso2.carbon.mediation</groupId>
<artifactId>event-sink</artifactId>
<version>4.7.221</version>
<version>4.7.224-SNAPSHOT</version>
</parent>

<modelVersion>4.0.0</modelVersion>
<artifactId>org.wso2.carbon.event.sink</artifactId>
<packaging>bundle</packaging>
<version>4.7.221</version>
<version>4.7.224-SNAPSHOT</version>
<name>WSO2 Carbon - Event Sink manager</name>

<dependencies>
Expand Down
4 changes: 2 additions & 2 deletions components/event-sink/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -13,13 +13,13 @@
<parent>
<artifactId>carbon-mediation</artifactId>
<groupId>org.wso2.carbon.mediation</groupId>
<version>4.7.221</version>
<version>4.7.224-SNAPSHOT</version>
<relativePath>../../pom.xml</relativePath>
</parent>

<modelVersion>4.0.0</modelVersion>
<artifactId>event-sink</artifactId>
<version>4.7.221</version>
<version>4.7.224-SNAPSHOT</version>
<packaging>pom</packaging>

<name>WSO2 Carbon - Event Sink</name>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,13 +4,13 @@
<parent>
<artifactId>inbound-endpoints</artifactId>
<groupId>org.wso2.carbon.mediation</groupId>
<version>4.7.221</version>
<version>4.7.224-SNAPSHOT</version>
</parent>

<modelVersion>4.0.0</modelVersion>

<artifactId>org.wso2.carbon.inbound.endpoint.ext.wsrm</artifactId>
<version>4.7.221</version>
<version>4.7.224-SNAPSHOT</version>

<packaging>bundle</packaging>

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -116,6 +116,21 @@ public boolean startListener() {

@Override
public void init() {
/*
* The activate/deactivate functionality is not currently implemented
* for this Inbound Endpoint type.
*
* Therefore, the following check has been added to immediately return if the "suspend"
* attribute is set to true in the inbound endpoint configuration due to the fixes done
* in Synapse level - https://github.com/wso2/wso2-synapse/pull/2261.
*
* Note: This implementation is temporary and should be revisited and improved once
* the activate/deactivate capability is implemented.
*/
if (startInPausedMode) {
logger.info("Inbound endpoint [" + name + "] is currently suspended.");
return;
}
startListener();
}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,12 +4,12 @@
<parent>
<artifactId>inbound-endpoints</artifactId>
<groupId>org.wso2.carbon.mediation</groupId>
<version>4.7.221</version>
<version>4.7.224-SNAPSHOT</version>
</parent>
<modelVersion>4.0.0</modelVersion>
<artifactId>org.wso2.carbon.inbound.endpoint.osgi</artifactId>
<packaging>bundle</packaging>
<version>4.7.221</version>
<version>4.7.224-SNAPSHOT</version>

<build>
<plugins>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@
<parent>
<artifactId>inbound-endpoints</artifactId>
<groupId>org.wso2.carbon.mediation</groupId>
<version>4.7.221</version>
<version>4.7.224-SNAPSHOT</version>
</parent>
<modelVersion>4.0.0</modelVersion>
<artifactId>org.wso2.carbon.inbound.endpoint.persistence</artifactId>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -19,12 +19,12 @@
<parent>
<artifactId>inbound-endpoints</artifactId>
<groupId>org.wso2.carbon.mediation</groupId>
<version>4.7.221</version>
<version>4.7.224-SNAPSHOT</version>
</parent>
<modelVersion>4.0.0</modelVersion>
<artifactId>org.wso2.carbon.inbound.endpoint</artifactId>
<packaging>bundle</packaging>
<version>4.7.221</version>
<version>4.7.224-SNAPSHOT</version>
<dependencies>
<dependency>
<groupId>javax.jms</groupId>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,7 @@ public abstract class InboundOneTimeTriggerRequestProcessor implements InboundRe
protected SynapseEnvironment synapseEnvironment;
protected String name;
protected boolean coordination;
protected boolean startInPausedMode;

private OneTimeTriggerInboundRunner inboundRunner;
private Thread runningThread;
Expand Down Expand Up @@ -130,4 +131,22 @@ public void destroy() {
}
}
}

@Override
public boolean activate() {

return false;
}

@Override
public boolean deactivate() {

return false;
}

@Override
public boolean isDeactivated() {
// Need to properly implement this logic.
return false;
}
}
Loading

0 comments on commit 6fae13f

Please sign in to comment.