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

Re-factor API URL generation code #2202

Merged
merged 4 commits into from
Feb 13, 2017
Merged

Re-factor API URL generation code #2202

merged 4 commits into from
Feb 13, 2017

Conversation

jpellizzari
Copy link
Contributor

@jpellizzari jpellizzari commented Feb 7, 2017

Fix for #2154

Adds the ability to use an environment variable to prefix all Scope URLs and adds test coverage on the code that generates URLs.

This also exposes Scope actions to its public JS package API. An additional changeInstance action has been added to force a teardown and re-connection on the getNodesDelta websocket connection. This allows for connections to be refreshed when running as a component.

@jpellizzari jpellizzari requested a review from foot February 7, 2017 16:52
@jpellizzari jpellizzari requested review from davkal and removed request for foot February 9, 2017 21:50
Copy link
Contributor

@davkal davkal left a comment

Choose a reason for hiding this comment

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

Code looks good, also checked standalone, wrapped, and path-prefixed, all worked.
Great tests!

LGTM

@jpellizzari jpellizzari merged commit 7e0ccb4 into master Feb 13, 2017
@jpellizzari jpellizzari deleted the 2154-api-url branch February 13, 2017 17:52
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.

2 participants