-
Notifications
You must be signed in to change notification settings - Fork 5
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Upgrading kayenta-oes from OES-1.30.X to OES-1.33.X #21
Upgrading kayenta-oes from OES-1.30.X to OES-1.33.X #21
Conversation
Co-authored-by: root <root@d02b16e0674c>
Co-authored-by: root <root@1b307cefe88f>
…unt configurations persistence. (spinnaker#938) * feat: SPLAT-569: Add a MySQL data source for account credentials and account configurations persistence. * feat: SPLAT-569: Add unit tests. * feat: SPLAT-569: Adjust type of content column. * feat: SPLAT-569: Move common fields to a base class. * feat: SPLAT-569: Fix dependencies. * feat: SPLAT-569: Fix migration.
Co-authored-by: root <root@3cb4e1a6c2a0>
Co-authored-by: root <root@09edb544a130>
Co-authored-by: root <root@f274a1e40998>
Bumps [actions/checkout](https://github.com/actions/checkout) from 2 to 3. - [Release notes](https://github.com/actions/checkout/releases) - [Changelog](https://github.com/actions/checkout/blob/main/CHANGELOG.md) - [Commits](actions/checkout@v2...v3) --- updated-dependencies: - dependency-name: actions/checkout dependency-type: direct:production update-type: version-update:semver-major ... Signed-off-by: dependabot[bot] <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
…o 1 (spinnaker#950) Bumps [google-github-actions/upload-cloud-storage](https://github.com/google-github-actions/upload-cloud-storage) from 0 to 1. - [Release notes](https://github.com/google-github-actions/upload-cloud-storage/releases) - [Changelog](https://github.com/google-github-actions/upload-cloud-storage/blob/main/CHANGELOG.md) - [Commits](google-github-actions/upload-cloud-storage@v0...v1) --- updated-dependencies: - dependency-name: google-github-actions/upload-cloud-storage dependency-type: direct:production update-type: version-update:semver-major ... Signed-off-by: dependabot[bot] <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Bumps [google-github-actions/auth](https://github.com/google-github-actions/auth) from 0 to 1. - [Release notes](https://github.com/google-github-actions/auth/releases) - [Changelog](https://github.com/google-github-actions/auth/blob/main/CHANGELOG.md) - [Commits](google-github-actions/auth@v0...v1) --- updated-dependencies: - dependency-name: google-github-actions/auth dependency-type: direct:production update-type: version-update:semver-major ... Signed-off-by: dependabot[bot] <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: mergify[bot] <37929162+mergify[bot]@users.noreply.github.com>
Bumps [actions/setup-java](https://github.com/actions/setup-java) from 2 to 3. - [Release notes](https://github.com/actions/setup-java/releases) - [Commits](actions/setup-java@v2...v3) --- updated-dependencies: - dependency-name: actions/setup-java dependency-type: direct:production update-type: version-update:semver-major ... Signed-off-by: dependabot[bot] <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Bumps [docker/build-push-action](https://github.com/docker/build-push-action) from 3 to 4. - [Release notes](https://github.com/docker/build-push-action/releases) - [Commits](docker/build-push-action@v3...v4) --- updated-dependencies: - dependency-name: docker/build-push-action dependency-type: direct:production update-type: version-update:semver-major ... Signed-off-by: dependabot[bot] <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: mergify[bot] <37929162+mergify[bot]@users.noreply.github.com>
…iles (spinnaker#955) to avoid warning messages like Run echo ::set-output name=REPO::${GITHUB_REPOSITORY##*/} Warning: The `set-output` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/ Warning: The `set-output` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
* feat: SPLAT-582: Add a storage data migrator. * feat: SPLAT-582: Add warning log when migrating object already exists. * feat: SPLAT-582: Remove SQL word from data migration properties. * feat: SPLAT-582: Adjust logs. * feat: SPLAT-582: Adjust configs.
…id) (spinnaker#939) Co-authored-by: Mark Rampton <[email protected]>
Co-authored-by: root <root@daa08b560ddd>
…rom kayenta in order to upgrade gradle 7 (spinnaker#961) While executing the build script with --warning-mode=fail received below error: ``` Deprecated Gradle features were used in this build, making it incompatible with Gradle 7.0 ``` And the deprecated gradle features are: ``` > Configure project :kayenta-graphite Adding a Configuration as a dependency is a confusing behavior which isn't recommended. This behaviour has been deprecated and is scheduled to be removed in Gradle 8.0. If you're interested in inheriting the dependencies from the Configuration you are adding, you should use Configuration#extendsFrom instead. See https://docs.gradle.org/6.8.1/dsl/org.gradle.api.artifacts.Configuration.html#org.gradle.api.artifacts.Configuration:extendsFrom(org.gradle.api.artifacts.Configuration[]) for more details. at kayenta_graphite_1x9iez1l2pvtbue1zqbkhdpai$_run_closure9.doCall(/kayenta/kayenta-graphite/kayenta-graphite.gradle:177) (Run with --stacktrace to get the full stack trace of this deprecation warning.) > Configure project :kayenta-signalfx Adding a Configuration as a dependency is a confusing behavior which isn't recommended. This behaviour has been deprecated and is scheduled to be removed in Gradle 8.0. If you're interested in inheriting the dependencies from the Configuration you are adding, you should use Configuration#extendsFrom instead. See https://docs.gradle.org/6.8.1/dsl/org.gradle.api.artifacts.Configuration.html#org.gradle.api.artifacts.Configuration:extendsFrom(org.gradle.api.artifacts.Configuration[]) for more details. at kayenta_signalfx_2dzxi188pne1dhhtc7zkfa5wn$_run_closure7.doCall(/kayenta/kayenta-signalfx/kayenta-signalfx.gradle:119) (Run with --stacktrace to get the full stack trace of this deprecation warning.) ``` Replaced with Configuration#extendsFrom.
Co-authored-by: root <root@c4a3f8fec9ac>
Co-authored-by: root <root@dd6eae37ba45>
Co-authored-by: root <root@4689353c0091>
Co-authored-by: root <root@117fc153e271>
…RDERING_V2) for gradle dependencies (spinnaker#971) With gradle 6.x, used [feature preview API](https://docs.gradle.org/7.6.1/userguide/feature_lifecycle.html#feature_preview) to take advantage of [improvised dependency version ordering](https://docs.gradle.org/6.5/release-notes.html#improved-dependency-version-ordering). This feature is made public for gradle 7.x. So, removing it from settings.gradle as we moved to gradle 7.6.1
Co-authored-by: root <root@fa12a2dcfdcb>
Co-authored-by: root <root@059f8d0b8106>
…fitError catch blocks (spinnaker#972) * add spinnakerRetrofitErrorHandler and replace RetrofitError catch blocks with SpinnakerServerException, etc * feat(exceptions): add spinnakerRetrofitErrorHandler and replace RetrofitError catch blocks with SpinnakerServerException, etc * revert reduction in functionality for SignalFxMetricsService + other minor changes * feat(exceptions): replace retrofit error in kayenta-signalfx * fix format violations * fix failing tests and add missing cause for IllegalArgumentException in ConfigBinStorageService.java * kayenta-core format fixes * catch SpinnakerServerException instead of both SpinnakerNetworkException and SpinnakerHttpException --------- Co-authored-by: abe garcia <[email protected]> Co-authored-by: Cameron Motevasselani <[email protected]>
* Fixed Parameterized Tests in kayenta-blobs * Junit4 to Junit5 Migration Code Changes --------- Co-authored-by: aman-agrawal <9412470@gmail,com>
… changes for githubWorkFlow and Dockerfile.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
…3.x' into feature/OP-22224-OES-upgrade-1.33.x # Conflicts: # build.gradle # settings.gradle
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Few minor changes required. Rest LGTM !
@@ -4,7 +4,9 @@ dependencies { | |||
|
|||
api 'com.microsoft.azure:azure-storage:8.3.0' | |||
testImplementation group: 'org.mockito', name: 'mockito-core', version: '1.9.10' | |||
testImplementation group: 'com.tngtech.java', name: 'junit-dataprovider', version: '1.13.1' | |||
} | |||
test { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Duplicate code.
|
||
implementation "io.spinnaker.kork:kork-retrofit" | ||
} | ||
test { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Duplicate code.
@@ -20,12 +20,12 @@ | |||
import static com.netflix.kayenta.security.AccountCredentials.Type.METRICS_STORE; | |||
import static com.netflix.kayenta.security.AccountCredentials.Type.OBJECT_STORE; | |||
import static com.netflix.kayenta.security.AccountCredentials.Type.REMOTE_JUDGE; | |||
import static org.assertj.core.api.Assertions.assertThat; | |||
import static org.assertj.core.api.Assertions.assertThatThrownBy; | |||
import static org.assertj.core.api.Assertions.*; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Import specific package instead of *.
testImplementation group: 'org.mock-server', name: 'mockserver-junit-rule', version: '5.10.0' | ||
testImplementation "org.mock-server:mockserver-junit-jupiter:5.15.0" | ||
} | ||
test { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Duplicate code.
testImplementation 'org.mock-server:mockserver-junit-rule:5.11.1' | ||
testImplementation "org.mock-server:mockserver-junit-jupiter:5.15.0" | ||
} | ||
test { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Duplicate code.
https://devopsmx.atlassian.net/browse/OP-22085 : ParentJira
https://devopsmx.atlassian.net/browse/OP-22224 : JIra
Testing :
Tested in local: Kayenta instance is up and application running successfully. Able to load swagger UI.
Note:
All commits covered - verified from sheet.