Skip to content

DM-8162: Call IRSAViewer to display images directly via URL #222

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

Merged
merged 1 commit into from
Nov 10, 2016

Conversation

loitly
Copy link
Contributor

@loitly loitly commented Nov 7, 2016

https://jira.lsstcorp.org/browse/DM-8162

As described by the title, allow plotImage to be called via url.
In the above link, you'll find more information on how to construct the url with one sample test url.
This PR is to merge into 'rc' branch. Once it's in rc, we will merge rc back into dev.

Copy link
Contributor

@robyww robyww left a comment

Choose a reason for hiding this comment

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

Looks good

@@ -65,11 +65,12 @@ function makeSinglePlotPayload(vr, rawPayload ) {


if (isArray(wpRequest)) {
if (!plotId) plotId= req.getPlotId();
if (!plotId) plotId= req.getPlotId() || uniqueId('defaultPlotId-');
Copy link
Contributor

Choose a reason for hiding this comment

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

nice way to approach this problem.

@ejoliet
Copy link
Contributor

ejoliet commented Nov 7, 2016

Works as intended.

Is passing the wpRequest object covers all the needs as before? If yes, i'm fine with the PR. Otherwise we need to work on it, specially to match teh need from NED for example.

I am not aware of NED's other use cases. This is the only one in the ticket.
However, wpRequest is not the only parameter one can use. If you have more use cases, I can provide sample URL construct for it.

@ejoliet
Copy link
Contributor

ejoliet commented Nov 8, 2016

I've asked more example from NED team, for now i think is more than fine so you can merge the PR into RC. If there is something more or special, i will raise a ticket. Thanks!

@loitly loitly merged commit d760cd0 into rc Nov 10, 2016
@loitly loitly deleted the DM-8162_image_plot_via_url branch November 10, 2016 16:36
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