Skip to content

Commit

Permalink
Merge pull request #1003 from nasa/develop
Browse files Browse the repository at this point in the history
Merge develop to master for 7.0.0 release
  • Loading branch information
flamingbear committed Oct 4, 2021
2 parents facb153 + 3ba676f commit 697e099
Show file tree
Hide file tree
Showing 131 changed files with 13,015 additions and 11,564 deletions.
5 changes: 5 additions & 0 deletions .gitattributes
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
* text eol=lf
*.png binary
*.jpg binary
*.pdf binary
*.ttf binary
109 changes: 107 additions & 2 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,105 @@ and this project adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0.

## [Unreleased]

## [v7.0.0]

## Breaking Changes

This version of the dashboard requires Cumulus API `v9.5.0`

- **CUMULUS-2502**
- Configuration changes are required to continue connecting the dashboard with Earthdata Metrics
- Metrics integration has been updated to require manual configuration rather
than by an assumed naming convention. As such, new environmental variables
describing the Elasticsearch target patterns have been added (check with
your metrics provider for the exact values):
+ ES\_CLOUDWATCH\_TARGET\_PATTERN (Generally: `<daac>-cumulus-cloudwatch-<env>-*`)
+ ES\_DISTRIBUTION\_TARGET\_PATTERN (Generally: `<daac>-distribution-<env>-*`)
- Kibana links are changed. We no longer try to build URLs that describe the
metrics' Elasicsearch results. Instead, we now only return a simple link to
configured Kibana root. It is up to the kibana user to interact with the
dashbaord, setting default security tenant and default kibana index
patterns. You can create kibana Index Patterns (or they may exist already)
to gather the cloudwatch logs sent to metrics with a similar patter to the
ES\_CLOUDWATCH\_TARGET\_PATTERN, and if you have configured s3 server access
logs, likewise use a pattern like the ES\_DISTRIBUTION\_TARGET\_PATTERN.
- **CUMULUS-2459**
- Use of ```executions/search-by-granules``` to retrieve executions for a granule/collection
combination requires minimum CUMULUS API v9.5.0

## All Changes

### Changed

- **CUMULUS-2594**
- Added information on CMR Provider, Environment and Authentication to the Footer
- **CUMULUS-2142**
- Changed styling for sidebar button
- Added tooltip for sidebar button
- **CUMULUS-2358**
- Refactored various modals in order to reflect the StandardModal design
- Changed styling of Modal components for aesthetics
- **CUMULUS-2360**
- Implemented Warning alert into every delete and remove modals
- **CUMULUS-2502**
- Metrics ES searches have been updated to run against only the index
patterns provided, improving performance and saving resources.
- Documentation for metrics has been moved into its own table.
- Upgrade cypress testing framework to 7.3.0
- **CUMULUS-2505**
- Update column show/hide component with new styling and "reset to default interaction for each table
- **CUMULUS-2506**
- Adds horizontal scroll buttons to tables improving accessibily
- **CUMULUS-2511**
- Ensured that sort state will persist through page changes.
- **CUMULUS-2524**
- CSS and UI tweaks to padding/margin, width, and color/contrast
- **CUMULUS-2534**
- Added a copy button to errors pages so the error can be copied and searched up on the internet.
- **CUMULUS-2535**
- Ensured that the KPI cards would be updated on all tabs whenever the page was updated
- **CUMULUS-2540**
- Add Granule Actions group & Functionality to other pages/sections with granules to manage
- **CUMULUS-2544**
- Changed the timestamp so that the date and time is shown rather than time elapsed since last occurrence
- **CUMULUS-2551**
- Added a sortable column to individual granules tab so you can sort each file within the granule by size.
- **CUMULUS-2554**
- Add focus styles for various browser support and keyboard/mouse inputs
- **CUMULUS-2573**
- Changed the dropdown menu in the individual providers page into a delete button.
- **CUMULUS-2579**
- Fixed React Issue with the Footer pertaining to missing keys.
- **CUMULUS-2604**
- Deleted Collections column in the Providers overview page.
- **CUMULUS-2616**
- added .gitattributes file that prevents windows from changing the line endings on checkout from github.
- **CUMULUS-2650**
- Modal CSS styling tweaks
- **CUMULUS-2651**
- Layout CSS styling tweaks
- **CUMULUS-2459**
- Updated localAPI docker-compose.yml to include SSM, Postgres container to be used with RDS compatible API
- Updated integration tests due to changes in API behavior related to Postgres contstraints between tables
- **CUMULUS-NONE**
- Downgrades elasticsearch version in testing container to 5.3 to match AWS version.

