Skip to content
This repository was archived by the owner on Oct 10, 2025. It is now read-only.

Commit 2954723

Browse files
authored
update to version v1.0.1
update to version v1.0.1
2 parents ec47b38 + c82df75 commit 2954723

File tree

227 files changed

+3189
-27592
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

227 files changed

+3189
-27592
lines changed

.gitignore

Lines changed: 55 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1,55 @@
1-
.DS_Store
1+
deployment/global-s3-assets
2+
deployment/regional-s3-assets
3+
deployment/open-source
4+
5+
**/coverage/
6+
**/coverage-reports/
7+
.coverage
8+
9+
node_modules/
10+
11+
cfn_nag_suppressions.log
12+
13+
**.DS_STORE**
14+
15+
**/.venv*/**
16+
__pycache__/
17+
*.egg-info
18+
*.egg
19+
20+
codebuild_build.sh
21+
.vscode/settings.json
22+
.vscode/launch.json
23+
*tmp*
24+
.pytest_cache
25+
26+
.idea/**
27+
28+
aws_lambda_powertools/
29+
aws_xray_sdk/
30+
boto3/
31+
botocore/
32+
build/lib/
33+
dateutil/
34+
urllib3/
35+
jmespath/
36+
python_dateutil/
37+
s3transfer/
38+
coverage/
39+
coverage-reports/
40+
six.py
41+
typing_extensions.py
42+
wrapt
43+
THIRD-PARTY-LICENSES
44+
45+
target/
46+
*.jar
47+
source/infrastructure/test/mock-lambda-func/java-lambda/checkstyle-result.xml
48+
**/*dependency-reduced-pom.xml
49+
.coverage.*
50+
51+
*.log
52+
.venv/**
53+
source/ui/public/pdf.worker.min.js
54+
.viperlightrc
55+
source/test/coverage-reports

CHANGELOG.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,12 @@ 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.0.1] - 2023-10-18
9+
10+
### Updated
11+
12+
- Library upgrades to address security vulnerabilities
13+
814
## [1.0.0] - 2023-08-30
915

1016
### Added

NOTICE.txt

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -56,6 +56,7 @@ aws-sdk-mock Apache-2.0
5656
aws-xray-sdk Apache-2.0
5757
awscli Apache-2.0
5858
babel-jest MIT
59+
boolean.py BSD-2-Clause
5960
bootstrap MIT
6061
boto3 Apache-2.0
6162
botocore Apache-2.0
@@ -77,6 +78,7 @@ jest MIT
7778
jmespath MIT
7879
jwt-decode MIT
7980
lodash MIT
81+
license-expression Apache-2.0
8082
mock BSD License
8183
mock-fs MIT
8284
moto Apache-2.0
@@ -118,6 +120,7 @@ tomli MIT
118120
ts-jest MIT
119121
ts-node MIT
120122
typescript Apache-2.0
123+
typing-extensions Python 2.0
121124
uk.org.webcompere>>system-stubs-core MIT
122125
uk.org.webcompere>>system-stubs-jupiter MIT
123126
uuid MIT

source/images/ui-components.png

258 KB
Loading

source/infrastructure/cdk.json

Lines changed: 4 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,7 @@
11
{
22
"app": "../pre-build-jars.sh && npx ts-node --prefer-ts-exts bin/dus.ts",
33
"watch": {
4-
"include": [
5-
"**"
6-
],
4+
"include": ["**"],
75
"exclude": [
86
"README.md",
97
"cdk*.json",
@@ -27,17 +25,13 @@
2725
"@aws-cdk/aws-ec2:uniqueImdsv2TemplateName": true,
2826
"@aws-cdk/core:checkSecretUsage": true,
2927
"@aws-cdk/aws-iam:minimizePolicies": true,
30-
"@aws-cdk/core:target-partitions": [
31-
"aws",
32-
"aws-cn",
33-
"aws-us-gov"
34-
],
28+
"@aws-cdk/core:target-partitions": ["aws", "aws-cn", "aws-us-gov"],
3529
"solution_id": "SO0281",
3630
"solution_name": "enhanced-document-understanding-on-aws",
37-
"solution_version": "v1.0.0",
31+
"solution_version": "v1.0.1",
3832
"app_namespace": "app.idp",
3933
"app_registry_name": "enhanced-document-understanding",
4034
"application_type": "AWS-Solutions",
4135
"application_trademark_name": "Enhanced Document Understanding on AWS"
4236
}
43-
}
37+
}

source/infrastructure/lib/utils/common-utils.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -142,7 +142,7 @@ export function getJavaLayerLocalBundling(entry: string): ILocalBundling {
142142
`cd ${entry}`,
143143
'rm -fr target',
144144
'echo "Trying local bundling of assets"',
145-
'mvn clean package --quiet --no-transfer-progress',
145+
'mvn clean package --quiet --no-transfer-progress -DskipTests',
146146
'echo "--------------------------------------------------------------------------------"',
147147
'echo "Reporting stale dependencies/ dependencies that need to be upgraded for Java runtimes"',
148148
'echo "--------------------------------------------------------------------------------"',

source/infrastructure/lib/utils/custom-infra-setup.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -62,7 +62,7 @@ export class CustomInfraSetup extends Construct {
6262
new iam.PolicyStatement({
6363
actions: ['logs:PutLogEvents'],
6464
resources: [
65-
`arn:${cdk.Aws.PARTITION}:logs:${cdk.Aws.REGION}:${cdk.Aws.ACCOUNT_ID}:log-group:/aws/lambda/*:log_stream:*`
65+
`arn:${cdk.Aws.PARTITION}:logs:${cdk.Aws.REGION}:${cdk.Aws.ACCOUNT_ID}:log-group:/aws/lambda/*:log-stream:*`
6666
]
6767
})
6868
]
@@ -189,7 +189,7 @@ export class CustomInfraSetup extends Construct {
189189
id: 'AwsSolutions-IAM5',
190190
reason: 'Lambda function has the required permission to write CloudWatch Log streams. It uses custom policy instead of arn:aws:iam::aws:policy/service-role/AWSLambdaBasicExecutionRole with tighter permissions.',
191191
appliesTo: [
192-
'Resource::arn:<AWS::Partition>:logs:<AWS::Region>:<AWS::AccountId>:log-group:/aws/lambda/*:log_stream:*'
192+
'Resource::arn:<AWS::Partition>:logs:<AWS::Region>:<AWS::AccountId>:log-group:/aws/lambda/*:log-stream:*'
193193
]
194194
}
195195
]);

0 commit comments

Comments
 (0)