From abc75296acd2e7f9439ca6b7ccf4738083eefefc Mon Sep 17 00:00:00 2001 From: Dinh Nguyen Date: Fri, 18 Oct 2024 15:04:24 +0700 Subject: [PATCH] MARP-1168 remove "Act on your behalf" from github login --- .../com/axonivy/market/service/impl/VersionServiceImpl.java | 2 -- .../src/test/java/com/axonivy/market/BaseSetup.java | 3 --- .../com/axonivy/market/controller/ProductControllerTest.java | 1 - marketplace-ui/src/environments/environment.ts | 2 +- 4 files changed, 1 insertion(+), 7 deletions(-) diff --git a/marketplace-service/src/main/java/com/axonivy/market/service/impl/VersionServiceImpl.java b/marketplace-service/src/main/java/com/axonivy/market/service/impl/VersionServiceImpl.java index b6328cc15..d6bbe394a 100644 --- a/marketplace-service/src/main/java/com/axonivy/market/service/impl/VersionServiceImpl.java +++ b/marketplace-service/src/main/java/com/axonivy/market/service/impl/VersionServiceImpl.java @@ -32,10 +32,8 @@ import java.util.ArrayList; import java.util.Collections; import java.util.HashMap; -import java.util.HashSet; import java.util.List; import java.util.Map; -import java.util.Set; import java.util.stream.Collectors; import static com.axonivy.market.constants.ProductJsonConstants.NAME; diff --git a/marketplace-service/src/test/java/com/axonivy/market/BaseSetup.java b/marketplace-service/src/test/java/com/axonivy/market/BaseSetup.java index 55df55847..22173bf16 100644 --- a/marketplace-service/src/test/java/com/axonivy/market/BaseSetup.java +++ b/marketplace-service/src/test/java/com/axonivy/market/BaseSetup.java @@ -11,16 +11,13 @@ import com.axonivy.market.enums.Language; import com.axonivy.market.enums.SortOption; import com.axonivy.market.model.MavenArtifactModel; -import com.axonivy.market.util.MavenUtils; import lombok.extern.log4j.Log4j2; import org.apache.commons.lang3.StringUtils; -import org.junit.jupiter.api.Assertions; import org.springframework.data.domain.Page; import org.springframework.data.domain.PageImpl; import org.springframework.data.domain.PageRequest; import org.springframework.data.domain.Pageable; import org.springframework.data.domain.Sort; -import org.springframework.util.CollectionUtils; import java.io.ByteArrayInputStream; import java.io.IOException; diff --git a/marketplace-service/src/test/java/com/axonivy/market/controller/ProductControllerTest.java b/marketplace-service/src/test/java/com/axonivy/market/controller/ProductControllerTest.java index b536e1552..e9d9b8135 100644 --- a/marketplace-service/src/test/java/com/axonivy/market/controller/ProductControllerTest.java +++ b/marketplace-service/src/test/java/com/axonivy/market/controller/ProductControllerTest.java @@ -34,7 +34,6 @@ import java.util.*; import static org.junit.jupiter.api.Assertions.*; -import static org.mockito.ArgumentMatchers.any; import static org.mockito.Mockito.*; @ExtendWith(MockitoExtension.class) diff --git a/marketplace-ui/src/environments/environment.ts b/marketplace-ui/src/environments/environment.ts index 45d094887..eae229eec 100644 --- a/marketplace-ui/src/environments/environment.ts +++ b/marketplace-ui/src/environments/environment.ts @@ -1,7 +1,7 @@ export const environment = { production: true, apiUrl: '/marketplace-service', - githubClientId: 'Iv23licGsRvdWBGRYJfT', + githubClientId: 'Ov23liK1GCV3aAmN8kby', githubAuthCallbackPath: '/auth/github/callback', dayInMiliseconds: 86400000 };