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

Add ability to copy a data source and its points #55

Open
terrypacker opened this issue Jul 23, 2019 · 2 comments
Open

Add ability to copy a data source and its points #55

terrypacker opened this issue Jul 23, 2019 · 2 comments
Assignees

Comments

@terrypacker
Copy link
Contributor

Add a REST endpoint and UI functionality to be able to copy a data source (and optionally its points).

/v2/data-sources/copy/{xid}

Note this issue about performance which has been taken into consideration in the design of the endpoint:

MangoAutomation/ma-core-public#681

@terrypacker
Copy link
Contributor Author

There is a node test in dataSource.spec.js. The only difference in this endpoint to the v1 version is that you can optionally copy the points, the default is to not copy points.

@terrypacker
Copy link
Contributor Author

@Puckfist @jazdw The existing permissions are such that you only need permission to the existing data source to copy it. I was thinking this should also require the global data source management permission?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants