Skip to content

Commit

Permalink
[Th2-5165] Cradle API uses page day cache (#98)
Browse files Browse the repository at this point in the history
* Updated github workflow
  • Loading branch information
Nikita-Smirnov-Exactpro authored Mar 6, 2024
1 parent ea7b398 commit 379f6ae
Show file tree
Hide file tree
Showing 9 changed files with 60 additions and 84 deletions.
14 changes: 14 additions & 0 deletions .github/workflows/build-dev-release.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
name: Build and publish dev release Docker image to Github Container Registry ghcr.io

on: workflow_dispatch

jobs:
build:
uses: th2-net/.github/.github/workflows/compound-java.yml@main
with:
build-target: 'Docker'
devRelease: true
createTag: true
docker-username: ${{ github.actor }}
secrets:
docker-password: ${{ secrets.GITHUB_TOKEN }}
14 changes: 14 additions & 0 deletions .github/workflows/build-release.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
name: Build and publish release Docker image to Github Container Registry ghcr.io

on: workflow_dispatch

jobs:
build:
uses: th2-net/.github/.github/workflows/compound-java.yml@main
with:
build-target: 'Docker'
devRelease: false
createTag: true
docker-username: ${{ github.actor }}
secrets:
docker-password: ${{ secrets.GITHUB_TOKEN }}
19 changes: 19 additions & 0 deletions .github/workflows/build-sanpshot.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
name: Build and publish Docker image to Github Container Registry ghcr.io

on:
push:
branches-ignore:
- master
- version-*
- dependabot**
paths-ignore:
- README.md

jobs:
build-job:
uses: th2-net/.github/.github/workflows/compound-java-dev.yml@main
with:
build-target: 'Docker'
docker-username: ${{ github.actor }}
secrets:
docker-password: ${{ secrets.GITHUB_TOKEN }}
30 changes: 0 additions & 30 deletions .github/workflows/dev-java-publish-sonatype-and-docker.yml

This file was deleted.

22 changes: 0 additions & 22 deletions .github/workflows/dev-release-java-publish-sonatype-and-docker.yml

This file was deleted.

24 changes: 0 additions & 24 deletions .github/workflows/java-publish-sonatype-and-docker.yml

This file was deleted.

7 changes: 6 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# Overview (5.3.0)
# Overview (5.4.0)

Event store (estore) is an important th2 component responsible for storing events into Cradle. Please refer to [Cradle repository] (https://github.com/th2-net/cradleapi/blob/master/README.md) for more details. This component has a pin for listening events via MQ.

Expand Down Expand Up @@ -73,6 +73,11 @@ Please see more details about this feature via [link](https://github.com/th2-net

# Changes

## 5.4.0

* Updated cradle api: `5.2.0-dev`
* Updated common: `5.8.0-dev`

## 5.3.0

* Estore persists event with aggregated statistics about internal errors into cradle periodically
Expand Down
10 changes: 5 additions & 5 deletions build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ plugins {
}

ext {
cradleVersion = '5.1.4-dev'
cradleVersion = '5.2.0-dev'
}

group = 'com.exactpro.th2'
Expand Down Expand Up @@ -162,7 +162,7 @@ signing {

dependencies {
api platform('com.exactpro.th2:bom:4.5.0')
implementation 'com.exactpro.th2:common:5.6.0-dev'
implementation 'com.exactpro.th2:common:5.8.0-dev'
implementation("com.exactpro.th2:common-utils:2.2.2-dev") {
because("executor service utils is used")
}
Expand All @@ -179,12 +179,12 @@ dependencies {

implementation 'com.fasterxml.jackson.core:jackson-databind'
implementation('com.fasterxml.jackson.datatype:jackson-datatype-jsr310') {
because("Error collector serialise Intant values")
because("Error collector serialise Instant values")
}

testImplementation 'org.apache.commons:commons-lang3'
testImplementation 'org.junit.jupiter:junit-jupiter:5.10.0'
testImplementation 'org.mockito:mockito-junit-jupiter:5.4.0'
testImplementation 'org.junit.jupiter:junit-jupiter:5.10.2'
testImplementation 'org.mockito:mockito-junit-jupiter:5.10.0'
}

test {
Expand Down
4 changes: 2 additions & 2 deletions gradle.properties
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
release_version=5.3.0
release_version=5.4.0
description='th2 estore component'
vcs_url=https://github.com/th2-net/th2-estore
vcs_url=https://github.com/th2-net/th2-estore

0 comments on commit 379f6ae

Please sign in to comment.