-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[Th2-5165] Use cache in BookInfo (#253)
* bookId, page name, page start are unique page identifier * Added book info metrics * [TH2-5165] Removed ThreadSafeProvider class * [TH2-5165] Corrected java doc in BookInfo * [TH2-5165] Corrected after review * [TH2-5165] Corrected after review * [TH2-5165] Fixed problem with Instant MIN/MAX conversion problem * [TH2-5165] Corrected book cache behaviour when book has gap * [TH2-5165] Added testAddPageInTheMiddleOfExist * [TH2-5165] corrected after review * Update cradle-cassandra/src/test/java/com/exactpro/cradle/cassandra/integration/BaseCradleCassandraTest.java Co-authored-by: Oleg Smirnov <[email protected]> * [TH2-5165] corrected after review * [TH2-5165] removed java 17 API * [TH2-5165] corrected book info metrics * [TH2-5165] added testAddTheSecondPageBeforeThreshold test * [TH2-5165] added randomAccessDaysInvalidateInterval option * [TH2-5165] corrected after review * [TH2-5165] revert BOOK_LABEL to book * [TH2-5165] revert logic to skip register load for empty day page interval * [TH2-5165] revert logic to skip register load for empty day page interval * [TH2-5165] merged with dev-version-5 * [TH2-5165] added BookWithoutPageTest * [TH2-5165] corrected after review * [TH2-5165] Updated github workflow --------- Co-authored-by: Oleg Smirnov <[email protected]>
- Loading branch information
1 parent
e6e84ec
commit 40c0478
Showing
70 changed files
with
3,708 additions
and
1,162 deletions.
There are no files selected for viewing
9 changes: 3 additions & 6 deletions
9
...ows/dev-release-java-publish-sonatype.yml → .github/workflows/build-dev-release.yml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
name: Build and publish release jar to sonatype repository | ||
|
||
on: workflow_dispatch | ||
|
||
jobs: | ||
build: | ||
uses: th2-net/.github/.github/workflows/compound-java.yml@main | ||
with: | ||
build-target: 'Sonatype' | ||
devRelease: false | ||
createTag: true | ||
secrets: | ||
sonatypeUsername: ${{ secrets.SONATYPE_NEXUS_USERNAME }} | ||
sonatypePassword: ${{ secrets.SONATYPE_NEXUS_PASSWORD }} | ||
sonatypeSigningKey: ${{ secrets.SONATYPE_GPG_ARMORED_KEY }} | ||
sonatypeSigningPassword: ${{ secrets.SONATYPE_SIGNING_PASSWORD }} |
14 changes: 8 additions & 6 deletions
14
...b/workflows/dev-java-publish-sonatype.yml → .github/workflows/build-sanpshot.yml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,19 +1,21 @@ | ||
name: Dev build and publish Java distributions to sonatype snapshot repository | ||
name: Build and publish jar to sonatype snapshot repository | ||
|
||
on: | ||
push: | ||
branches-ignore: | ||
- master | ||
- version-* | ||
- master | ||
- version-* | ||
- dependabot* | ||
paths-ignore: | ||
- README.md | ||
|
||
jobs: | ||
build-job: | ||
uses: th2-net/.github/.github/workflows/compound-java-dev.yml@main | ||
with: | ||
multiproject: true | ||
build-target: 'Sonatype' | ||
runsOn: ubuntu-latest | ||
secrets: | ||
sonatypeUsername: ${{ secrets.SONATYPE_NEXUS_USERNAME }} | ||
sonatypePassword: ${{ secrets.SONATYPE_NEXUS_PASSWORD }} | ||
sonatypeSigningKey: ${{ secrets.SONATYPE_GPG_ARMORED_KEY }} | ||
sonatypeSigningPassword: ${{ secrets.SONATYPE_SIGNING_PASSWORD }} | ||
sonatypeSigningPassword: ${{ secrets.SONATYPE_SIGNING_PASSWORD }} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,26 @@ | ||
name: "Run integration tests for cradle API" | ||
|
||
on: | ||
push: | ||
branches: | ||
- '*' | ||
|
||
jobs: | ||
tests: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: actions/checkout@v4 | ||
- name: Set up JDK 'zulu' '11' | ||
uses: actions/setup-java@v3 | ||
with: | ||
distribution: 'zulu' | ||
java-version: '11' | ||
- name: Setup Gradle | ||
uses: gradle/gradle-build-action@v2 | ||
- name: Build with Gradle | ||
run: ./gradlew --info clean integrationTest | ||
- uses: actions/upload-artifact@v3 | ||
if: failure() | ||
with: | ||
name: integration-test-results | ||
path: build/reports/tests/integrationTest/ |
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.