Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Jarviz Updates #4

Merged
merged 3 commits into from
Mar 12, 2021
Merged

Conversation

nath-abhishek
Copy link
Contributor

📝 Description

  • New continueOnMavenError flag in config.json. When set to true, Jarvis will continue processing remaining applications, from artifact.json, after it encounters maven errors. Default value is false.
  • Added capability to use RELEASE and LATEST as dependency versions in artifact.json.
  • appSetName is now written to output jsonl file.

🔗 Related Issues

* @return true if version is LATEST or RELEASE, false otherwise.
*/
@Value.Default
default boolean isVersionLatestOrRelease() {
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Since this contain 2, we can keep it as a List, else we can make a it a Set.

@@ -28,6 +28,8 @@
@JsonInclude(value = JsonInclude.Include.NON_EMPTY)
public interface CouplingRecord {

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Can you add a Java doc pls?

@@ -73,6 +73,52 @@ public void testToFileName() {
.isEqualTo("foo-bar-2.0.1-SNAPSHOT.jar");
}

@Test
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

+1

@@ -59,4 +60,19 @@ public void testDiscoverArtifact_Fail() throws ArtifactNotFoundException {
artifactDiscoveryService.discoverArtifact(artifact);
}

@Test
Copy link
Member

@lasanthak lasanthak Mar 11, 2021

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

For this test to be correct shouldn't we remove "throws ArtifactNotFoundException" from the signature?

@lasanthak
Copy link
Member

💯

@lasanthak lasanthak merged commit 0a26ca8 into ExpediaGroup:master Mar 12, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants