Bump rest-assured from 2.4.1 to 2.9.0 in /qa-tests-backend by dependabot[bot] · Pull Request #2 · stackrox/stackrox · GitHub
Skip to content

Bump rest-assured from 2.4.1 to 2.9.0 in /qa-tests-backend#2

Merged
viswajithiii merged 1 commit into
masterfrom
dependabot/gradle/qa-tests-backend/com.jayway.restassured-rest-assured-2.9.0
Dec 10, 2021
Merged

Bump rest-assured from 2.4.1 to 2.9.0 in /qa-tests-backend#2
viswajithiii merged 1 commit into
masterfrom
dependabot/gradle/qa-tests-backend/com.jayway.restassured-rest-assured-2.9.0

Conversation

@dependabot

@dependabot dependabot Bot commented on behalf of github Dec 1, 2021

Copy link
Copy Markdown
Contributor

Bumps rest-assured from 2.4.1 to 2.9.0.

Changelog

Sourced from rest-assured's changelog.

Changelog 2.9.0 (2016-03-04)

  • Added support for composing a Hamcrest matcher with a ResponseAwareMatcher when using a ResponseAwareMatcherComposer
  • Automatically escapes JsonPath and XmlPath fragments that contains a hyphen and an index lookup operator. For example consider the following JSON document: { "some-list" : ["one", "two"] } Previously you had to escape "some-list" manually if you wanted to get first element out of the list: JsonPath jsonPath = ... String firstElement = jsonPath.getString("'some-list'[0]"); // one Now no explicit escaping is necessary: String firstElement = jsonPath.getString("some-list[0]"); // one But this means that if you previously had a JSON document like this: { "some-list[0]" : ["one", "two"] } you would now have to escape it: String firstElement = jsonPath.getString("'some-list[0]'[0]"); // one which makes this an (unlikely but still) non-backward compatible change (issue 564).
  • Added support for multipart DELETE requests (issue 634)
  • It's now possible to use empty and whitespace path parameters (issue 631)
  • Replace deprecated HttpEntity.consume with EntityUtils.consume to fix problems with connections not closing properly (issue 633) (thanks to Marin Dzhigarov and Julian Engelhardt for help and PR)
  • Fixing NullPointerException for GET requests with an empty body (issue 642)
  • Form authentication for fully-qualified URIs now uses the URI specified in the request instead of just localhost (issue 641)
  • Improve escaping for XmlPath's containing colon. For example you can now do like this without manually having to escape anything in the path: "x:something.x:y[0]" (issue 647)
  • Getting an attribute value from an XmlPath expression that doesn't exists now returns null instead of an empty list (issue 650).
  • Deprecated com.jayway.restassured.config.SSLConfig#getPassword, use com.jayway.restassured.config.SSLConfig#getKeyStorePassword instead
  • Major improvements of certificate authentication. You can now use a keystore (without trust store) and a keystore and trust store at the same time.
  • Non-backward compatible change: keystore was previously used as a truststore. You must change "given().keystore(..)" to "given().trustStore(..)", "RestAssured.keystore(..)" to "RestAssured.trustStore(..)" and "SSLConfig.keystore(..)" to "SSLConfig.trustStore(..)". Sorry!

