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

Commit bbf5df9

Browse files
denisquesadaDaniel Wood
and
Daniel Wood
authored
Release/v1.9.1 (#1047)
* 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 <ddubs@amazon.com>
1 parent 670c253 commit bbf5df9

25 files changed

+2253
-3680
lines changed

.viperlightignore

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,7 @@
11
.vscode/*
22

3+
.tools/*
4+
35
cdk/outputs-backend.json:3
46
cdk/outputs-backend.json:5
57
cdk/outputs-backend.json:9
@@ -20,7 +22,7 @@ frontend/src/locales/en/translation.json:536
2022

2123
node_modules/*
2224

23-
README.md:63
25+
README.md:61
2426

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

.viperlightrc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
{
22
"all": true,
3-
"failOn": "medium"
3+
"failOn": "high"
44
}

CHANGELOG.md

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,13 @@ All notable changes to this project will be documented in this file.
55
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
66
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
77

8+
## [1.9.1] - 2023-12-15
9+
10+
### Fixed
11+
12+
- bump axios and crypto-js packages.
13+
- cloud formation template schema issue.
14+
815
## [1.9.0] - 2023-07-14
916

1017
### Added

README.md

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,6 @@
11
# Performance Dashboard on AWS
22

3-
![Mainline](https://github.com/awslabs/performance-dashboard-on-aws/workflows/Unit%20Tests/badge.svg?branch=mainline)
43
![Version](https://img.shields.io/github/v/release/aws-solutions/performance-dashboard-on-aws)
5-
[![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)
64

75
<p align="center">
86
<img src="docs/images/Dashboard_Images.jpg" alt="Performance Dashboard on AWS user interface image">

backend/README.md

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,11 @@ To run the backend locally from VSCode, create a folder in the root of this repo
2727
"DATASETS_BUCKET": "performancedash-${stageName}-${accountNumber}-${region}-datasets",
2828
"USER_POOL_ID": "${your-user-pool-id}",
2929
"LOG_LEVEL": "debug",
30-
"TS_NODE_FILES": "true"
30+
"TS_NODE_FILES": "true",
31+
"CORS_ORIGIN": "http://localhost:3000",
32+
"AUTHENTICATION_REQUIRED": "yes", //i.e 'yes' or 'no'
33+
"CSRF_SECRET": "",
34+
"COOKIES_SECRET": ""
3135
},
3236
"args": ["${workspaceRoot}/backend/src/local/server.ts"],
3337
"cwd": "${workspaceRoot}/backend",

backend/package-lock.json

Lines changed: 111 additions & 48 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

backend/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "performance-dashboard-backend",
3-
"version": "1.9.0",
3+
"version": "1.9.1",
44
"description": "Performance Dashboard on AWS Backend",
55
"license": "Apache-2.0",
66
"author": {

build.sh

Lines changed: 49 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,49 @@
1+
#!/bin/bash
2+
set -e
3+
4+
# Set workspace paths
5+
WORKSPACE=$(pwd)
6+
CDK_DIR=$WORKSPACE/cdk
7+
FRONTEND_DIR=$WORKSPACE/frontend
8+
BACKEND_DIR=$WORKSPACE/backend
9+
EXAMPLES_DIR=$WORKSPACE/examples
10+
11+
verify_prereqs() {
12+
# Verify necessary commands
13+
echo "node version"
14+
node --version
15+
echo "npm version"
16+
npm --version
17+
echo "cdk version"
18+
cdk --version
19+
}
20+
21+
build_backend() {
22+
echo "Building backend application"
23+
cd $BACKEND_DIR
24+
npm run build
25+
}
26+
27+
build_frontend() {
28+
echo "Building frontend application"
29+
cd $FRONTEND_DIR
30+
npm run build
31+
}
32+
33+
build_examples() {
34+
echo "Packaging examples stack"
35+
cd $EXAMPLES_DIR
36+
npm run build
37+
}
38+
39+
build_cdk() {
40+
cd $CDK_DIR
41+
npm run build
42+
}
43+
44+
# Start execution
45+
build_cdk
46+
build_backend
47+
build_frontend
48+
build_examples
49+

buildspec.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ version: 0.2
33
phases:
44
install:
55
runtime-versions:
6-
nodejs: 16
6+
nodejs: 18
77
commands:
88
- ls -al
99
- npm --version

cdk/lib/constructs/api.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -281,7 +281,7 @@ export class BackendApi extends Construct {
281281
const authorizationTypeValue = Fn.conditionIf(
282282
authenticationRequiredCond.logicalId,
283283
AuthorizationType.COGNITO,
284-
"",
284+
AuthorizationType.NONE,
285285
);
286286
const authorizerIdValue = Fn.conditionIf(
287287
authenticationRequiredCond.logicalId,

0 commit comments

Comments
 (0)