[JIRA] (JENKINS-59831) update JsonPath from 0.5.5 to 2.4.0

21 views
Skip to first unread message

Kemal.Soysal@ls-it-solutions.de (JIRA)

unread,
Oct 17, 2019, 4:25:02 PM10/17/19
to jenkinsc...@googlegroups.com
Kemal Soysal created an issue
 
Jenkins / Improvement JENKINS-59831
update JsonPath from 0.5.5 to 2.4.0
Issue Type: Improvement Improvement
Assignee: Gregory Boissinot
Components: urltrigger-plugin
Created: 2019-10-17 20:24
Priority: Major Major
Reporter: Kemal Soysal

I have a git repository where I would want to see changes on branches by certain criteria on their names.

The JsonPath 0.5.5 does not work with regular expressions well.

The JsonPath 2.4.0 does offer richer regular expression syntax allowing me to discover changes on revisions for multiple branches of interest.

Add Comment Add Comment
 
This message was sent by Atlassian Jira (v7.13.6#713006-sha1:cc4451f)
Atlassian logo

Kemal.Soysal@ls-it-solutions.de (JIRA)

unread,
Oct 17, 2019, 5:07:03 PM10/17/19
to jenkinsc...@googlegroups.com
Kemal Soysal updated an issue
Change By: Kemal Soysal
I have a git repository where I would want to see changes on branches by certain criteria on their names.

The JsonPath 0.5.5 does not work with regular expressions well.

The JsonPath 2.4.0 does offer richer regular expression syntax allowing me to discover changes on revisions for multiple branches of interest.


For the test file oldJsonContent.json you can check on [https://jsonpath.herokuapp.com|https://jsonpath.herokuapp.com/

$..[?(@.category =~ /refer.+/)].title

should deliver
["Title A"]
and the test file newJsonContent.json
["Sayings of the Century"]
 

Kemal.Soysal@ls-it-solutions.de (JIRA)

unread,
Oct 17, 2019, 7:04:02 PM10/17/19
to jenkinsc...@googlegroups.com

Kemal.Soysal@ls-it-solutions.de (JIRA)

unread,
Oct 18, 2019, 11:17:06 AM10/18/19
to jenkinsc...@googlegroups.com
Kemal Soysal assigned an issue to Kemal Soysal
 
Change By: Kemal Soysal
Assignee: Gregory Boissinot Kemal Soysal

Kemal.Soysal@ls-it-solutions.de (JIRA)

unread,
Oct 18, 2019, 11:18:01 AM10/18/19
to jenkinsc...@googlegroups.com
Kemal Soysal started work on Improvement JENKINS-59831
 
Change By: Kemal Soysal
Status: Open In Progress

Kemal.Soysal@ls-it-solutions.de (JIRA)

unread,
Oct 18, 2019, 11:33:03 AM10/18/19
to jenkinsc...@googlegroups.com
Kemal Soysal stopped work on Improvement JENKINS-59831
 
Change By: Kemal Soysal
Status: In Progress Open

Kemal.Soysal@ls-it-solutions.de (JIRA)

unread,
Oct 18, 2019, 11:33:03 AM10/18/19
to jenkinsc...@googlegroups.com
Kemal Soysal assigned an issue to Gregory Boissinot
Change By: Kemal Soysal
Assignee: Kemal Soysal Gregory Boissinot

Kemal.Soysal@ls-it-solutions.de (JIRA)

unread,
Oct 18, 2019, 11:49:02 AM10/18/19
to jenkinsc...@googlegroups.com
Kemal Soysal assigned an issue to Tony Noble
Change By: Kemal Soysal
Assignee: Gregory Boissinot Tony Noble

tony.noble@gmail.com (JIRA)

unread,
Oct 21, 2019, 5:06:01 AM10/21/19
to jenkinsc...@googlegroups.com
Tony Noble started work on Improvement JENKINS-59831
 
Change By: Tony Noble
Status: Open In Progress

tony.noble@gmail.com (JIRA)

unread,
Oct 21, 2019, 5:09:02 AM10/21/19
to jenkinsc...@googlegroups.com
Tony Noble commented on Improvement JENKINS-59831
 
Re: update JsonPath from 0.5.5 to 2.4.0

Hi Kemal,

Thanks for the contribution.  I'll take a more in-depth look shortly, though looks generally good.  My one concern is that we now don't differentiate between a jsonPath being present and empty, and a jsonPath not being present at all.  The existing solution is probably not ideal, but I don't feel we should lose detail that was previously available (however badly presented)

 

Kemal.Soysal@ls-it-solutions.de (JIRA)

unread,
Oct 22, 2019, 1:40:02 AM10/22/19
to jenkinsc...@googlegroups.com

it would definitely make sense to interactively show the results of the json patterns on the given url...

Reply all
Reply to author
Forward
0 new messages