-
Notifications
You must be signed in to change notification settings - Fork 4
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/cite 183 - For authors, editors, etc. there needs to be an import from the IsisCB #278
base: develop
Are you sure you want to change the base?
Conversation
Can one of the admins verify this patch? |
Make it so, Jenkins. |
Jenkins successfully deployed Citesphere to be reviewed! |
citesphere/pom.xml
Outdated
@@ -100,6 +100,10 @@ | |||
<javers.default.author>Sync Process</javers.default.author> | |||
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding> | |||
|
|||
<isiscb.url>http://isiscb-staging-p3-2.us-west-2.elasticbeanstalk.com/rest/</isiscb.url> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
should not be in here.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
(and by that I mean the value)
AuthoritySearchResult searchResult = new AuthoritySearchResult(); | ||
|
||
if (response.getStatusCode() != HttpStatus.OK) { | ||
throw new AuthorityServiceConnectionException(response.getStatusCode().toString()); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
if there is a body you probably want to include that in the exception
return searchResult; | ||
} | ||
|
||
private String getIsiscbSearchString(String firstName, String lastName) { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
needs javadoc
} | ||
|
||
@Override | ||
public AuthoritySearchResult searchAuthorities(String firstName, String lastName, int page, int pageSize) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
needs javadoc
Jenkins successfully deployed Citesphere to be reviewed! |
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]
).Please provide a brief description of your ticket
Right now, when adding/editing an author, editor, etc. an authority from Conceptpower or VIAF can be linked to it. There should be a third option to link it to an authority from the IsisCB.
The endpoint to query is:
rest/authority/search/?query=einstein
Talk to Julia before starting to get you set up on the test server.
... Put ticket description here and add link to ticket ...
https://diging.atlassian.net/browse/CITE-183
Are there any other pull requests that this one depends on?
Anything else the reviewer needs to know?
IsisCB API is not returning anything as of now because of some recent updates made to it.
... describe here ...