Skip to content

Commit

Permalink
Merge Spring Integration - Meeds-io/MIPs#57 (#35)
Browse files Browse the repository at this point in the history
  • Loading branch information
boubaker authored Jan 11, 2024
2 parents 51f35a5 + e56ff74 commit 70802a5
Show file tree
Hide file tree
Showing 8 changed files with 14 additions and 23 deletions.
15 changes: 0 additions & 15 deletions gamification-twitter-services/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -45,23 +45,8 @@
<artifactId>gamification-services</artifactId>
<scope>provided</scope>
</dependency>
<dependency>
<groupId>org.exoplatform.addons.gamification</groupId>
<artifactId>gamification-services</artifactId>
<scope>provided</scope>
</dependency>
</dependencies>
<build>
<finalName>gamification-twitter-service</finalName>
<plugins>
<plugin>
<groupId>org.projectlombok</groupId>
<artifactId>lombok-maven-plugin</artifactId>
</plugin>
<plugin>
<groupId>com.jcabi</groupId>
<artifactId>jcabi-maven-plugin</artifactId>
</plugin>
</plugins>
</build>
</project>
Original file line number Diff line number Diff line change
Expand Up @@ -21,8 +21,8 @@
import io.meeds.gamification.twitter.entity.TwitterAccountEntity;
import org.exoplatform.commons.persistence.impl.GenericDAOJPAImpl;

import javax.persistence.NoResultException;
import javax.persistence.TypedQuery;
import jakarta.persistence.NoResultException;
import jakarta.persistence.TypedQuery;
import java.util.List;

public class TwitterAccountDAO extends GenericDAOJPAImpl<TwitterAccountEntity, Long> {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@
import java.io.Serializable;
import java.util.Date;

import javax.persistence.*;
import jakarta.persistence.*;

import org.exoplatform.commons.api.persistence.ExoEntity;

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@

import com.github.scribejava.core.model.OAuth2AccessToken;
import io.meeds.oauth.spi.AccessTokenContext;
import org.apache.commons.lang.StringUtils;
import org.apache.commons.lang3.StringUtils;

public class TwitterAccessTokenContext extends AccessTokenContext implements Serializable {

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@
import io.meeds.oauth.exception.OAuthExceptionCode;
import io.meeds.oauth.utils.HttpResponseContext;
import io.meeds.oauth.utils.OAuthUtils;
import org.apache.commons.lang.StringUtils;
import org.apache.commons.lang3.StringUtils;
import org.exoplatform.services.log.ExoLogger;
import org.exoplatform.services.log.Log;
import org.json.JSONObject;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@
import io.swagger.v3.oas.annotations.media.Schema;
import io.swagger.v3.oas.annotations.responses.ApiResponse;
import io.swagger.v3.oas.annotations.responses.ApiResponses;
import org.apache.commons.lang.StringUtils;
import org.apache.commons.lang3.StringUtils;

import org.exoplatform.commons.ObjectAlreadyExistsException;
import org.exoplatform.commons.exception.ObjectNotFoundException;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@

import java.io.IOException;

import org.apache.commons.lang.StringUtils;
import org.apache.commons.lang3.StringUtils;

import com.github.scribejava.core.builder.ServiceBuilder;
import com.github.scribejava.core.oauth.OAuth20Service;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,13 @@
</column>
</createTable>
</changeSet>
<changeSet author="twitter-connector" id="1.0.0-2" dbms="oracle,postgresql">
<changeSet author="twitter-connector" id="1.0.0-2" dbms="oracle,postgresql,hsqldb" onValidationFail="MARK_RAN" failOnError="false">
<validCheckSum>ANY</validCheckSum>
<preConditions>
<not>
<sequenceExists sequenceName="SEQ_TWITTER_ACCOUNTS_ID" />
</not>
</preConditions>
<createSequence sequenceName="SEQ_TWITTER_ACCOUNTS_ID" startValue="1"/>
</changeSet>

Expand Down

0 comments on commit 70802a5

Please # to comment.