Jump to content

Recommended Posts

Posted

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_resource1

Thanks for any answer/

R.

  • Replies 2
  • Created
  • Last Reply

Top Posters In This Topic

Posted

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.

Posted

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.

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 account

Sign in

Already have an account? Sign in here.

Sign In Now

×
×
  • Create New...