Changelog 2.8.0 (2015-12-18)

  • Modify HttpClientConfig so parameter methods respect previous configuration (issue 612). Thanks to Adam Clarkson for pull request.
  • Fixed issue that caused filter context properties to be removed between filter invocations
  • Added support for measuring time. For example: long timeInMs = get("/lotto").time() or using a specific time unit: long timeInSeconds = get("/lotto").timeIn(SECONDS); where "SECONDS" is just a standard TimeUnit. You can also validate it using the validation DSL: when(). get("/lotto"). then(). time(lessThan(2000L)); // Milliseconds or when(). get("/lotto"). then(). time(lessThan(2L), SECONDS); Please note that response time measurement should be performed when the JVM is hot! (i.e. running a response time measurement when only running a single test will yield erroneous results) This is also implemented in the Spring MockMvc module (issue 493)
  • Deprecated: com.jayway.restassured.filter.FilterContext#getRequestMethod, use com.jayway.restassured.specification.FilterableRequestSpecification#getMethod instead.
  • Deprecated: com.jayway.restassured.filter.FilterContext#getRequestPath, use com.jayway.restassured.specification.FilterableRequestSpecification#getUserDefinedPath instead.
  • Deprecated: com.jayway.restassured.filter.FilterContext#getRequestURI, use com.jayway.restassured.specification.FilterableRequestSpecification#getURI instead.
  • Deprecated: com.jayway.restassured.filter.FilterContext#getOriginalRequestPath, use com.jayway.restassured.specification.FilterableRequestSpecification#getUserDefinedPath instead.

... (truncated)

Commits
  • fe56458 [maven-release-plugin] prepare release rest-assured-2.9.0
  • c11bfaf Update README.md
  • ff2eb5d Update README.md
  • 30d4f20 Prepared changelog for new release
  • 23f10ac Fixing issue where file was treated as string
  • 4309539 Fixed typos in javadoc
  • a0adf58 Major improvements of certificate authentication. You can now use a keystore ...
  • 6c9bb96 Getting an attribute value from an XmlPath expression that doesn't exists now...
  • 5694290 Improve escaping for XmlPath's containing colon
  • 3561292 Added another namespace test
  • Additional commits viewable in compare view

Dependabot compatibility score

Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


Dependabot commands and options

You can trigger Dependabot actions by commenting on this PR:

  • @dependabot rebase will rebase this PR
  • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
  • @dependabot merge will merge this PR after your CI passes on it
  • @dependabot squash and merge will squash and merge this PR after your CI passes on it
  • @dependabot cancel merge will cancel a previously requested merge and block automerging
  • @dependabot reopen will reopen this PR if it is closed
  • @dependabot close will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
  • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)

@dependabot @github

dependabot Bot commented on behalf of github Dec 1, 2021

Copy link
Copy Markdown
Contributor Author

@dependabot dependabot Bot added the dependencies Pull requests that update a dependency file label Dec 1, 2021
@viswajithiii

Copy link
Copy Markdown
Contributor

@dependabot recreate

