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

(GH-163) Use aggregate metadata actions for puppetstrings feature flag #165

Merged
merged 3 commits into from
Aug 20, 2019

Conversation

glennsarti
Copy link
Contributor

@glennsarti glennsarti commented Aug 19, 2019

  • Lang server should use default_aggregate and workspace_aggregeate if the puppetstrings flag is set.

Previously the tests use private instance methods to verify the object, however
the each_list method now does that. This commit changes the tests to use this
method instead.


Previously the metadata aggregate action could only be used with the
puppetstrings feature flag. However it is also very useful for normal operation.
This commit changes the action to be valid, and adds tests for this scenario.


This commit changes the language server to use the default and workspace
aggregate actions, but behind the puppetstrings feature. There are no test
changes required.

@glennsarti glennsarti force-pushed the add-aggregate-metadata branch from 34c01bf to cb5cf1a Compare August 19, 2019 13:56
Previously the tests use private instance methods to verify the object, however
the each_list method now does that. This commit changes the tests to use this
method instead.
Previously the metadata aggregate action could only be used with the
puppetstrings feature flag.  However it is also very useful for normal operation.
This commit changes the action to be valid, and adds tests for this scenario.
@glennsarti glennsarti force-pushed the add-aggregate-metadata branch from cb5cf1a to 685ad8e Compare August 19, 2019 14:03
This commit changes the language server to use the default and workspace
aggregate actions, but behind the puppetstrings feature.  There are no test
changes required.
@glennsarti glennsarti changed the title {wip} Update aggregate metadata (GH-163) Use aggregate metadata actions for puppetstrings feature flag Aug 20, 2019
@glennsarti glennsarti added this to the 0.21.0 milestone Aug 20, 2019
@glennsarti glennsarti self-assigned this Aug 20, 2019
@glennsarti
Copy link
Contributor Author

Self merging

@glennsarti glennsarti merged commit 3511698 into puppetlabs:master Aug 20, 2019
@glennsarti glennsarti deleted the add-aggregate-metadata branch August 22, 2019 11:41
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.

1 participant