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

A way to retrieve a list of HEIs for which a particular API has been implemented #1

Closed
mikesteez opened this issue Sep 27, 2016 · 10 comments

Comments

@mikesteez
Copy link

How do you list EWP hosts?

The ClientImpl has methods to filter APIs but I can't find a way to only list the available EWP hosts. This is a central use case for the reference connector.

@wrygiel
Copy link
Contributor

wrygiel commented Sep 27, 2016

I haven't seen any use for such method, so there isn't any. Could you explain why do you need it?

@mikesteez
Copy link
Author

When a new IIA is created, the user will select the partner institution from a list of institutions

@wrygiel
Copy link
Contributor

wrygiel commented Sep 27, 2016

Then you are looking for the list of institutions, not the list of EWP Hosts, I think?

@mikesteez
Copy link
Author

Yes, correct!

@wrygiel
Copy link
Contributor

wrygiel commented Sep 27, 2016

My first thought was to use the findApis method, but this method returns API entries only, without HEI IDs. There's also no method to retrieve names of HEIs, and that would be good to have (otherwise you would need to query Institutions API to get these names). You're right, something is missing here...

@wrygiel wrygiel changed the title List EWP hosts A way to retrieve a list of HEIs for which a particular API has been implemented Sep 27, 2016
@wrygiel
Copy link
Contributor

wrygiel commented Sep 27, 2016

Collection<Hei> findHeis(ApiSearchConditions conditions)

This would return a list of HEIs for which at least one API has been implemented which matches the given conditions. Hei would be a simple wrapper for the <hei> element.

Is this what you need?

@mikesteez
Copy link
Author

If the ApiSearchConditions can be without any conditions, this would be great.

@wrygiel
Copy link
Contributor

wrygiel commented Sep 27, 2016

If the ApiSearchConditions can be without any conditions, this would be great.

It can, but I'd guess that in your particular case you will want to put IIAs API there? Or not?

@wrygiel
Copy link
Contributor

wrygiel commented Sep 27, 2016

IIAs are stored locally, so all kinds of HEIs may participate in them. Even the ones that haven't implemented the IIAs API, or the ones that are not part of the EWP Network. So, I'm just wandering how this will look in your application. But perhaps it's not a good place for this discussion :)

@wrygiel wrygiel closed this as completed in 6e6eb04 Oct 7, 2016
@wrygiel
Copy link
Contributor

wrygiel commented Oct 7, 2016

Version 1.2.0 should be already downloadable from Maven Central.

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

No branches or pull requests

2 participants