-
Notifications
You must be signed in to change notification settings - Fork 0
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
url should be local #1
Comments
Interesting solution. The README.md should be updated to explain the fallback strategy. It might be helpful to display the lds-pdi URL so that the user knows what URL is being used. I suppose experience will indicate whether a manual override will be helpful. I'm pretty confident that during development it might well be useful to be able to quickly switch between a known good lds-pdi install (perhaps at purl.bdrc.io) and a development install of lds-pdi. as Élie observed elsewhere:
|
(didn't mean to be rude of course - just wanted to test "autoclose" feature... ^^) |
I just updated the blmp on AWS with the latest commit. I see that there is a url reported after I use the search for a resource. In this instance the reported url is
which surprised me since I expected:
would be returned from It would be best to let the user know what lds-pdi server is going to be used before doing a search. I am further persuaded that being able to select the lds-pdi server/url will be quite useful. |
regarding the issue on buda1, connection to http://localhost:13280/ fails... I like your suggestion of a button for choosing which server to load data from (potentially displaying information on whether it can be reached) |
I should have mentioned previously that I connected to blmp by visiting:
I'm ssh'd into buda1.bdrc.io and:
works fine. Where are you seeing the error console? Are you ssh'd into buda1 on AWS? |
Well, I have to say it's a bit hard for me to relate to the idea of the blmp auto-finding its configuration from a set of pre-defined possible server endpoints... what would be more useful, I think, would be for the blmp to read an optional |
I agree and that is why I've suggested that a list of reasonable urls to choose from would be helpful. I see your suggestion as adding the ability to enter a url of the user's choosing. It seems reasonable that these choices and urls can be saved in the proposed config.json. |
this sounds very elegant to me |
How idiotic of me! I was thinking on the server not the client! Of course the localhost refers to the system the browser is running on not to the server where the content was fetched from. This makes it more interestingto allow the user to indicate where to contact lds-pdi |
Well, here we need a system to have both a default config that would be the current one and the ability for a user to override values without having to change the git file... what I had done in a previous project was to have Also, less important but would it be possible to make it clearer that the field is a select (it doesn't look like users can interact with it)? |
et voilà |
should fail in build environment though |
should be ok to build now |
editor.bdrc.io has been updated. This is an improvement. Thanks It would be helpful to allow the user to enter a url of their choice, even if it is only for the current session, although maybe a cookie could be used. The issue is that the |
you can now have a look |
The urls at
src/api/api.js
line #'s 248 and 264 should be local so that blmp is using the local lds-pdi rather than the one at buda1. If the blmp is running on buda1 then it will automatically be using the lds-pdi on buda1.Or perhaps some other configuration approach that allows to easily switch where the lds-pdi is.
The text was updated successfully, but these errors were encountered: