Skip to content
This repository has been archived by the owner on Dec 6, 2024. It is now read-only.

Commit

Permalink
Release/v1.9.1 (#1047)
Browse files Browse the repository at this point in the history
* chore: prepare git farm

SIM: https://i.amazon.com/V976647791
cr: https://code.amazon.com/reviews/CR-98244278

* chore: updates scripts/instructions for local development

cr: https://code.amazon.com/reviews/CR-98461521

* fix: bump jest dom to resolve adobe css tools vulnerability

cr: https://code.amazon.com/reviews/CR-100401748

* chore: bumps postcss

cr: https://code.amazon.com/reviews/CR-103812079

* chore: bump @babel/traverse

cr: https://code.amazon.com/reviews/CR-104218914

* chore: bump @babel/traverse in backend and samples

cr: https://code.amazon.com/reviews/CR-104287990

* chore: bumps crypto-js and react-devtools-core packages

cr: https://code.amazon.com/reviews/CR-104708604

* chore: bumps axios

cr: https://code.amazon.com/reviews/CR-106070404

* chore: bumps @adobe/css-tools

cr: https://code.amazon.com/reviews/CR-107300634

* chore: updates release version references

* chore: adds solution manifest

* fix: sets AuthorizationType.NONE for public endpoints instead of empty string

* chore: update changelog for v1.9.1

---------

Co-authored-by: Daniel Wood <[email protected]>
  • Loading branch information
denisquesada and Daniel Wood authored Dec 15, 2023
1 parent 670c253 commit bbf5df9
Show file tree
Hide file tree
Showing 25 changed files with 2,253 additions and 3,680 deletions.
4 changes: 3 additions & 1 deletion .viperlightignore
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
.vscode/*

.tools/*

cdk/outputs-backend.json:3
cdk/outputs-backend.json:5
cdk/outputs-backend.json:9
Expand All @@ -20,7 +22,7 @@ frontend/src/locales/en/translation.json:536

node_modules/*

README.md:63
README.md:61

# Adding packages to ignore list to avoid introducing breaking changes at this point

Expand Down
2 changes: 1 addition & 1 deletion .viperlightrc
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
{
"all": true,
"failOn": "medium"
"failOn": "high"
}
7 changes: 7 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,13 @@ All notable changes to this project will be documented in this file.
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).

## [1.9.1] - 2023-12-15

### Fixed

- bump axios and crypto-js packages.
- cloud formation template schema issue.

## [1.9.0] - 2023-07-14

### Added
Expand Down
2 changes: 0 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,8 +1,6 @@
# Performance Dashboard on AWS

![Mainline](https://github.com/awslabs/performance-dashboard-on-aws/workflows/Unit%20Tests/badge.svg?branch=mainline)
![Version](https://img.shields.io/github/v/release/aws-solutions/performance-dashboard-on-aws)
[![Quality Gate Status](https://sonarqube.nightswatch.dashboard.solutionsbuilder.aws.dev/api/project_badges/measure?project=com.amazon.aws%3Aperformance-dashboard-on-aws&metric=alert_status&token=7db63af1557d2512ec40345e6733d2914e39b5d5)](https://sonarqube.nightswatch.dashboard.solutionsbuilder.aws.dev/dashboard?id=com.amazon.aws%3Aperformance-dashboard-on-aws)

<p align="center">
<img src="docs/images/Dashboard_Images.jpg" alt="Performance Dashboard on AWS user interface image">
Expand Down
6 changes: 5 additions & 1 deletion backend/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,11 @@ To run the backend locally from VSCode, create a folder in the root of this repo
"DATASETS_BUCKET": "performancedash-${stageName}-${accountNumber}-${region}-datasets",
"USER_POOL_ID": "${your-user-pool-id}",
"LOG_LEVEL": "debug",
"TS_NODE_FILES": "true"
"TS_NODE_FILES": "true",
"CORS_ORIGIN": "http://localhost:3000",
"AUTHENTICATION_REQUIRED": "yes", //i.e 'yes' or 'no'
"CSRF_SECRET": "",
"COOKIES_SECRET": ""
},
"args": ["${workspaceRoot}/backend/src/local/server.ts"],
"cwd": "${workspaceRoot}/backend",
Expand Down
159 changes: 111 additions & 48 deletions backend/package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion backend/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "performance-dashboard-backend",
"version": "1.9.0",
"version": "1.9.1",
"description": "Performance Dashboard on AWS Backend",
"license": "Apache-2.0",
"author": {
Expand Down
49 changes: 49 additions & 0 deletions build.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,49 @@
#!/bin/bash
set -e

# Set workspace paths
WORKSPACE=$(pwd)
CDK_DIR=$WORKSPACE/cdk
FRONTEND_DIR=$WORKSPACE/frontend
BACKEND_DIR=$WORKSPACE/backend
EXAMPLES_DIR=$WORKSPACE/examples

verify_prereqs() {
# Verify necessary commands
echo "node version"
node --version
echo "npm version"
npm --version
echo "cdk version"
cdk --version
}

build_backend() {
echo "Building backend application"
cd $BACKEND_DIR
npm run build
}

build_frontend() {
echo "Building frontend application"
cd $FRONTEND_DIR
npm run build
}

build_examples() {
echo "Packaging examples stack"
cd $EXAMPLES_DIR
npm run build
}

build_cdk() {
cd $CDK_DIR
npm run build
}

# Start execution
build_cdk
build_backend
build_frontend
build_examples

2 changes: 1 addition & 1 deletion buildspec.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ version: 0.2
phases:
install:
runtime-versions:
nodejs: 16
nodejs: 18
commands:
- ls -al
- npm --version
Expand Down
2 changes: 1 addition & 1 deletion cdk/lib/constructs/api.ts
Original file line number Diff line number Diff line change
Expand Up @@ -281,7 +281,7 @@ export class BackendApi extends Construct {
const authorizationTypeValue = Fn.conditionIf(
authenticationRequiredCond.logicalId,
AuthorizationType.COGNITO,
"",
AuthorizationType.NONE,
);
const authorizerIdValue = Fn.conditionIf(
authenticationRequiredCond.logicalId,
Expand Down
Loading

0 comments on commit bbf5df9

Please sign in to comment.