Skip to content

Commit

Permalink
Updates for release-9.0.0 (#1044)
Browse files Browse the repository at this point in the history
* Updates for release-9.0.0

* fix the add provider/rule fields name due to schema changes in cumulus v10.0.0

Co-authored-by: Jenny Liu <[email protected]>
  • Loading branch information
flamingbear and jennyhliu committed Feb 3, 2022
1 parent c613924 commit 7682b8d
Show file tree
Hide file tree
Showing 6 changed files with 1,121 additions and 185 deletions.
11 changes: 10 additions & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,14 @@ and this project adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0.

## [Unreleased]

## [v9.0.0] - 2022-02-01

## Breaking Changes

This version of the dashboard requires Cumulus API v10.0.0

## All Changes

### Added

- **CUMULUS-2687**
Expand Down Expand Up @@ -1218,7 +1226,8 @@ Fix for serving the dashboard through the Cumulus API.
### Added

- Versioning and changelog [CUMULUS-197] by @kkelly51
[Unreleased]: https://github.com/nasa/cumulus-dashboard/compare/v8.0.0...HEAD
[Unreleased]: https://github.com/nasa/cumulus-dashboard/compare/v9.0.0...HEAD
[v9.0.0]: https://github.com/nasa/cumulus-dashboard/compare/v8.0.0...v9.0.0
[v8.0.0]: https://github.com/nasa/cumulus-dashboard/compare/v7.1.0...v8.0.0
[v7.1.0]: https://github.com/nasa/cumulus-dashboard/compare/v7.0.0...v7.1.0
[v7.0.0]: https://github.com/nasa/cumulus-dashboard/compare/v6.0.0...v7.0.0
Expand Down
2 changes: 1 addition & 1 deletion app/src/js/config/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ const deploymentConfig = require('./config');
const baseConfig = {
environment: 'development',
requireEarthdataLogin: false,
minCompatibleApiVersion: 'v9.9.0',
minCompatibleApiVersion: 'v10.0.0',
oauthMethod: 'earthdata',

graphicsPath: '/src/assets/images/',
Expand Down
4 changes: 2 additions & 2 deletions cypress/integration/providers_spec.js
Original file line number Diff line number Diff line change
Expand Up @@ -46,8 +46,8 @@ describe('Dashboard Providers Page', () => {
'Host',
];
const expectedFieldsAuth = ['Port', 'Username', 'Password'];
const expectedFieldsHttp = ['Allowed Redirects', 'Certificate Uri'];
const expectedFieldsSftp = ['Private Key', 'Cm Key Id'];
const expectedFieldsHttp = ['Allowed Redirects', 'S 3 URI For Custom SSL Certificate'];
const expectedFieldsSftp = ['Private Key', 'AWS KMS Customer Master Key ARN Or Alias'];
it('should go to add providers page', () => {
cy.visit('/providers');
cy.contains('.heading--large', 'Provider Overview');
Expand Down
4 changes: 2 additions & 2 deletions cypress/integration/rules_spec.js
Original file line number Diff line number Diff line change
Expand Up @@ -134,7 +134,7 @@ describe('Rules page', () => {
cy.contains('div[id*="react-select"]', collection).click();

cy.get('@ruleInput')
.contains('.form__textarea', 'Optional Meta Data For The Rule');
.contains('.form__textarea', 'Metadata');
// test invalid json error
cy.window().its('aceEditorRef').its('editor').then((editor) => {
editor.setValue('{badjson}');
Expand All @@ -155,7 +155,7 @@ describe('Rules page', () => {
cy.contains('div[id*="react-select"]', 'ENABLED').click();

cy.contains('form button', 'Submit').click();
const errorMessage = 'Please review the following fields and submit again: \'Optional Meta Data For The Rule\'';
const errorMessage = 'Please review the following fields and submit again: \'Metadata\'';
cy.contains('.error__report', errorMessage);

// fix the json input
Expand Down
Loading

0 comments on commit 7682b8d

Please sign in to comment.