-
Notifications
You must be signed in to change notification settings - Fork 6
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Rename packages under java/main from org.jboss to org.jboss.set
- Loading branch information
Showing
29 changed files
with
65 additions
and
66 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
2 changes: 1 addition & 1 deletion
2
.../java/org/jboss/JiraEndpointProducer.java → ...a/org/jboss/set/JiraEndpointProducer.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
2 changes: 1 addition & 1 deletion
2
...n/java/org/jboss/config/GitHubRawUrl.java → ...va/org/jboss/set/config/GitHubRawUrl.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 |
---|---|---|
@@ -1,4 +1,4 @@ | ||
package org.jboss.config; | ||
package org.jboss.set.config; | ||
|
||
import org.eclipse.microprofile.config.spi.Converter; | ||
|
||
|
2 changes: 1 addition & 1 deletion
2
...rg/jboss/config/JiraLotteryAppConfig.java → ...boss/set/config/JiraLotteryAppConfig.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
2 changes: 1 addition & 1 deletion
2
.../java/org/jboss/config/LotteryConfig.java → ...a/org/jboss/set/config/LotteryConfig.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
2 changes: 1 addition & 1 deletion
2
...g/jboss/config/LotteryConfigProducer.java → ...oss/set/config/LotteryConfigProducer.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
2 changes: 1 addition & 1 deletion
2
...va/org/jboss/config/YamlObjectMapper.java → ...rg/jboss/set/config/YamlObjectMapper.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
4 changes: 2 additions & 2 deletions
4
...n/java/org/jboss/draw/entities/Issue.java → ...va/org/jboss/set/draw/entities/Issue.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
2 changes: 1 addition & 1 deletion
2
.../org/jboss/draw/entities/Participant.java → .../jboss/set/draw/entities/Participant.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 |
---|---|---|
@@ -1,4 +1,4 @@ | ||
package org.jboss.draw.entities; | ||
package org.jboss.set.draw.entities; | ||
|
||
import io.smallrye.mutiny.tuples.Tuple2; | ||
|
||
|
4 changes: 2 additions & 2 deletions
4
src/main/java/org/jboss/jql/JqlBuilder.java → ...in/java/org/jboss/set/jql/JqlBuilder.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
2 changes: 1 addition & 1 deletion
2
src/main/java/org/jboss/jql/Predicate.java → ...ain/java/org/jboss/set/jql/Predicate.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 |
---|---|---|
@@ -1,4 +1,4 @@ | ||
package org.jboss.jql; | ||
package org.jboss.set.jql; | ||
|
||
import jakarta.annotation.Nonnull; | ||
|
||
|
2 changes: 1 addition & 1 deletion
2
...java/org/jboss/processing/Executable.java → .../org/jboss/set/processing/Executable.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
2 changes: 1 addition & 1 deletion
2
.../org/jboss/processing/IssueProcessor.java → .../jboss/set/processing/IssueProcessor.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
14 changes: 7 additions & 7 deletions
14
...g/jboss/processing/NewIssueCollector.java → ...oss/set/processing/NewIssueCollector.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
12 changes: 6 additions & 6 deletions
12
...jboss/processing/StaleIssueCollector.java → ...s/set/processing/StaleIssueCollector.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
2 changes: 1 addition & 1 deletion
2
...oss/processing/state/EveryIssueState.java → ...set/processing/state/EveryIssueState.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
4 changes: 2 additions & 2 deletions
4
...ss/processing/state/SingleIssueState.java → ...et/processing/state/SingleIssueState.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
2 changes: 1 addition & 1 deletion
2
...ain/java/org/jboss/query/IssueStatus.java → ...java/org/jboss/set/query/IssueStatus.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 |
---|---|---|
@@ -1,4 +1,4 @@ | ||
package org.jboss.query; | ||
package org.jboss.set.query; | ||
|
||
import java.util.HashMap; | ||
import java.util.Map; | ||
|
2 changes: 1 addition & 1 deletion
2
...ain/java/org/jboss/query/SearchQuery.java → ...java/org/jboss/set/query/SearchQuery.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
2 changes: 1 addition & 1 deletion
2
...n/java/org/jboss/testing/JiraCommand.java → ...va/org/jboss/set/testing/JiraCommand.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 |
---|---|---|
@@ -1,4 +1,4 @@ | ||
package org.jboss.testing; | ||
package org.jboss.set.testing; | ||
|
||
import jakarta.inject.Qualifier; | ||
|
||
|
2 changes: 1 addition & 1 deletion
2
src/main/resources/META-INF/services/org.eclipse.microprofile.config.spi.Converter
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 |
---|---|---|
@@ -1 +1 @@ | ||
org.jboss.config.GitHubRawUrl$GitHubRepoToRawUrlConverter | ||
org.jboss.set.config.GitHubRawUrl$GitHubRepoToRawUrlConverter |
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 |
---|---|---|
|
@@ -19,14 +19,13 @@ | |
import org.apache.camel.component.jira.JiraEndpoint; | ||
import org.apache.camel.quarkus.test.CamelQuarkusTestSupport; | ||
import org.apache.camel.spi.Registry; | ||
import org.jboss.JiraEndpointProducer; | ||
import org.jboss.JiraIssueLotteryCommand; | ||
import org.jboss.config.LotteryConfig; | ||
import org.jboss.config.LotteryConfigProducer; | ||
import org.jboss.draw.Lottery; | ||
import org.jboss.query.IssueStatus; | ||
import org.jboss.set.JiraEndpointProducer; | ||
import org.jboss.set.JiraIssueLotteryCommand; | ||
import org.jboss.set.config.LotteryConfig; | ||
import org.jboss.set.config.LotteryConfigProducer; | ||
import org.jboss.set.query.IssueStatus; | ||
import org.jboss.set.wrappers.IssueWrapper; | ||
import org.jboss.testing.JiraCommand; | ||
import org.jboss.set.testing.JiraCommand; | ||
import org.junit.jupiter.api.BeforeAll; | ||
import org.junit.jupiter.api.BeforeEach; | ||
import org.junit.jupiter.api.Test; | ||
|
@@ -77,7 +76,7 @@ public class LotteryDrawingTest extends CamelQuarkusTestSupport { | |
CamelContext camelContext; | ||
|
||
private static List<Issue> issues; | ||
private static List<org.jboss.draw.entities.Issue> ourIssues; | ||
private static List<org.jboss.set.draw.entities.Issue> ourIssues; | ||
|
||
@BeforeAll | ||
static void init() { | ||
|
@@ -87,7 +86,7 @@ static void init() { | |
new IssueWrapper("Issue", 2L, "RESTEASY", IssueStatus.NEW, Set.of("Logging")), | ||
new IssueWrapper("Issue", 3L, "WELD", IssueStatus.NEW, Set.of("Logging")), | ||
new IssueWrapper("Issue", 4L, "WELD", IssueStatus.NEW, Set.of("Logging"))); | ||
ourIssues = issues.stream().map(org.jboss.draw.entities.Issue::new).toList(); | ||
ourIssues = issues.stream().map(org.jboss.set.draw.entities.Issue::new).toList(); | ||
} catch (URISyntaxException e) { | ||
throw new RuntimeException(e); | ||
} | ||
|
@@ -222,7 +221,8 @@ public void testAppendingRepositoryForUnsubcription() throws Exception { | |
List<Mail> sent = mailbox.getMailsSentTo(email); | ||
assertEquals(1, sent.size()); | ||
// Check directly for this URL as we know it is valid one. Using templates might result in a corrupted URL overall | ||
assertTrue(sent.get(0).getText().contains("https://github.com/The-Huginn/jira-issue-lottery/blob/main/.github/jira-issue-lottery.yml")); | ||
assertTrue(sent.get(0).getText() | ||
.contains("https://github.com/The-Huginn/jira-issue-lottery/blob/main/.github/jira-issue-lottery.yml")); | ||
} | ||
|
||
@Test | ||
|
@@ -312,7 +312,7 @@ public void testAssigningAllIssuesToTwoParticipants() throws Exception { | |
int exitCode = cmd.execute(); | ||
assertEquals(0, exitCode); | ||
|
||
for (Map.Entry<String, org.jboss.draw.entities.Issue> userIssue : List.of( | ||
for (Map.Entry<String, org.jboss.set.draw.entities.Issue> userIssue : List.of( | ||
Map.entry("[email protected]", ourIssues.get(0)), | ||
Map.entry("[email protected]", ourIssues.get(1)))) { | ||
List<Mail> sent = mailbox.getMailsSentTo(userIssue.getKey()); | ||
|
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