-
Notifications
You must be signed in to change notification settings - Fork 35
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Retry for ingestion Resources (#356)
* Remove irrelvant tests * Fix ignored tests * Add build file * Added Retry for refresh ingestion * Code changes for TCs * ghCI change --------- Co-authored-by: Ramachandran A G <[email protected]>
- Loading branch information
1 parent
f327408
commit a317093
Showing
10 changed files
with
161 additions
and
106 deletions.
There are no files selected for viewing
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,36 @@ | ||
name: Build Java | ||
on: | ||
push: | ||
branches: [ '**' ] | ||
pull_request: | ||
branches: [ '**' ] | ||
jobs: | ||
build: | ||
runs-on: ubuntu-latest | ||
name: Setup Java 8, build and run tests | ||
steps: | ||
- uses: actions/checkout@v2 | ||
- name: Setup java | ||
uses: actions/setup-java@v3 | ||
with: | ||
distribution: 'adopt' | ||
java-version: 8 | ||
cache: 'maven' | ||
- name: Run the Maven verify phase | ||
env: | ||
kustoAadAuthorityID: ${{ secrets.TENANT_ID }} | ||
kustoAadAppSecret: ${{ secrets.APP_SECRET }} | ||
kustoDatabase: ${{ secrets.DATABASE }} | ||
kustoCluster: ${{ secrets.CLUSTER }} | ||
SecretPath: ${{ secrets.SECRET_PATH }} | ||
kustoAadAppId: ${{secrets.APP_ID}} | ||
run: mvn clean verify -DkustoAadAppId=${{ secrets.APP_ID }} -DkustoAadAuthorityID=${{ secrets.TENANT_ID }} -DkustoAadAppSecret=${{ secrets.APP_SECRET }} -DkustoDatabase=${{ secrets.DATABASE }} -DkustoCluster=${{ secrets.CLUSTER }} -DSecretPath=${{ secrets.SECRET_PATH }} | ||
- name: Publish Unit Test Results | ||
uses: EnricoMi/publish-unit-test-result-action@v2 | ||
if: always() | ||
with: | ||
files: | | ||
data/target/surefire-reports/*.xml | ||
ingest/target/surefire-reports/*.xml | ||
- name: Upload coverage to Codecov | ||
uses: codecov/codecov-action@v2 |
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
5 changes: 5 additions & 0 deletions
5
...or/src/main/scala/com/microsoft/kusto/spark/exceptions/NoStorageContainersException.scala
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,5 @@ | ||
package com.microsoft.kusto.spark.exceptions | ||
|
||
case class NoStorageContainersException(msg: String) extends scala.Exception(msg) { | ||
|
||
} |
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.