Skip to content

Conversation

@anki2189
Copy link
Member

@anki2189 anki2189 commented Apr 30, 2020

Pull Request Description

This pull request closes #1752

Acceptance Test

  • Building the code with mvn clean install -Dintegration.tests still works.
  • Running mvn spring-boot:run in the strongbox-web-core still starts up the application correctly.
  • Building the code and running the strongbox-distribution from a zip or tar.gz still works.
  • The tests in the strongbox-web-integration-tests still run properly.

Questions

@anki2189 anki2189 marked this pull request as draft April 30, 2020 11:02
@carlspring carlspring requested a review from sbespalov April 30, 2020 14:41
@anki2189 anki2189 marked this pull request as ready for review April 30, 2020 14:48
void setDownloadCount(Integer downloadCount);

ArtifactArchiveListing getArtifactArchiveListing();
Set<ArtifactArchiveListing> getArtifactArchiveListings();
Copy link
Member

Choose a reason for hiding this comment

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

@anki2189 we don't need ArtifactArchiveListing in Artifact.

Copy link
Member

Choose a reason for hiding this comment

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

we should have Artifact reference from ArtifactArchiveListing instead.


@Inject
GenericArtifactCoordinatesAdapter genericArtifactCoordinatesAdapter;

Copy link
Member

Choose a reason for hiding this comment

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

@anki2189 could you not add empty lines here and always.

Copy link
Member Author

Choose a reason for hiding this comment

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

@sbespalov I am using the formatter available on strongbox-documentation page and these lines are getting generated by it.

Copy link
Member

Choose a reason for hiding this comment

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

@carlspring do we need this empty lines in formatter?

Copy link
Member

@carlspring carlspring May 1, 2020

Choose a reason for hiding this comment

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

Yeah, having an empty line between fields is how the majority of the code currently looks like, so I would prefer that we follow this convention.

Copy link
Member

Choose a reason for hiding this comment

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

@carlspring will it be possible to review this rule? these empty lines don't bring any sense but from the other side its absence means a lot on my 13 inch laptop :)

Copy link
Member

@sbespalov sbespalov left a comment

Choose a reason for hiding this comment

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

@anki2189 could you please proceed with comments?

.has("uuid", uuid)
.as("artifact");

artifactArchiveListings.stream()
Copy link
Member Author

Choose a reason for hiding this comment

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

@sbespalov Please help me to figure out why this is not adding Edge to graph.

Copy link
Member

Choose a reason for hiding this comment

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

bevause V(artifactArchiveListing) ends with an empty traversal. @anki2189 you probably need to start with some Gremlin Tutorial, the one I could recomment is here

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.

3 participants