-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'develop' of https://github.com/axonivy-market/marketplace…
… into feature/MARP-223-Detail-pages-for-new-market-Main-content # Conflicts: # marketplace-service/src/main/java/com/axonivy/market/assembler/ProductModelAssembler.java # marketplace-service/src/main/java/com/axonivy/market/constants/CommonConstants.java # marketplace-service/src/main/java/com/axonivy/market/constants/GitHubConstants.java # marketplace-service/src/main/java/com/axonivy/market/entity/Product.java # marketplace-service/src/main/java/com/axonivy/market/factory/ProductFactory.java # marketplace-service/src/main/java/com/axonivy/market/github/model/Meta.java # marketplace-service/src/main/java/com/axonivy/market/github/service/GHAxonIvyProductRepoService.java # marketplace-service/src/main/java/com/axonivy/market/github/service/impl/GHAxonIvyMarketRepoServiceImpl.java # marketplace-service/src/main/java/com/axonivy/market/github/service/impl/GHAxonIvyProductRepoServiceImpl.java # marketplace-service/src/main/java/com/axonivy/market/repository/ProductRepository.java # marketplace-service/src/main/java/com/axonivy/market/service/ProductService.java # marketplace-service/src/main/java/com/axonivy/market/service/impl/ProductServiceImpl.java # marketplace-service/src/main/java/com/axonivy/market/util/XmlReaderUtils.java # marketplace-service/src/main/java/com/axonivy/market/utils/XmlReaderUtils.java # marketplace-service/src/test/java/com/axonivy/market/controller/ProductDetailsControllerTest.java # marketplace-service/src/test/java/com/axonivy/market/factory/ProductFactoryTest.java # marketplace-service/src/test/java/com/axonivy/market/github/service/GHAxonIvyProductRepoServiceImplTest.java # marketplace-service/src/test/java/com/axonivy/market/service/GHAxonIvyProductRepoServiceImplTest.java # marketplace-service/src/test/java/com/axonivy/market/service/ProductServiceImplTest.java # marketplace-service/src/test/java/com/axonivy/market/service/VersionServiceImplTest.java # marketplace-service/src/test/java/com/axonivy/market/util/XmlReaderUtilsTest.java # marketplace-service/src/test/java/com/axonivy/market/utils/XmlReaderUtilsTest.java # src/main/java/com/axonivy/market/utils/XmlReaderUtils.java # src/test/java/com/axonivy/market/github/service/GHAxonIvyProductRepoServiceImplTest.java # src/test/java/com/axonivy/market/utils/XmlReaderUtilsTest.java
- Loading branch information
Showing
15 changed files
with
141 additions
and
31 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
10 changes: 5 additions & 5 deletions
10
marketplace-service/src/main/java/com/axonivy/market/entity/MavenArtifactModel.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
12 changes: 12 additions & 0 deletions
12
marketplace-service/src/main/java/com/axonivy/market/enums/Language.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
package com.axonivy.market.enums; | ||
|
||
import lombok.AllArgsConstructor; | ||
import lombok.Getter; | ||
|
||
@Getter | ||
@AllArgsConstructor | ||
public enum Language { | ||
EN("en"), DE("de"); | ||
|
||
private String value; | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
44 changes: 44 additions & 0 deletions
44
marketplace-service/src/main/java/com/axonivy/market/model/DisplayValue.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,44 @@ | ||
package com.axonivy.market.model; | ||
|
||
import org.apache.commons.lang3.builder.EqualsBuilder; | ||
import org.apache.commons.lang3.builder.HashCodeBuilder; | ||
|
||
import com.fasterxml.jackson.annotation.JsonIgnoreProperties; | ||
import com.fasterxml.jackson.annotation.JsonInclude; | ||
|
||
import lombok.AllArgsConstructor; | ||
import lombok.Getter; | ||
import lombok.NoArgsConstructor; | ||
import lombok.Setter; | ||
|
||
@Getter | ||
@Setter | ||
@NoArgsConstructor | ||
@AllArgsConstructor | ||
@JsonInclude(JsonInclude.Include.NON_EMPTY) | ||
@JsonIgnoreProperties(ignoreUnknown = true) | ||
public class DisplayValue { | ||
|
||
private String locale; | ||
private String value; | ||
|
||
@Override | ||
public boolean equals(Object obj) { | ||
if (!(obj instanceof DisplayValue)) { | ||
return false; | ||
} | ||
DisplayValue other = (DisplayValue) obj; | ||
EqualsBuilder builder = new EqualsBuilder(); | ||
builder.append(value, other.getValue()); | ||
builder.append(locale, other.locale); | ||
return builder.isEquals(); | ||
} | ||
|
||
@Override | ||
public int hashCode() { | ||
HashCodeBuilder builder = new HashCodeBuilder(); | ||
builder.append(getValue()); | ||
builder.append(getLocale()); | ||
return builder.hashCode(); | ||
} | ||
} |
17 changes: 17 additions & 0 deletions
17
marketplace-service/src/main/java/com/axonivy/market/model/MultilingualismValue.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
package com.axonivy.market.model; | ||
|
||
import java.io.Serializable; | ||
|
||
import lombok.Getter; | ||
import lombok.NoArgsConstructor; | ||
import lombok.Setter; | ||
|
||
@Getter | ||
@Setter | ||
@NoArgsConstructor | ||
public class MultilingualismValue implements Serializable { | ||
private static final long serialVersionUID = -4193508237020296419L; | ||
|
||
private String en; | ||
private String de; | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters