Skip to content

Commit

Permalink
traffic-provBZ: add logging to debug json mapping issue; bump cicd ru…
Browse files Browse the repository at this point in the history
…nner and localdev docker image
  • Loading branch information
clezag committed Jan 24, 2025
1 parent eb364c9 commit e1a2c89
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 4 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/ci-traffic-bz.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ env:

jobs:
test:
runs-on: ubuntu-20.04
runs-on: ubuntu-24.04
steps:
- name: Checkout source code
uses: noi-techpark/github-actions/checkout@v2
Expand All @@ -30,7 +30,7 @@ jobs:

# Deploy Test
deploy-test-traffic-bz:
runs-on: ubuntu-20.04
runs-on: ubuntu-24.04
if: github.ref == 'refs/heads/main'
needs: test
concurrency: deploy-test-traffic-bz
Expand Down Expand Up @@ -63,7 +63,7 @@ jobs:
X_BASE_URI: https://mobility.share.opendatahub.testingmachine.eu/json

# Logging
X_LOG_LEVEL: info
X_LOG_LEVEL: debug
X_LOG_STYLE: json
X_provenance_name: ${{ env.PROJECT_NAME }}
X_provenance_version: ${{ github.sha }}
Expand Down
2 changes: 1 addition & 1 deletion data-collectors/traffic-provBZ/docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@

services:
app:
image: maven:3-jdk-8-alpine
image: maven:3-eclipse-temurin-17-alpine
network_mode: host
env_file:
- .env
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -101,6 +101,7 @@ public MetadataDto[] getStationsData() throws IOException {
HttpResponse response = client.execute(new HttpGet(stationsDataUrl));
HttpEntity entity = response.getEntity();
String responseString = EntityUtils.toString(entity, RESPONSE_CHARSET);
LOG.debug("Dumping stations json: " + responseString);
return objectMapper.readValue(responseString, MetadataDto[].class);
}

Expand Down

0 comments on commit e1a2c89

Please sign in to comment.