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

Update FilteredAsset to support site_id in Nexpose 5.13 and later #179

Merged
merged 2 commits into from
Jul 7, 2015

Conversation

gschneider-r7
Copy link
Contributor

Resolves #178.

  • Add site_ids attribute, array of 1 or more site IDs
  • Change site_id to get first ID from site_ids

Note that consoles which do not have Asset Linking enabled can use site_id without any issues. However, consoles with Asset Linking enabled should use site_ids instead because site_id may not be the "correct" or expected site_id, depending on the order they are returned.

This will require a version bump to 1.3.0.

Note that all nexpose-client gem versions since 1.0.0 are not backwards-compatible with Nexpose versions prior to 5.13.0.

Testing done:

  • Console without Asset Linking enabled
  • Console with Asset Linking enabled
  • Multi-Tenant console where one silo has Asset Linking enabled and another does not

-Add site_ids attribute, array of 1 or more site IDs
-Change site_id to get first ID from site_ids

Note that consoles which do not have Asset Linking enabled can use
site_id without any issues. However, consoles with Asset Linking enabled
should use site_ids instead.
Saved some lines by using map.
Removed an extra space from comment.
sgreen-r7 added a commit that referenced this pull request Jul 7, 2015
Update FilteredAsset to support site_id in Nexpose 5.13 and later
@sgreen-r7 sgreen-r7 merged commit f391813 into master Jul 7, 2015
@sgreen-r7
Copy link
Contributor

ლ(́◉◞౪◟◉‵ლ)

@gschneider-r7 gschneider-r7 deleted the bug/178_filtered_asset_site_ids branch July 7, 2015 22:08
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