Bumps [rest-assured](https://github.com/jayway/rest-assured) from 2.4.1 to 2.9.0.
- [Release notes](https://github.com/jayway/rest-assured/releases)
- [Changelog](https://github.com/rest-assured/rest-assured/blob/master/changelog.txt)
- [Commits](rest-assured/rest-assured@rest-assured-2.4.1...rest-assured-2.9.0)

---
updated-dependencies:
- dependency-name: com.jayway.restassured:rest-assured
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot dependabot Bot force-pushed the dependabot/gradle/qa-tests-backend/com.jayway.restassured-rest-assured-2.9.0 branch from c705d41 to ebf9528 Compare December 7, 2021 23:07
@ghost

ghost commented Dec 7, 2021

Copy link
Copy Markdown

@viswajithiii viswajithiii enabled auto-merge (squash) December 7, 2021 23:58
@viswajithiii viswajithiii merged commit 391a08e into master Dec 10, 2021
@viswajithiii viswajithiii deleted the dependabot/gradle/qa-tests-backend/com.jayway.restassured-rest-assured-2.9.0 branch December 10, 2021 17:14
RTann pushed a commit that referenced this pull request Apr 6, 2022
Bumps [rest-assured](https://github.com/jayway/rest-assured) from 2.4.1 to 2.9.0.
- [Release notes](https://github.com/jayway/rest-assured/releases)
- [Changelog](https://github.com/rest-assured/rest-assured/blob/master/changelog.txt)
- [Commits](rest-assured/rest-assured@rest-assured-2.4.1...rest-assured-2.9.0)

---
updated-dependencies:
- dependency-name: com.jayway.restassured:rest-assured
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
clickboo added a commit that referenced this pull request Dec 7, 2022
clickboo added a commit that referenced this pull request Jan 30, 2023
ivan-degtiarenko added a commit that referenced this pull request Apr 11, 2023
ivan-degtiarenko added a commit that referenced this pull request Apr 13, 2023
clickboo added a commit that referenced this pull request May 4, 2023
jvdm added a commit that referenced this pull request Jan 11, 2024
jvdm added a commit that referenced this pull request Jan 11, 2024
clickboo added a commit that referenced this pull request Jan 26, 2024
# This is the 1st commit message:

ROX-21597: Scan setting bindings v2 pipeline, datastore and store.

# The commit message #2 will be skipped:

# code review comments
clickboo added a commit that referenced this pull request Aug 27, 2024
# This is the 1st commit message:

WIP: Helm changes for config-controller

# The commit message #2 will be skipped:

# WIP: Helm changes for config-controller

# The commit message #3 will be skipped:

# helm ignore

# The commit message #4 will be skipped:

# remove comment block from deployment yaml

# The commit message #5 will be skipped:

# manager

# The commit message #6 will be skipped:

# remove indent

# The commit message #7 will be skipped:

# more fixes to indentation
@dashrews78 dashrews78 mentioned this pull request May 12, 2025
9 tasks
ajheflin added a commit that referenced this pull request Sep 3, 2025
@dcaravel dcaravel mentioned this pull request Jan 16, 2026
6 tasks
GrimmiMeloni added a commit that referenced this pull request Feb 2, 2026
…scriptors

Address three critical issues identified in code quality review:

Critical Issue #1: Unchecked Type Assertions
- Add checked type assertions at lines 29-42 for spec, crds, owned fields
- Add checked assertions at lines 46-60 for CRD and descriptor entries
- Add checked assertions at lines 84-89 in fixDescriptorOrder for path fields
- Add checked assertion at line 133-136 for currentPath field
- All failures now have proper error handling instead of panics

Critical Issue #2: Path Resolution Bug
- Fix lines 138-142 to check for strings.LastIndex returning -1
- Handle top-level paths (no dots) gracefully with early continue
- Prevents index-out-of-bounds panic when processing top-level fields

Critical Issue #3: URN Value Handling
- Fix line 125 to use strings.Join(parts[6:], ":")
- Preserves colons in URN values instead of truncating after first colon
- Handles values like "database:enabled" correctly

All existing tests pass. The tool now handles malformed input gracefully
with clear error messages instead of panicking.

This code was partially generated with AI assistance.

Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>
GrimmiMeloni added a commit that referenced this pull request Feb 3, 2026
…scriptors

Address three critical issues identified in code quality review:

Critical Issue #1: Unchecked Type Assertions
- Add checked type assertions at lines 29-42 for spec, crds, owned fields
- Add checked assertions at lines 46-60 for CRD and descriptor entries
- Add checked assertions at lines 84-89 in fixDescriptorOrder for path fields
- Add checked assertion at line 133-136 for currentPath field
- All failures now have proper error handling instead of panics

Critical Issue #2: Path Resolution Bug
- Fix lines 138-142 to check for strings.LastIndex returning -1
- Handle top-level paths (no dots) gracefully with early continue
- Prevents index-out-of-bounds panic when processing top-level fields

Critical Issue #3: URN Value Handling
- Fix line 125 to use strings.Join(parts[6:], ":")
- Preserves colons in URN values instead of truncating after first colon
- Handles values like "database:enabled" correctly

All existing tests pass. The tool now handles malformed input gracefully
with clear error messages instead of panicking.

This code was partially generated with AI assistance.

Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>
GrimmiMeloni added a commit that referenced this pull request Feb 3, 2026
…scriptors

Address three critical issues identified in code quality review:

Critical Issue #1: Unchecked Type Assertions
- Add checked type assertions at lines 29-42 for spec, crds, owned fields
- Add checked assertions at lines 46-60 for CRD and descriptor entries
- Add checked assertions at lines 84-89 in fixDescriptorOrder for path fields
- Add checked assertion at line 133-136 for currentPath field
- All failures now have proper error handling instead of panics

Critical Issue #2: Path Resolution Bug
- Fix lines 138-142 to check for strings.LastIndex returning -1
- Handle top-level paths (no dots) gracefully with early continue
- Prevents index-out-of-bounds panic when processing top-level fields

Critical Issue #3: URN Value Handling
- Fix line 125 to use strings.Join(parts[6:], ":")
- Preserves colons in URN values instead of truncating after first colon
- Handles values like "database:enabled" correctly

All existing tests pass. The tool now handles malformed input gracefully
with clear error messages instead of panicking.

This code was partially generated with AI assistance.

Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>
GrimmiMeloni added a commit that referenced this pull request Feb 5, 2026
…scriptors

Address three critical issues identified in code quality review:

Critical Issue #1: Unchecked Type Assertions
- Add checked type assertions at lines 29-42 for spec, crds, owned fields
- Add checked assertions at lines 46-60 for CRD and descriptor entries
- Add checked assertions at lines 84-89 in fixDescriptorOrder for path fields
- Add checked assertion at line 133-136 for currentPath field
- All failures now have proper error handling instead of panics

Critical Issue #2: Path Resolution Bug
- Fix lines 138-142 to check for strings.LastIndex returning -1
- Handle top-level paths (no dots) gracefully with early continue
- Prevents index-out-of-bounds panic when processing top-level fields

Critical Issue #3: URN Value Handling
- Fix line 125 to use strings.Join(parts[6:], ":")
- Preserves colons in URN values instead of truncating after first colon
- Handles values like "database:enabled" correctly

All existing tests pass. The tool now handles malformed input gracefully
with clear error messages instead of panicking.

This code was partially generated with AI assistance.

Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>
GrimmiMeloni added a commit that referenced this pull request Feb 5, 2026
…scriptors

Address three critical issues identified in code quality review:

Critical Issue #1: Unchecked Type Assertions
- Add checked type assertions at lines 29-42 for spec, crds, owned fields
- Add checked assertions at lines 46-60 for CRD and descriptor entries
- Add checked assertions at lines 84-89 in fixDescriptorOrder for path fields
- Add checked assertion at line 133-136 for currentPath field
- All failures now have proper error handling instead of panics

Critical Issue #2: Path Resolution Bug
- Fix lines 138-142 to check for strings.LastIndex returning -1
- Handle top-level paths (no dots) gracefully with early continue
- Prevents index-out-of-bounds panic when processing top-level fields

Critical Issue #3: URN Value Handling
- Fix line 125 to use strings.Join(parts[6:], ":")
- Preserves colons in URN values instead of truncating after first colon
- Handles values like "database:enabled" correctly

All existing tests pass. The tool now handles malformed input gracefully
with clear error messages instead of panicking.

This code was partially generated with AI assistance.

Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>
davdhacs added a commit that referenced this pull request May 22, 2026
davdhacs added a commit that referenced this pull request May 22, 2026
davdhacs added a commit that referenced this pull request Jun 4, 2026
…echanism

Tests all combinations of:
- Signal type: SIGTERM, SIGKILL, SIGINT
- Source: from step directly vs from background nohup process
- Target: parent PPID, process group, step's own bash PID
- Timing: SIGTERM fires while original step still sleeping vs during a different step

Key tests:
  #2: bg SIGTERM, same step sleeping → does staying alive in step → cancelled?
  #4: bg SIGTERM, different step sleeping → does any sleeping step work?
  #5: bg SIGKILL same step sleeping
  #6: bg SIGKILL next step → if cancelled, trivial 1-line fix in monitor.sh
  #9: bg SIGTERM to process group
  #10: exact current monitor behavior (control, known 'failure')

Results map directly to a decision matrix for the fix.

AI-assisted change.

Co-Authored-By: Claude Sonnet 4.6 (1M context) <noreply@anthropic.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

dependencies Pull requests that update a dependency file

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants