-
Notifications
You must be signed in to change notification settings - Fork 37
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add created, updated, and provisioned timestamps to saved template (#551
) * Add created, last updated, and last provisioned fields to Template Signed-off-by: Daniel Widdis <widdis@gmail.com> * Change last updated timestamp when updating workflow Signed-off-by: Daniel Widdis <widdis@gmail.com> * Change last provisioned timestamp when provisioning workflow Signed-off-by: Daniel Widdis <widdis@gmail.com> * Allow overriding template not started check Signed-off-by: Daniel Widdis <widdis@gmail.com> * Use java.time and not joda time Signed-off-by: Daniel Widdis <widdis@gmail.com> * Preserve timestamps when encrypting and redacting template Signed-off-by: Daniel Widdis <widdis@gmail.com> * Add bwc tests, more timestamp testing Signed-off-by: Daniel Widdis <widdis@gmail.com> * Build a Template from an existing one Signed-off-by: Daniel Widdis <widdis@gmail.com> * Rename param, add comments Signed-off-by: Daniel Widdis <widdis@gmail.com> --------- Signed-off-by: Daniel Widdis <widdis@gmail.com>
- Loading branch information
Showing
21 changed files
with
875 additions
and
126 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,45 @@ | ||
name: BWC | ||
on: | ||
push: | ||
branches: | ||
- "**" | ||
pull_request: | ||
branches: | ||
- "**" | ||
|
||
jobs: | ||
Build-ff-linux: | ||
strategy: | ||
matrix: | ||
java: [11,17,21] | ||
fail-fast: false | ||
|
||
name: Test Flow Framework BWC | ||
runs-on: ubuntu-latest | ||
|
||
steps: | ||
- name: Setup Java ${{ matrix.java }} | ||
uses: actions/setup-java@v4 | ||
with: | ||
distribution: 'temurin' | ||
java-version: ${{ matrix.java }} | ||
|
||
- name: Checkout Flow Framework | ||
uses: actions/checkout@v4 | ||
|
||
- name: Assemble Flow Framework | ||
run: | | ||
plugin_version=`./gradlew properties -q | grep "opensearch_build:" | awk '{print $2}'` | ||
echo plugin_version $plugin_version | ||
./gradlew assemble | ||
echo "Creating ./src/test/resources/org/opensearch/flowframework/bwc/flow-framework/$plugin_version ..." | ||
mkdir -p ./src/test/resources/org/opensearch/flowframework/bwc/flow-framework/$plugin_version | ||
echo "Copying ./build/distributions/*.zip to ./src/test/resources/org/opensearch/flowframework/bwc/flow-framework/$plugin_version ..." | ||
ls ./build/distributions/ | ||
cp ./build/distributions/*.zip ./src/test/resources/org/opensearch/flowframework/bwc/flow-framework/$plugin_version | ||
echo "Copied ./build/distributions/*.zip to ./src/test/resources/org/opensearch/flowframework/bwc/flow-framework/$plugin_version ..." | ||
ls ./src/test/resources/org/opensearch/flowframework/bwc/flow-framework/$plugin_version | ||
- name: Run Flow Framework Backwards Compatibility Tests | ||
run: | | ||
echo "Running backwards compatibility tests ..." | ||
./gradlew bwcTestSuite -Dtests.security.manager=false |
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.