### Fixed

- **CUMULUS-2525**
- Fixes granule execute modal rerender issue when workflow options are not changed
- **CUMULUS-2553**
- Fixed DatePicker prop so the leading zeroes can be entered without having too many zeroes clouding the input.
- **CUMULUS-NONE**
- Update Bamboo and scripts to deploy the Dashboard to our SIT for Cumulus team testing.
- Fixed containsPublishedGranules to ignore granules without a published key.

### Added

- **CUMULUS-2459**
- Added Executions List column to granules table linking to executions-list view that displays all executions
for a granule/collection combination

## [v6.0.0] - 2021-05-03

## Breaking Changes
Expand All @@ -20,6 +119,9 @@ This version of the dashboard requires Cumulus API `v8.1.0`
- **CUMULUS-2449**
- Fixes issue where collections with forward slash in version name were not displayed

_ **CUMULUS-2425**
- Fixes graph display for failed execution steps

### Added

- **CUMULUS-2348**
Expand All @@ -42,6 +144,9 @@ This version of the dashboard requires Cumulus API `v8.1.0`
- Upgrades Cypress testing software to 7.0.1
- Refactors home page and adds a new section header

- **CUMULUS-2467**
- Update to footer layout to include NASA privacy links to help move Cumulus into compliance with other EED products

## [v5.0.0] - 2021-03-23

## Breaking Changes
Expand Down Expand Up @@ -886,8 +991,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/v6.0.0...HEAD
[Unreleased]: https://github.com/nasa/cumulus-dashboard/compare/v7.0.0...HEAD
[v7.0.0]: https://github.com/nasa/cumulus-dashboard/compare/v6.0.0...v7.0.0
[v6.0.0]: https://github.com/nasa/cumulus-dashboard/compare/v5.0.0...v6.0.0
[v5.0.0]: https://github.com/nasa/cumulus-dashboard/compare/v4.0.0...v5.0.0
[v4.0.0]: https://github.com/nasa/cumulus-dashboard/compare/v3.0.0...v4.0.0
Expand Down
28 changes: 18 additions & 10 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -22,25 +22,33 @@ Other pages:

The dashboard is populated from data retrieved from the Cumulus API. The environment for the Cumulus API must be predetermined and set before the dashboard can be built and deployed. The information needed to configure the dashboard is found in `app/src/js/config/config.js`, but it is generally preferred to set environmental variables overriding the default values during the build process.

The following environment variables override the default values.
Setting the following environment variables can override the default values.

| Env Name | Description | Default |
| -------- | ----------- | -------- |
|----------|-------------|---------|
| APIROOT | The API URL. This must be set by the user. | *example.com* |
| AUTH_METHOD | The type of authorization method protecting the Cumulus API. [launchpad or earthdata] | *earthdata* |
| AWS\_REGION | Region in which Cumulus API is running. | *us-west-2* |
| AUTH_METHOD | The type of authorization method protecting the Cumulus API. [launchpad or earthdata] | *earthdata* |
| AWS\_REGION | Region in which Cumulus API is running. | *us-west-2* |
| DAAC\_NAME | An identifier: e.g. LPDAAC, | *Local* |
| ENABLE\_RECOVERY | If true, adds recovery options to the granule and collection pages. | *false* |
| ESROOT | \<optional\> Should point to an Elasticsearch endpoint. Must be set for distribution metrics to be displayed. | |
| ES\_PASSWORD | \<optional\> Elasticsearch password,needed when protected by basic authorization | |
| ES\_USER | \<optional\> Elasticsearch username, needed when protected by basic authorization | |
| HIDE\_PDR | Whether to hide (or show) the PDR menu. | *true* |
| KIBANAROOT | \<optional\> Should point to a Kibana endpoint. Must be set to examine distribution metrics details. | |
| LABELS | Choose `gitc` or `daac` localization. | *daac* |
| SHOW\_DISTRIBUTION\_API\_METRICS | \<optional\> Display metrics from Cumulus Distribution API.| *false* |
| SHOW\_TEA\_METRICS | \<optional\> Display metrics from Thin Egress Application (TEA). | *true* |
| STAGE | Identifier displayed at top of dashboard page: e.g. PROD, UAT | *development* |

Environment options to configure metrics displays. **All** of the below are optional configurations to display metrics on the Cumulus Dashboard.

| Env Name | Description | Default |
| -----|----|---- |
| ESROOT | Should point to an Elasticsearch endpoint. Must be set for distribution metrics to be displayed. | |
| ES\_PASSWORD | Elasticsearch password, needed when protected by basic authorization. | |
| ES\_USER | Elasticsearch username, needed when protected by basic authorization. | |
| ES\_CLOUDWATCH\_TARGET\_PATTERN | The Elasticsearch target pattern to find cloudwatch events. e.g. `<daac>-cloudwatch-cumulus-<env>-*` | |
| ES\_DISTRIBUTION\_TARGET\_PATTERN | The Elasticsearch target pattern to find s3 access log distribution events. e.g. `<daac>-distribution-<env>-*` | |
| KIBANAROOT | \<optional\> Points to a Kibana endpoint. | |
| SHOW\_DISTRIBUTION\_API\_METRICS | \<optional\> Display metrics from the Cumulus Distribution API. | *false* |
| SHOW\_TEA\_METRICS | \<optional\> Display metrics from the Thin Egress Application (TEA). | *true* |


## Quick start

### Get dashboard source code
Expand Down
186 changes: 93 additions & 93 deletions app/src/assets/fonts/Inconsolata/OFL.txt
Original file line number Diff line number Diff line change
@@ -1,93 +1,93 @@
Copyright 2006 The Inconsolata Project Authors
This Font Software is licensed under the SIL Open Font License, Version 1.1.
This license is copied below, and is also available with a FAQ at:
http://scripts.sil.org/OFL
-----------------------------------------------------------
SIL OPEN FONT LICENSE Version 1.1 - 26 February 2007
-----------------------------------------------------------
PREAMBLE
The goals of the Open Font License (OFL) are to stimulate worldwide
development of collaborative font projects, to support the font creation
efforts of academic and linguistic communities, and to provide a free and
open framework in which fonts may be shared and improved in partnership
with others.
The OFL allows the licensed fonts to be used, studied, modified and
redistributed freely as long as they are not sold by themselves. The
fonts, including any derivative works, can be bundled, embedded,
redistributed and/or sold with any software provided that any reserved
names are not used by derivative works. The fonts and derivatives,
however, cannot be released under any other type of license. The
requirement for fonts to remain under this license does not apply
to any document created using the fonts or their derivatives.
DEFINITIONS
"Font Software" refers to the set of files released by the Copyright
Holder(s) under this license and clearly marked as such. This may
include source files, build scripts and documentation.
"Reserved Font Name" refers to any names specified as such after the
copyright statement(s).
"Original Version" refers to the collection of Font Software components as
distributed by the Copyright Holder(s).
"Modified Version" refers to any derivative made by adding to, deleting,
or substituting -- in part or in whole -- any of the components of the
Original Version, by changing formats or by porting the Font Software to a
new environment.
"Author" refers to any designer, engineer, programmer, technical
writer or other person who contributed to the Font Software.
PERMISSION & CONDITIONS
Permission is hereby granted, free of charge, to any person obtaining
a copy of the Font Software, to use, study, copy, merge, embed, modify,
redistribute, and sell modified and unmodified copies of the Font
Software, subject to the following conditions:
1) Neither the Font Software nor any of its individual components,
in Original or Modified Versions, may be sold by itself.
2) Original or Modified Versions of the Font Software may be bundled,
redistributed and/or sold with any software, provided that each copy
contains the above copyright notice and this license. These can be
included either as stand-alone text files, human-readable headers or
in the appropriate machine-readable metadata fields within text or
binary files as long as those fields can be easily viewed by the user.
3) No Modified Version of the Font Software may use the Reserved Font
Name(s) unless explicit written permission is granted by the corresponding
Copyright Holder. This restriction only applies to the primary font name as
presented to the users.
4) The name(s) of the Copyright Holder(s) or the Author(s) of the Font
Software shall not be used to promote, endorse or advertise any
Modified Version, except to acknowledge the contribution(s) of the
Copyright Holder(s) and the Author(s) or with their explicit written
permission.
5) The Font Software, modified or unmodified, in part or in whole,
must be distributed entirely under this license, and must not be
distributed under any other license. The requirement for fonts to
remain under this license does not apply to any document created
using the Font Software.
TERMINATION
This license becomes null and void if any of the above conditions are
not met.
DISCLAIMER
THE FONT SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO ANY WARRANTIES OF
MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT
OF COPYRIGHT, PATENT, TRADEMARK, OR OTHER RIGHT. IN NO EVENT SHALL THE
COPYRIGHT HOLDER BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY,
INCLUDING ANY GENERAL, SPECIAL, INDIRECT, INCIDENTAL, OR CONSEQUENTIAL
DAMAGES, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
FROM, OUT OF THE USE OR INABILITY TO USE THE FONT SOFTWARE OR FROM
OTHER DEALINGS IN THE FONT SOFTWARE.
Copyright 2006 The Inconsolata Project Authors

This Font Software is licensed under the SIL Open Font License, Version 1.1.
This license is copied below, and is also available with a FAQ at:
http://scripts.sil.org/OFL


-----------------------------------------------------------
SIL OPEN FONT LICENSE Version 1.1 - 26 February 2007
-----------------------------------------------------------

PREAMBLE
The goals of the Open Font License (OFL) are to stimulate worldwide
development of collaborative font projects, to support the font creation
efforts of academic and linguistic communities, and to provide a free and
open framework in which fonts may be shared and improved in partnership
with others.

The OFL allows the licensed fonts to be used, studied, modified and
redistributed freely as long as they are not sold by themselves. The
fonts, including any derivative works, can be bundled, embedded,
redistributed and/or sold with any software provided that any reserved
names are not used by derivative works. The fonts and derivatives,
however, cannot be released under any other type of license. The
requirement for fonts to remain under this license does not apply
to any document created using the fonts or their derivatives.

DEFINITIONS
"Font Software" refers to the set of files released by the Copyright
Holder(s) under this license and clearly marked as such. This may
include source files, build scripts and documentation.

"Reserved Font Name" refers to any names specified as such after the
copyright statement(s).

"Original Version" refers to the collection of Font Software components as
distributed by the Copyright Holder(s).

"Modified Version" refers to any derivative made by adding to, deleting,
or substituting -- in part or in whole -- any of the components of the
Original Version, by changing formats or by porting the Font Software to a
new environment.

"Author" refers to any designer, engineer, programmer, technical
writer or other person who contributed to the Font Software.

PERMISSION & CONDITIONS
Permission is hereby granted, free of charge, to any person obtaining
a copy of the Font Software, to use, study, copy, merge, embed, modify,
redistribute, and sell modified and unmodified copies of the Font
Software, subject to the following conditions:

1) Neither the Font Software nor any of its individual components,
in Original or Modified Versions, may be sold by itself.

2) Original or Modified Versions of the Font Software may be bundled,
redistributed and/or sold with any software, provided that each copy
contains the above copyright notice and this license. These can be
included either as stand-alone text files, human-readable headers or
in the appropriate machine-readable metadata fields within text or
binary files as long as those fields can be easily viewed by the user.

3) No Modified Version of the Font Software may use the Reserved Font
Name(s) unless explicit written permission is granted by the corresponding
Copyright Holder. This restriction only applies to the primary font name as
presented to the users.

4) The name(s) of the Copyright Holder(s) or the Author(s) of the Font
Software shall not be used to promote, endorse or advertise any
Modified Version, except to acknowledge the contribution(s) of the
Copyright Holder(s) and the Author(s) or with their explicit written
permission.

5) The Font Software, modified or unmodified, in part or in whole,
must be distributed entirely under this license, and must not be
distributed under any other license. The requirement for fonts to
remain under this license does not apply to any document created
using the Font Software.

TERMINATION
This license becomes null and void if any of the above conditions are
not met.

DISCLAIMER
THE FONT SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO ANY WARRANTIES OF
MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT
OF COPYRIGHT, PATENT, TRADEMARK, OR OTHER RIGHT. IN NO EVENT SHALL THE
COPYRIGHT HOLDER BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY,
INCLUDING ANY GENERAL, SPECIAL, INDIRECT, INCIDENTAL, OR CONSEQUENTIAL
DAMAGES, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
FROM, OUT OF THE USE OR INABILITY TO USE THE FONT SOFTWARE OR FROM
OTHER DEALINGS IN THE FONT SOFTWARE.
Loading

0 comments on commit 697e099

Please sign in to comment.