Skip to content

Commit d252ea8

Browse files
authored
V1.13.0 (#200)
New Feature #182 - Document Retry - documents that fail to process are added to a queue for reprocessing #192 - Added POST /documents/{documentId}/actions/retry for retrying of failed document actions #196 - Added OCR support for PDF Portfolio files #194 - Added support for document content to be a "deep link" #189 - Added document "soft delete" #146 - Added insertedDate, completedDate to Document actions #171 - Added Document Workflows #179 - Added Cognito group that allows authentication but no authorization #170 - Added Notification action #168 - Added SMTP support to /configuration API #169 - Added /groups API #201 - Added version of FormKiQ that can be run via Docker Updates #166 - AWS Lambda end of support for Custom Runtime based on Amazon Linux 1 #188 - Intelligent document processing with OpenAI, uses Schemas to improve results #119 - improved performance when removing documents Bugs Fixes #172 - Fixed Fulltext action ending up in a bad state #185 - Fixed GET /documents/{documentId}/url returns full path of document instead of filename #197 - POST /documents/compress is not available for users with READ ONLY access
1 parent 271dc24 commit d252ea8

File tree

527 files changed

+30726
-9430
lines changed

Some content is hidden

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

527 files changed

+30726
-9430
lines changed

.classpath

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
<attribute name="gradle_used_by_scope" value="main,test"/>
77
</attributes>
88
</classpathentry>
9-
<classpathentry kind="con" path="org.eclipse.jdt.launching.JRE_CONTAINER/org.eclipse.jdt.internal.debug.ui.launcher.StandardVMType/JavaSE-11/"/>
9+
<classpathentry kind="con" path="org.eclipse.jdt.launching.JRE_CONTAINER/org.eclipse.jdt.internal.debug.ui.launcher.StandardVMType/JavaSE-17/"/>
1010
<classpathentry kind="con" path="org.eclipse.buildship.core.gradleclasspathcontainer"/>
1111
<classpathentry kind="output" path="bin/default"/>
1212
</classpath>

.github/workflows/deployment-dev.yaml

Lines changed: 38 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,38 @@
1+
# This workflow uses actions that are not certified by GitHub.
2+
# They are provided by a third-party and are governed by
3+
# separate terms of service, privacy policy, and support
4+
# documentation.
5+
# This workflow will build a Java project with Gradle and cache/restore any dependencies to improve the workflow execution time
6+
# For more information see: https://help.github.com/actions/language-and-framework-guides/building-and-testing-java-with-gradle
7+
8+
name: S3 Dev Deployment
9+
10+
on:
11+
workflow_dispatch:
12+
inputs:
13+
version:
14+
description: 'The FormKiQ version number string to deploy.'
15+
required: true
16+
17+
permissions:
18+
contents: read
19+
20+
jobs:
21+
build:
22+
23+
runs-on: ubuntu-latest
24+
25+
steps:
26+
- name: Set AWS credentials
27+
uses: aws-actions/configure-aws-credentials@v1
28+
with:
29+
aws-access-key-id: ${{ secrets.AWS_ACCESS_KEY_ID }}
30+
aws-secret-access-key: ${{ secrets.AWS_SECRET_ACCESS_KEY }}
31+
aws-region: us-east-2
32+
- name: deploy to s3
33+
env:
34+
formKiQVersion: ${{ github.event.inputs.version }}
35+
run: |
36+
sam package --s3-prefix ${formKiQVersion} --s3-bucket formkiq-dev-distribution-us-east-2 --template-file template.yaml --region us-east-2 --output-template-file template-${formKiQVersion}.yaml
37+
aws s3 cp template-${formKiQVersion}.yaml s3://formkiq-dev-distribution-us-east-2/${formKiQVersion}/template.yaml
38+
aws s3 cp vpc.yaml s3://formkiq-dev-distribution-us-east-2/${formKiQVersion}/vpc.yaml

.github/workflows/docker-hub-intel.yml

Lines changed: 8 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -27,9 +27,12 @@ jobs:
2727
with:
2828
java-version: '17'
2929
distribution: 'temurin'
30-
30+
- name: Set up QEMU
31+
uses: docker/setup-qemu-action@v3
32+
- name: Set up Docker Buildx
33+
uses: docker/setup-buildx-action@v3
3134
- name: Log in to Docker Hub
32-
uses: docker/login-action@f4ef78c080cd8ba55a85445d5b36e214a81df20a
35+
uses: docker/login-action@v3
3336
with:
3437
username: ${{ secrets.DOCKER_USERNAME }}
3538
password: ${{ secrets.DOCKER_PASSWORD }}
@@ -44,8 +47,8 @@ jobs:
4447
env:
4548
formKiQVersion: ${{ github.event.inputs.version }}
4649
with:
47-
build-arg: CONSOLE_VERSION=${{ env.PACKAGE_VERSION }}
48-
context: .
49-
file: ./build/build/dockerfile/Dockerfile
50+
platforms: linux/amd64, linux/arm64
51+
context: ./netty-server/build/libs/
52+
file: ./netty-server/build/dockerfile/Dockerfile
5053
push: true
5154
tags: "formkiq/api-server:${{ env.formKiQVersion }}"

.github/workflows/gradle.yml

Lines changed: 7 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -28,25 +28,23 @@ jobs:
2828

2929
steps:
3030
- uses: actions/checkout@v3
31-
- name: Set up JDK 11
31+
- name: Set up JDK 17
3232
uses: actions/setup-java@v3
3333
with:
34-
java-version: '11'
34+
java-version: '17'
3535
distribution: 'temurin'
36+
cache: gradle
37+
# - name: Setup Gradle
38+
# uses: gradle/gradle-build-action@v2
3639
- name: add binaries to path
3740
run: |
3841
mkdir -p "$HOME/.local/bin"
3942
curl -L -o "$HOME/.local/bin/ytt" https://github.com/vmware-tanzu/carvel-ytt/releases/download/v0.41.1/ytt-linux-amd64
4043
chmod +x "$HOME/.local/bin/ytt"
4144
echo "$HOME/.local/bin" >> $GITHUB_PATH
4245
ytt --version
43-
npm install openapi-generator -g
44-
alias openapi-generator=openapi-generator-cli
45-
openapi-generator --version
46-
- name: Setup Gradle
47-
uses: gradle/gradle-build-action@v2
4846
- name: Execute Gradle build
49-
run: ./gradlew build --info
47+
run: ./gradlew build --refresh-dependencies --info
5048
- name: Upload test reports
5149
uses: actions/upload-artifact@v3
5250
if: always()
@@ -67,4 +65,4 @@ jobs:
6765
S3_BUCKET: ${{ secrets.S3_BUCKET }}
6866
DISTRIBUTION_ID: ${{ secrets.DISTRIBUTION_ID }}
6967
run: |
70-
aws s3 cp ./build/distributions/formkiq-core/formkiq-core-*.zip s3://${S3_BUCKET}/formkiq-core/
68+
aws s3 cp ./build/distributions/formkiq-core-*.zip s3://${S3_BUCKET}/formkiq-core/

.settings/org.eclipse.jdt.core.prefs

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
eclipse.preferences.version=1
2-
org.eclipse.jdt.core.compiler.codegen.targetPlatform=11
3-
org.eclipse.jdt.core.compiler.compliance=11
4-
org.eclipse.jdt.core.compiler.source=11
2+
org.eclipse.jdt.core.compiler.codegen.targetPlatform=17
3+
org.eclipse.jdt.core.compiler.compliance=17
4+
org.eclipse.jdt.core.compiler.source=17

INSTALL.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,4 +2,4 @@
22

33
## Installation
44

5-
Installation instruction for FormKiQ Core can be found at https://docs.formkiq.com/docs/1.9.0/quickstart/README.html
5+
Installation instruction for FormKiQ Core can be found at https://docs.formkiq.com/docs/getting-started/quick-start

actions/.classpath

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@
2626
<attribute name="test" value="true"/>
2727
</attributes>
2828
</classpathentry>
29-
<classpathentry kind="con" path="org.eclipse.jdt.launching.JRE_CONTAINER/org.eclipse.jdt.internal.debug.ui.launcher.StandardVMType/JavaSE-11/"/>
29+
<classpathentry kind="con" path="org.eclipse.jdt.launching.JRE_CONTAINER/org.eclipse.jdt.internal.debug.ui.launcher.StandardVMType/JavaSE-17/"/>
3030
<classpathentry kind="con" path="org.eclipse.buildship.core.gradleclasspathcontainer"/>
3131
<classpathentry kind="output" path="bin/default"/>
3232
</classpath>
Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,13 @@
1+
arguments=
2+
auto.sync=false
3+
build.scans.enabled=false
4+
connection.gradle.distribution=GRADLE_DISTRIBUTION(WRAPPER)
15
connection.project.dir=
26
eclipse.preferences.version=1
7+
gradle.user.home=
8+
java.home=
9+
jvm.arguments=
10+
offline.mode=false
11+
override.workspace.settings=false
12+
show.console.view=false
13+
show.executions.view=false

actions/.settings/org.eclipse.jdt.core.prefs

Lines changed: 4 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -20,9 +20,9 @@ org.eclipse.jdt.core.compiler.annotation.nullable.secondary=
2020
org.eclipse.jdt.core.compiler.annotation.nullanalysis=disabled
2121
org.eclipse.jdt.core.compiler.codegen.inlineJsrBytecode=enabled
2222
org.eclipse.jdt.core.compiler.codegen.methodParameters=do not generate
23-
org.eclipse.jdt.core.compiler.codegen.targetPlatform=11
23+
org.eclipse.jdt.core.compiler.codegen.targetPlatform=17
2424
org.eclipse.jdt.core.compiler.codegen.unusedLocal=preserve
25-
org.eclipse.jdt.core.compiler.compliance=11
25+
org.eclipse.jdt.core.compiler.compliance=17
2626
org.eclipse.jdt.core.compiler.debug.lineNumber=generate
2727
org.eclipse.jdt.core.compiler.debug.localVariable=generate
2828
org.eclipse.jdt.core.compiler.debug.sourceFile=generate
@@ -137,8 +137,8 @@ org.eclipse.jdt.core.compiler.problem.unusedPrivateMember=warning
137137
org.eclipse.jdt.core.compiler.problem.unusedTypeParameter=ignore
138138
org.eclipse.jdt.core.compiler.problem.unusedWarningToken=warning
139139
org.eclipse.jdt.core.compiler.problem.varargsArgumentNeedCast=warning
140-
org.eclipse.jdt.core.compiler.release=disabled
141-
org.eclipse.jdt.core.compiler.source=11
140+
org.eclipse.jdt.core.compiler.release=enabled
141+
org.eclipse.jdt.core.compiler.source=17
142142
org.eclipse.jdt.core.formatter.align_assignment_statements_on_columns=false
143143
org.eclipse.jdt.core.formatter.align_fields_grouping_blank_lines=2147483647
144144
org.eclipse.jdt.core.formatter.align_type_members_on_columns=false
@@ -152,7 +152,6 @@ org.eclipse.jdt.core.formatter.alignment_for_arguments_in_explicit_constructor_c
152152
org.eclipse.jdt.core.formatter.alignment_for_arguments_in_method_invocation=16
153153
org.eclipse.jdt.core.formatter.alignment_for_arguments_in_qualified_allocation_expression=16
154154
org.eclipse.jdt.core.formatter.alignment_for_assignment=16
155-
org.eclipse.jdt.core.formatter.alignment_for_binary_expression=16
156155
org.eclipse.jdt.core.formatter.alignment_for_bitwise_operator=16
157156
org.eclipse.jdt.core.formatter.alignment_for_compact_if=16
158157
org.eclipse.jdt.core.formatter.alignment_for_compact_loops=16
@@ -271,7 +270,6 @@ org.eclipse.jdt.core.formatter.insert_space_after_and_in_type_parameter=insert
271270
org.eclipse.jdt.core.formatter.insert_space_after_assignment_operator=insert
272271
org.eclipse.jdt.core.formatter.insert_space_after_at_in_annotation=do not insert
273272
org.eclipse.jdt.core.formatter.insert_space_after_at_in_annotation_type_declaration=do not insert
274-
org.eclipse.jdt.core.formatter.insert_space_after_binary_operator=insert
275273
org.eclipse.jdt.core.formatter.insert_space_after_bitwise_operator=insert
276274
org.eclipse.jdt.core.formatter.insert_space_after_closing_angle_bracket_in_type_arguments=do not insert
277275
org.eclipse.jdt.core.formatter.insert_space_after_closing_angle_bracket_in_type_parameters=insert
@@ -339,7 +337,6 @@ org.eclipse.jdt.core.formatter.insert_space_before_additive_operator=insert
339337
org.eclipse.jdt.core.formatter.insert_space_before_and_in_type_parameter=insert
340338
org.eclipse.jdt.core.formatter.insert_space_before_assignment_operator=insert
341339
org.eclipse.jdt.core.formatter.insert_space_before_at_in_annotation_type_declaration=insert
342-
org.eclipse.jdt.core.formatter.insert_space_before_binary_operator=insert
343340
org.eclipse.jdt.core.formatter.insert_space_before_bitwise_operator=insert
344341
org.eclipse.jdt.core.formatter.insert_space_before_closing_angle_bracket_in_parameterized_type_reference=do not insert
345342
org.eclipse.jdt.core.formatter.insert_space_before_closing_angle_bracket_in_type_arguments=do not insert
@@ -483,7 +480,6 @@ org.eclipse.jdt.core.formatter.use_on_off_tags=true
483480
org.eclipse.jdt.core.formatter.use_tabs_only_for_leading_indentations=false
484481
org.eclipse.jdt.core.formatter.wrap_before_additive_operator=true
485482
org.eclipse.jdt.core.formatter.wrap_before_assignment_operator=false
486-
org.eclipse.jdt.core.formatter.wrap_before_binary_operator=true
487483
org.eclipse.jdt.core.formatter.wrap_before_bitwise_operator=true
488484
org.eclipse.jdt.core.formatter.wrap_before_conditional_operator=true
489485
org.eclipse.jdt.core.formatter.wrap_before_logical_operator=true

actions/build.gradle

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,11 @@
22
description = "FormKiQ Actions"
33

44
dependencies {
5+
6+
annotationProcessor group: 'com.formkiq', name: 'graalvm-annotations-processor', version: '1.4.1'
7+
8+
implementation group: 'com.formkiq', name: 'graalvm-annotations', version: '1.2.0'
9+
510
implementation project(':aws-dynamodb')
611
implementation project(':aws-sns')
712
implementation project(':document-events')
@@ -11,8 +16,8 @@ dependencies {
1116
testImplementation project(':dynamodb-documents')
1217
testImplementation project(':fkq-test-utils')
1318
testImplementation project(':fkq-plugins')
14-
testImplementation group: 'org.junit.jupiter', name: 'junit-jupiter-engine', version:'5.9.1'
15-
testImplementation group: 'org.testcontainers', name: 'testcontainers', version: '1.18.3'
19+
testImplementation group: 'org.junit.jupiter', name: 'junit-jupiter-engine', version:'5.10.0'
20+
testImplementation group: 'org.testcontainers', name: 'testcontainers', version: '1.19.0'
1621
}
1722

1823
test {

actions/config/checkstyle/import-control.xml

Lines changed: 8 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -6,15 +6,19 @@
66
<import-control pkg="com.formkiq.module">
77

88
<subpackage name="actions">
9+
910
<allow pkg="com.formkiq.aws.dynamodb" />
11+
<allow pkg="com.formkiq.module.actions" />
12+
<allow pkg="com.formkiq.graalvm.annotations" />
13+
14+
<allow pkg="java.io" />
15+
<allow pkg="java.text" />
1016
<allow pkg="java.time" />
1117
<allow pkg="java.util" />
12-
13-
<subpackage name="executors">
14-
<allow pkg="com.formkiq.module.actions" />
15-
</subpackage>
18+
<allow pkg="software.amazon.awssdk.services.dynamodb.model" />
1619

1720
<subpackage name="services">
21+
<allow pkg="java.text" />
1822
<allow pkg="com.formkiq.aws.sns" />
1923
<allow pkg="com.formkiq.module.actions" />
2024
<allow pkg="com.formkiq.module.events" />

0 commit comments

Comments
 (0)