Skip to content
This repository has been archived by the owner on Aug 19, 2022. It is now read-only.

List policy instances #521

Merged
merged 7 commits into from
Apr 24, 2018
Merged

Conversation

cianfoley-nearform
Copy link
Contributor

These endpoints are designed to work with the variables endpoints

Scenario:
You've created a policy template with variables
To view the variables (non-context) you would use the variables endpoint
To then see where the Policy Templates are deployed you would use the instances endpoint

Through combining both policy instances can be found, and variables could be validated by a UI to ensure correct assignment. The variables endpoint can be used for something like a UI to facilitate variable assignment also.

@coveralls
Copy link

coveralls commented Apr 17, 2018

Coverage Status

Coverage increased (+0.03%) to 93.002% when pulling 3f3aa31 on list-policy-instances into 53d09f0 on policy-instance-update.

[udaru-hapi-server]: https://www.npmjs.com/package/udaru/@nearform/udaru-hapi-server

## License
[udaru-hapi-server]: https://www.npmjs.com/package/udaru/@nearform/udaru-hapi-serve
Copy link
Contributor

Choose a reason for hiding this comment

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

Little typo here. Moreover, shouldn't all the references go after the License?

@dberesford dberesford merged commit a6a04eb into policy-instance-update Apr 24, 2018
@dberesford dberesford deleted the list-policy-instances branch April 24, 2018 07:23
dberesford pushed a commit that referenced this pull request Apr 25, 2018
* GET policy endpoints for users, teams & organization

* tests for hapi-16

* tests added to hapi17

* npm snuck in on update, removed here

* policy instance updates on PUT endpoints

* merge conflict fixes

* merge issue fix, duplicated function removed

* List policy instances (#521)

* list policy instances

* core tests and swagger docs

* endToEnd tests for instances endpoints

* swagger update for hapi-17

* copyright and license second entry removed

* policy search incorrect tag

* updated swagger, policy search position corrected
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants