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

Story/q20 19 #23

Open
wants to merge 194 commits into
base: develop
Choose a base branch
from
Open

Story/q20 19 #23

wants to merge 194 commits into from

Conversation

Pooja444
Copy link
Member

@Pooja444 Pooja444 commented Dec 14, 2021

Guidelines for Pull Requests

If you haven't yet read our code review guidelines, please do so, You can find them here.

Please confirm the following by adding an x for each item (turn [ ] into [x]).

  • I have removed all code style changes that are not necessary (e.g. changing blanks across the whole file that don’t need to be changed, adding empty lines in parts other than your own code)
  • I am not making any changes to files that don’t have any effect (e.g. imports added that don’t need to be added)
  • I do not have any sysout statements in my code or commented out code that isn’t needed anymore
  • I am not reformatting any files in the wrong format or without cause.
  • I am not changing file encoding or line endings to something else than UTF-8, LF
  • My pull request does not show an insane amount of files being changed although my ticket only requires a few files being changed
  • I have added Javadoc/documentation where appropriate
  • I have added test cases where appropriate
  • I have explained any part of my code/implementation decisions that is not be self-explanatory

Please provide a brief description of your ticket

(you can copy the ticket if it hasn't changed)

https://diging.atlassian.net/browse/Q20-19
On the collection page, it should be possible to browse all networks in collection -
basically a paginated list of all networks ordered by submission date. When the user clicks on a network it would be visualized (similar to the old quadriga).

Anything else the reviewer needs to know?

This story is dependent on story Q20-3, Q20-7, Q20-12, Q20-18 and since all of these stories are yet to be merged, this PR may show a lot of file changes that are actually part of the above stories. This will go away once all of these are merged

Pooja444 and others added 30 commits August 31, 2021 15:43
@pkharge pkharge marked this pull request as ready for review May 25, 2022 19:34

/**
*
*/
Copy link
Member

Choose a reason for hiding this comment

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

remove if there is no javadoc

/**
*
*/
private static final long serialVersionUID = 6260562492095202271L;
Copy link
Member

Choose a reason for hiding this comment

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

should start at 1

/**
*
*/
private static final long serialVersionUID = 4228339422371096758L;
Copy link
Member

Choose a reason for hiding this comment

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

same as before

quadriga/pom.xml Outdated
@@ -44,6 +44,9 @@
<citesphere.base.url></citesphere.base.url>
<citesphere.client.id></citesphere.client.id>
<citesphere.client.secret></citesphere.client.secret>

<conceptpower.base.url></conceptpower.base.url>
<conceptpower.id.url></conceptpower.id.url>
Copy link
Member

Choose a reason for hiding this comment

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

is this used?

private String conceptPowerBaseURL;

@Value("${conceptpower_id_url}")
private String conceptPowerIdURL;
Copy link
Member

Choose a reason for hiding this comment

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

that's the endpoint not the url, right?


if (size != null) {
sizeLimit = size;
sizeLimit = sizeLimit < 1 ? 10 : sizeLimit;
Copy link
Member

Choose a reason for hiding this comment

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

why not changing size? is a new variable necessary?

SUBJECT(1),
OBJECT(1);

private int groupId;
Copy link
Member

Choose a reason for hiding this comment

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

? neesd javadoc

@Autowired
private ConceptPowerService conceptPowerService;

private Logger logger = LoggerFactory.getLogger(getClass());
Copy link
Member

Choose a reason for hiding this comment

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

shoudl be first

citesphere_client_secret=${citesphere.client.secret}
citesphere_base_url=${citesphere.base.url}
conceptpower_base_url=${conceptpower.base.url}
conceptpower_id_url=/rest/Concept?id={concept_uri}
Copy link
Member

Choose a reason for hiding this comment

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

that's the endpoint not the url

conceptpower_id_url=/rest/Concept?id={concept_uri}

citesphere_client_id=OAUTHCLIENT32
citesphere_client_secret=03c2b326-88ba-4a38-866a-fc6f35ed0423
Copy link
Member

Choose a reason for hiding this comment

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

these should not be in here (secret information!) and also should be defined in the pom.

Copy link
Member

Choose a reason for hiding this comment

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

I regenerated the secret since this is compromised now.

@jdamerow jdamerow closed this Jun 8, 2022
@pkharge pkharge reopened this Jun 9, 2022
Copy link
Member

@jdamerow jdamerow left a comment

Choose a reason for hiding this comment

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

There are unaddressed comments.

quadriga/pom.xml Outdated


<conceptpower.base.url></conceptpower.base.url>
<conceptpower.id.endpoint></conceptpower.id.endpoint>
Copy link
Member

Choose a reason for hiding this comment

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

is that used anywhere?

Copy link

@pkharge pkharge Jun 10, 2022

Choose a reason for hiding this comment

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

@jdamerow , It's value is currently defined in config.properties. Shall I remove this entry from pom.xml or give the value here?

Copy link
Member

Choose a reason for hiding this comment

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

remove it here

@jdamerow jdamerow closed this Jun 10, 2022
@ShivaniYerram ShivaniYerram reopened this May 23, 2023
Copy link
Member

@jdamerow jdamerow left a comment

Choose a reason for hiding this comment

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

there is a lot of code here that's also in the other PR I just reviewed, isn't there? Please reopen once the common code has been merged.

quadriga/pom.xml Outdated


<conceptpower.base.url></conceptpower.base.url>
<conceptpower.id.endpoint></conceptpower.id.endpoint>
Copy link
Member

Choose a reason for hiding this comment

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

remove it here

@jdamerow
Copy link
Member

also, there are conflicts.

@jdamerow jdamerow closed this May 24, 2023
# Conflicts:
#	quadriga/pom.xml
#	quadriga/src/main/java/edu/asu/diging/quadriga/core/model/Collection.java
#	quadriga/src/main/java/edu/asu/diging/quadriga/core/service/CollectionManager.java
#	quadriga/src/main/java/edu/asu/diging/quadriga/core/service/impl/EventGraphServiceImpl.java
#	quadriga/src/main/java/edu/asu/diging/quadriga/core/service/impl/MappedTripleGroupServiceImpl.java
#	quadriga/src/main/java/edu/asu/diging/quadriga/web/DisplayCollectionController.java
@pooja-thalur pooja-thalur reopened this Sep 25, 2024
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.

7 participants