rmakis_1 Posted February 21, 2022 Posted February 21, 2022 Hi,I try to find REST API command to compare two resources contents (JasperReport). I have folder structure describing environments with their resources (structure is <ENV_NAME><PRODUCT_NAME><JASPERREPORT_RESOURCE_NAME>). Different enviroments can contain same JasperReports by name. For deployment purpose between folders I need to compare these resources.Example (need to compare JasperReport contents in these folders): developproduct1jasper_report_resource1 and test1product1jasper_report_resource1Thanks for any answer/R.
Badr Draifi Posted February 28, 2022 Posted February 28, 2022 There's no outside of the box comparison RestAPI, but you can easily create a script, a web service... that will compare the JSON returned from JasperReports RestAPI rest_v2/resources endpoints that allow you to list your resources in the repository.
rmakis_1 Posted March 1, 2022 Author Posted March 1, 2022 Thanks you for answer. However compare returned JSON is not enough. Compared resources can have same names with different contents. I thinking about use Git API.
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now