From 8442458f931884702cce7e5f780c88b99841a985 Mon Sep 17 00:00:00 2001 From: harshithad0703 Date: Mon, 22 Apr 2024 11:02:28 +0530 Subject: [PATCH 1/3] fix: sre issue fix, license update --- LICENSE | 2 +- src/test/resources/issue/jsonfile.json | 34 +++++++++---------- src/test/resources/multiple_objects.json | 12 +++---- .../resources/multiple_rich_text_content.json | 34 +++++++++---------- 4 files changed, 41 insertions(+), 41 deletions(-) diff --git a/LICENSE b/LICENSE index 981ba26..d77c7f4 100644 --- a/LICENSE +++ b/LICENSE @@ -1,6 +1,6 @@ MIT License -Copyright (c) 2012 - 2023 Contentstack +Copyright (c) 2012 - 2024 Contentstack Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal diff --git a/src/test/resources/issue/jsonfile.json b/src/test/resources/issue/jsonfile.json index 891940a..6b5bdd9 100644 --- a/src/test/resources/issue/jsonfile.json +++ b/src/test/resources/issue/jsonfile.json @@ -45,7 +45,7 @@ "file_size": "11773", "_content_type_uid": "asset", "filename": "11.jpg", - "url": "https://dev16-images.contentstack.com/v3/assets/77263d300aee3e6b/7324a68403ee7281/5f83f543d418e407f919e0e4/11.jpg", + "url": "https://images/v3/assets/77263d300aee3e6b/7324a68403ee7281/5f83f543d418e407f919e0e4/11.jpg", "_version": 2, "title": "11.jpg", "description": "dddd", @@ -68,7 +68,7 @@ "file_size": "11773", "_content_type_uid": "0_solve", "filename": "11.jpg", - "url": "https://dev16-images.contentstack.com/v3/assets/77263d300aee3e6b/7324a68403ee7281/5f83f543d418e407f919e0e4/11.jpg", + "url": "https://images/v3/assets/77263d300aee3e6b/7324a68403ee7281/5f83f543d418e407f919e0e4/11.jpg", "_version": 2, "title": "11.jpg", "description": "dddd", @@ -91,7 +91,7 @@ "file_size": "11773", "_content_type_uid": "0_solve", "filename": "11.jpg", - "url": "https://dev16-images.contentstack.com/v3/assets/77263d300aee3e6b/7324a68403ee7281/5f83f543d418e407f919e0e4/11.jpg", + "url": "https://images/v3/assets/77263d300aee3e6b/7324a68403ee7281/5f83f543d418e407f919e0e4/11.jpg", "_version": 2, "title": "11.jpg", "description": "dddd", @@ -114,7 +114,7 @@ "file_size": "11773", "_content_type_uid": "0_solve", "filename": "11.jpg", - "url": "https://dev16-images.contentstack.com/v3/assets/77263d300aee3e6b/7324a68403ee7281/5f83f543d418e407f919e0e4/11.jpg", + "url": "https://images/v3/assets/77263d300aee3e6b/7324a68403ee7281/5f83f543d418e407f919e0e4/11.jpg", "_version": 2, "title": "11.jpg", "description": "dddd", @@ -132,7 +132,7 @@ "url": "/suraj-123-entry", "single_line": "Single line textbox", "multi_line": "Multi line textboxMulti line textboxMulti line textboxMulti line textboxMulti line textbox", - "rich_text_editor": "\"Ticket.pdf\"", + "rich_text_editor": "\"Ticket.pdf\"", "markdown": "fsdfsdfsdfasf", "modular_blocks": [ { @@ -191,7 +191,7 @@ "file_size": "59014", "_content_type_uid": "0_solve", "filename": "iphone-mockup.png", - "url": "https://dev16-images.contentstack.com/v3/assets/iphone-mockup.png", + "url": "https://images/v3/assets/iphone-mockup.png", "ACL": {}, "_version": 1, "title": "iphone-mockup.png", @@ -214,7 +214,7 @@ "file_size": "11773", "_content_type_uid": "0_solve", "filename": "11.jpg", - "url": "https://dev16-images.contentstack.com/v3/assets/77263d300aee3e6b/7324a68403ee7281/5f83f543d418e407f919e0e4/11.jpg", + "url": "https://images/v3/assets/77263d300aee3e6b/7324a68403ee7281/5f83f543d418e407f919e0e4/11.jpg", "_version": 2, "title": "11.jpg", "description": "dddd", @@ -232,7 +232,7 @@ "url": "/suraj-123-entry", "single_line": "Single line textbox", "multi_line": "Multi line textboxMulti line textboxMulti line textboxMulti line textboxMulti line textbox", - "rich_text_editor": "\"Ticket.pdf\"", + "rich_text_editor": "\"Ticket.pdf\"", "markdown": "fsdfsdfsdfasf", "modular_blocks": [ { @@ -441,7 +441,7 @@ "url": "/suraj-123-entry", "single_line": "Single line textbox", "multi_line": "Multi line textboxMulti line textboxMulti line textboxMulti line textboxMulti line textbox", - "rich_text_editor": "\"Ticket.pdf\"", + "rich_text_editor": "\"Ticket.pdf\"", "markdown": "fsdfsdfsdfasf", "modular_blocks": [ { @@ -545,7 +545,7 @@ } ], "multi_line": "Multi line textboxMulti line textboxMulti line textboxMulti line textboxMulti line textbox", - "rich_text_editor": "\"Ticket.pdf\"", + "rich_text_editor": "\"Ticket.pdf\"", "single_line": "Single line textbox", "suraj_123": [ { @@ -718,7 +718,7 @@ "modular_blocks": [ { "rich_in_modular": { - "rich_text_editor": "

global 

\n

modular 1

", + "rich_text_editor": "

global 

\n

modular 1

", "rich_text_editor_multiple": [ "

global modular 2

" ], @@ -736,9 +736,9 @@ "

Global multiple 2

" ], "group": { - "rich_text_editor": "

Global multiple group 1

", + "rich_text_editor": "

Global multiple group 1

", "rich_text_editor_multiple": [ - "

Global multiple group 2

" + "

Global multiple group 2

" ] }, "modular_blocks": [ @@ -746,7 +746,7 @@ "rich_in_modular": { "rich_text_editor": "

Global multiple modular 1

", "rich_text_editor_multiple": [ - "

Global multiple modular

\n

2

" + "

Global multiple modular

\n

2

" ], "_metadata": { "uid": "cs6d492f34be84aa04" @@ -770,7 +770,7 @@ "rich_text_inmodular": { "rich_text_editor": "
\n

Modul 1

", "rich_text_editor_multiple": [ - "

module 2 

" + "

module 2 

" ], "_metadata": { "uid": "csb005424df53ebe6d" @@ -814,9 +814,9 @@ "_content_type_uid": "embed_entry" } ], - "rich_text_editor": "
\n

one

\n
", + "rich_text_editor": "
\n

one

\n
", "rich_text_editor_multiple": [ - "

Two

\"11.jpg\"" + "

Two

\"11.jpg\"" ], "title": "Test Rich Text", "updated_at": "2020-11-05T08:26:14.590Z", diff --git a/src/test/resources/multiple_objects.json b/src/test/resources/multiple_objects.json index 19286d7..70643fb 100644 --- a/src/test/resources/multiple_objects.json +++ b/src/test/resources/multiple_objects.json @@ -13,7 +13,7 @@ "file_size": "59014", "tags": [], "filename": "iphone-mockup.png", - "url": "https://dev16-images.contentstack.com/v3/assets/iphone-mockup.png", + "url": "https://images/v3/assets/iphone-mockup.png", "ACL": [], "_version": 1, "title": "iphone-mockup.png", @@ -37,7 +37,7 @@ "created_at": "2020-10-05T06:20:12.914Z", "created_by": "theUserId", "rich_text_editor": [ - "
" + "
" ], "tags": [], "title": "Alaukik assets", @@ -58,7 +58,7 @@ "created_at": "2020-10-05T07:28:48.062Z", "created_by": "theUserId", "rich_text_editor": [ - "

test example Hey how are you 

\n
" + "

test example Hey how are you 

\n
" ], "tags": [], "title": "this is unique title", @@ -90,7 +90,7 @@ "created_at": "2020-10-05T06:20:12.914Z", "created_by": "theUserId", "rich_text_editor": [ - "
" + "
" ], "tags": [], "title": "Alaukik assets", @@ -140,7 +140,7 @@ "file_size": "59014", "tags": [], "filename": "iphone-mockup.png", - "url": "https://dev16-images.contentstack.com/v3/assets/iphone-mockup.png", + "url": "https://images/v3/assets/iphone-mockup.png", "ACL": [], "_version": 1, "title": "iphone-mockup.png", @@ -155,7 +155,7 @@ "created_at": "2020-10-05T06:20:12.914Z", "created_by": "theUserId", "rich_text_editor": [ - "
" + "
" ], "tags": [], "title": "Alaukik assets", diff --git a/src/test/resources/multiple_rich_text_content.json b/src/test/resources/multiple_rich_text_content.json index 81dee08..001db60 100644 --- a/src/test/resources/multiple_rich_text_content.json +++ b/src/test/resources/multiple_rich_text_content.json @@ -15,7 +15,7 @@ "file_size": "11773", "_content_type_uid": "asset", "filename": "11.jpg", - "url": "https://dev16-images.contentstack.com/v3/assets/77263d300aee3e6b/7324a68403ee7281/5f83f543d418e407f919e0e4/11.jpg", + "url": "https://images/v3/assets/77263d300aee3e6b/7324a68403ee7281/5f83f543d418e407f919e0e4/11.jpg", "_version": 2, "title": "11.jpg", "description": "dddd", @@ -36,7 +36,7 @@ "file_size": "11773", "_content_type_uid": "0_solve", "filename": "11.jpg", - "url": "https://dev16-images.contentstack.com/v3/assets/77263d300aee3e6b/7324a68403ee7281/5f83f543d418e407f919e0e4/11.jpg", + "url": "https://images/v3/assets/77263d300aee3e6b/7324a68403ee7281/5f83f543d418e407f919e0e4/11.jpg", "_version": 2, "title": "11.jpg", "description": "dddd", @@ -57,7 +57,7 @@ "file_size": "11773", "_content_type_uid": "0_solve", "filename": "11.jpg", - "url": "https://dev16-images.contentstack.com/v3/assets/77263d300aee3e6b/7324a68403ee7281/5f83f543d418e407f919e0e4/11.jpg", + "url": "https://images/v3/assets/77263d300aee3e6b/7324a68403ee7281/5f83f543d418e407f919e0e4/11.jpg", "_version": 2, "title": "11.jpg", "description": "dddd", @@ -78,7 +78,7 @@ "file_size": "11773", "_content_type_uid": "0_solve", "filename": "11.jpg", - "url": "https://dev16-images.contentstack.com/v3/assets/77263d300aee3e6b/7324a68403ee7281/5f83f543d418e407f919e0e4/11.jpg", + "url": "https://images/v3/assets/77263d300aee3e6b/7324a68403ee7281/5f83f543d418e407f919e0e4/11.jpg", "_version": 2, "title": "11.jpg", "description": "dddd", @@ -94,7 +94,7 @@ "url": "/suraj-123-entry", "single_line": "Single line textbox", "multi_line": "Multi line textboxMulti line textboxMulti line textboxMulti line textboxMulti line textbox", - "rich_text_editor": "\"Ticket.pdf\"", + "rich_text_editor": "\"Ticket.pdf\"", "markdown": "fsdfsdfsdfasf", "modular_blocks": [{ "block_1": { @@ -152,7 +152,7 @@ "file_size": "59014", "_content_type_uid": "0_solve", "filename": "iphone-mockup.png", - "url": "https://dev16-images.contentstack.com/v3/assets/iphone-mockup.png", + "url": "https://images/v3/assets/iphone-mockup.png", "ACL": {}, "_version": 1, "title": "iphone-mockup.png", @@ -174,7 +174,7 @@ "file_size": "11773", "_content_type_uid": "0_solve", "filename": "11.jpg", - "url": "https://dev16-images.contentstack.com/v3/assets/77263d300aee3e6b/7324a68403ee7281/5f83f543d418e407f919e0e4/11.jpg", + "url": "https://images/v3/assets/77263d300aee3e6b/7324a68403ee7281/5f83f543d418e407f919e0e4/11.jpg", "_version": 2, "title": "11.jpg", "description": "dddd", @@ -190,7 +190,7 @@ "url": "/suraj-123-entry", "single_line": "Single line textbox", "multi_line": "Multi line textboxMulti line textboxMulti line textboxMulti line textboxMulti line textbox", - "rich_text_editor": "\"Ticket.pdf\"", + "rich_text_editor": "\"Ticket.pdf\"", "markdown": "fsdfsdfsdfasf", "modular_blocks": [{ "block_1": { @@ -374,7 +374,7 @@ "url": "/suraj-123-entry", "single_line": "Single line textbox", "multi_line": "Multi line textboxMulti line textboxMulti line textboxMulti line textboxMulti line textbox", - "rich_text_editor": "\"Ticket.pdf\"", + "rich_text_editor": "\"Ticket.pdf\"", "markdown": "fsdfsdfsdfasf", "modular_blocks": [{ "block_1": { @@ -469,7 +469,7 @@ } }], "multi_line": "Multi line textboxMulti line textboxMulti line textboxMulti line textboxMulti line textbox", - "rich_text_editor": "\"Ticket.pdf\"", + "rich_text_editor": "\"Ticket.pdf\"", "single_line": "Single line textbox", "suraj_123": [{ "single_line": "FSDGSDGSDGDF", @@ -630,7 +630,7 @@ }, "modular_blocks": [{ "rich_in_modular": { - "rich_text_editor": "

global 

\n

modular 1

", + "rich_text_editor": "

global 

\n

modular 1

", "rich_text_editor_multiple": [ "

global modular 2

" ], @@ -646,16 +646,16 @@ "

Global multiple 2

" ], "group": { - "rich_text_editor": "

Global multiple group 1

", + "rich_text_editor": "

Global multiple group 1

", "rich_text_editor_multiple": [ - "

Global multiple group 2

" + "

Global multiple group 2

" ] }, "modular_blocks": [{ "rich_in_modular": { "rich_text_editor": "

Global multiple modular 1

", "rich_text_editor_multiple": [ - "

Global multiple modular

\n

2

" + "

Global multiple modular

\n

2

" ], "_metadata": { "uid": "cs6d492f34be84aa04" @@ -676,7 +676,7 @@ "rich_text_inmodular": { "rich_text_editor": "
\n

Modul 1

", "rich_text_editor_multiple": [ - "

module 2 

" + "

module 2 

" ], "_metadata": { "uid": "csb005424df53ebe6d" @@ -716,9 +716,9 @@ "uid": "9c95983f8f327537", "_content_type_uid": "embed_entry" }], - "rich_text_editor": "
\n

one

\n
", + "rich_text_editor": "
\n

one

\n
", "rich_text_editor_multiple": [ - "

Two

\"11.jpg\"" + "

Two

\"11.jpg\"" ], "title": "Test Rich Text", From d6a1465c88e17a6e12b9bf20dcbc8e575f145403 Mon Sep 17 00:00:00 2001 From: harshithad0703 Date: Mon, 22 Apr 2024 11:12:06 +0530 Subject: [PATCH 2/3] build: snyk upgrades --- pom.xml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/pom.xml b/pom.xml index edd54ad..9001f53 100644 --- a/pom.xml +++ b/pom.xml @@ -20,15 +20,15 @@ 2.2.1 3.1.1 4.13.2 - 1.16.2 + 1.17.2 1.1.1 3.3 1.5 1.6.7 2.5.3 2.0.1.Final - 20240205 - 6.0.19 + 20240303 + 6.1.5 1.11.0 From 1aa3296384e2afb189ffbf1aa7f243b4717bbc22 Mon Sep 17 00:00:00 2001 From: harshithad0703 Date: Mon, 22 Apr 2024 11:24:51 +0530 Subject: [PATCH 3/3] chore: upgraded spring-web-version to 6.1.6 --- pom.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pom.xml b/pom.xml index 9001f53..3ff59ce 100644 --- a/pom.xml +++ b/pom.xml @@ -28,7 +28,7 @@ 2.5.3 2.0.1.Final 20240303 - 6.1.5 + 6.1.6 1.11.0