SteeltoeOSS / Samples

Steeltoe samples and reference application collection
https://steeltoe.io/
Apache License 2.0
641 stars 250 forks source link

Update connector samples against latest Steeltoe main branch (nullability and optional parameters) #300

Closed bart-vmware closed 11 months ago

bart-vmware commented 11 months ago

@TimHess Any chance you can fix the broken certificate in the test environment? Or set up a new environment, if that's easier? Integration tests are failing with:

HOOK-ERROR in before_scenario: CommandException: command returned non-zero return code: 1, stderr:
Invalid SSL Cert for https://api.sys.pasorobles.cf-app.com
TIP: Use 'cf login --skip-ssl-validation' to continue with an insecure API endpoint

So I've added the flag, but now tests fail with:

ssl.SSLCertVerificationError: [SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed: unable to get local issuer certificate (_ssl.c:1007)

when a scenario step tries to request the app URL. This originates from Python code here that seems to drive a browser instance.

/cc @ccheetham