Skip to content

Fix to better handle lambda responses when they are empty or null or not a valid json #10660

Fix to better handle lambda responses when they are empty or null or not a valid json

Fix to better handle lambda responses when they are empty or null or not a valid json #10660

# This workflow will build a Java project with Gradle
# For more information see: https://help.github.com/actions/language-and-framework-guides/building-and-testing-java-with-gradle
name: Data Prepper Trace Analytics Raw Span End-to-end test with Gradle
on:
push:
branches: [ main ]
pull_request:
workflow_dispatch:
jobs:
build:
strategy:
matrix:
java: [11, 17, 21, docker]
otelVersion: ['0.9.0-alpha', '0.16.0-alpha']
fail-fast: false
runs-on: ubuntu-latest
steps:
- name: Set up JDK 11
uses: actions/setup-java@v1
with:
java-version: 11
- name: Checkout Data Prepper
uses: actions/checkout@v2
- name: Run raw-span end-to-end tests with Gradle
run: ./gradlew -PopenTelemetryVersion=${{ matrix.otelVersion }} -PendToEndJavaVersion=${{ matrix.java }} :e2e-test:trace:rawSpanEndToEndTest