Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Bump h2 from 2.0.202 to 2.0.206 in /karate-demo #1886

Merged

Conversation

dependabot[bot]
Copy link
Contributor

@dependabot dependabot bot commented on behalf of github Jan 6, 2022

Bumps h2 from 2.0.202 to 2.0.206.

Release notes

Sourced from h2's releases.

Version 2.0.206

Critical security issue with H2 console is fixed.

Also important changes included:

Version 2.0.204

Multilple regression fixes discovered after 2.0.202 release,

There are no persistence changes between 2.0.202 and 2.0.204, so jar file swap is enough, if database had been upgraded to 2.0.202 already, otherwise please read the message below:

Between version 1.4.200 and version 2.0.202 there have been considerable changes, such that a simple update is not possible. The official way to upgrade is to do a BACKUP of your existing database USING YOUR CURRENT VERSION OF H2. Then create a fresh database USING THE NEW VERSION OF H2, then perform a SCRIPT to load your data.

Commits
  • 3d957a0 Release 2.0.206 preparation
  • 2b6e303 Update changelog
  • b24aa46 Check URL scheme
  • 4a2e677 Get data types directly from linked tables from H2
  • 69aff24 Fix ValueVarcharIgnoreCase.equals()
  • 0ebf142 Fix group-sorted optimization for data types with different equal values
  • 8aca5f4 Correct Date and Time part in tutorial.html
  • 4bfd6f0 Add support of H2 2.0+ to source.html and sourceError.html
  • 927c830 Update copyright years
  • abac6c8 Next development version
  • 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 use these labels will set the current labels as the default for future PRs for this repo and language
  • @dependabot use these reviewers will set the current reviewers as the default for future PRs for this repo and language
  • @dependabot use these assignees will set the current assignees as the default for future PRs for this repo and language
  • @dependabot use this milestone will set the current milestone as the default for future PRs for this repo and language

You can disable automated security fix PRs for this repo from the Security Alerts page.

Bumps [h2](https://github.com/h2database/h2database) from 2.0.202 to 2.0.206.
- [Release notes](https://github.com/h2database/h2database/releases)
- [Commits](h2database/h2database@version-2.0.202...version-2.0.206)

---
updated-dependencies:
- dependency-name: com.h2database:h2
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot dependabot bot added the dependencies Pull requests that update a dependency file label Jan 6, 2022
@ptrthomas ptrthomas merged commit 5050e30 into master Jan 7, 2022
@dependabot dependabot bot deleted the dependabot/maven/karate-demo/com.h2database-h2-2.0.206 branch January 7, 2022 01:21
@yulian252003
Copy link

I was able to solve the problem how to attach and send a .zip using Karate with soap. Can I send the solution? Maybe it can be useful to someone.

@yulian252003
Copy link

This is the response:

Feature:Sample karate test script for a soap service

Background:
* url 'https://tesging.com?wsdl'
* configure charset = null
* def Base64 = Java.type('java.util.Base64')

Scenario: testing

  Given def requestTemp =
"""

<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:web="http://webservice.lote.com">
soapenv:Header/
soapenv:Body
web:InsertLote
web:pLogin12345TG</web:pLogin>
web:pPassword334455</web:pPassword>
web:pNomeDoLoteTeste</web:pNomeDoLote>
web:pLoteNomeDoArquivoarquivoLote</web:pLoteNomeDoArquivo>
web:pDescricaoDoLoteteste</web:pDescricaoDoLote>
<web:pDataDeAgendamento xsi:nil="true" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"/>
web:pArquivoDeLote${loteBase64}</web:pArquivoDeLote>
web:pContratanteId1</web:pContratanteId>
<web:pOperationId xsi:nil="true" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"/>
<web:pGroupId xsi:nil="true" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"/>
</soapenv:Body>
</soapenv:Envelope>
"""
And def loteBase64f = Base64.encoder.encodeToString(read("CORREIOS.zip"))
And replace requestTemp.${loteBase64} = loteBase64f
And request requestTemp
When method POST
Then status 200
And print response
And match response /Envelope/Body/InsertLoteResponse/return/status == '0100'

@ptrthomas
Copy link
Member

@yulian252003 this is not the right place, to really help others, please post this as an answer here (and try to follow stack overflow guidelines): https://stackoverflow.com/q/70594629/143475

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