proof of concept: use git lfs to store customer files
This commit is contained in:
parent
b5d993561a
commit
d7f3f351ec
@ -1,5 +1,7 @@
|
|||||||
variables:
|
variables:
|
||||||
SONAR_PROJECT_KEY: 'RED_redaction-service'
|
SONAR_PROJECT_KEY: 'RED_redaction-service'
|
||||||
|
GIT_SUBMODULE_STRATEGY: recursive
|
||||||
|
GIT_SUBMODULE_FORCE_HTTPS: "true"
|
||||||
include:
|
include:
|
||||||
- project: 'gitlab/gitlab'
|
- project: 'gitlab/gitlab'
|
||||||
ref: 'main'
|
ref: 'main'
|
||||||
|
|||||||
8
.gitmodules
vendored
Normal file
8
.gitmodules
vendored
Normal file
@ -0,0 +1,8 @@
|
|||||||
|
[submodule "redaction-service-v1/redaction-service-server-v1/src/test/resources/files/syngenta"]
|
||||||
|
path = redaction-service-v1/redaction-service-server-v1/src/test/resources/files/syngenta
|
||||||
|
url = ssh://git@git.knecon.com:22222/fforesight/documents/syngenta.git
|
||||||
|
update = merge
|
||||||
|
[submodule "redaction-service-v1/redaction-service-server-v1/src/test/resources/files/basf"]
|
||||||
|
path = redaction-service-v1/redaction-service-server-v1/src/test/resources/files/basf
|
||||||
|
url = ssh://git@git.knecon.com:22222/fforesight/documents/basf.git
|
||||||
|
update = merge
|
||||||
@ -126,7 +126,7 @@ public class RedactionAcceptanceTest extends AbstractRedactionIntegrationTest {
|
|||||||
@Test
|
@Test
|
||||||
public void acceptanceTests() throws IOException {
|
public void acceptanceTests() throws IOException {
|
||||||
|
|
||||||
AnalyzeRequest request = uploadFileToStorage("files/new/SYNGENTA_EFSA_sanitisation_GFL_v1_moreSections.pdf");
|
AnalyzeRequest request = uploadFileToStorage("files/syngenta/CustomerFiles/SYNGENTA_EFSA_sanitisation_GFL_v1_moreSections.pdf");
|
||||||
System.out.println("Start Full integration test");
|
System.out.println("Start Full integration test");
|
||||||
analyzeDocumentStructure(LayoutParsingType.REDACT_MANAGER, request);
|
analyzeDocumentStructure(LayoutParsingType.REDACT_MANAGER, request);
|
||||||
System.out.println("Finished structure analysis");
|
System.out.println("Finished structure analysis");
|
||||||
@ -190,7 +190,7 @@ public class RedactionAcceptanceTest extends AbstractRedactionIntegrationTest {
|
|||||||
@Test
|
@Test
|
||||||
public void noEndlessLoopsTest() {
|
public void noEndlessLoopsTest() {
|
||||||
|
|
||||||
AnalyzeRequest request = uploadFileToStorage("files/new/SYNGENTA_EFSA_sanitisation_GFL_v1_moreSections.pdf");
|
AnalyzeRequest request = uploadFileToStorage("files/syngenta/CustomerFiles/SYNGENTA_EFSA_sanitisation_GFL_v1_moreSections.pdf");
|
||||||
System.out.println("Start Full integration test");
|
System.out.println("Start Full integration test");
|
||||||
analyzeDocumentStructure(LayoutParsingType.REDACT_MANAGER, request);
|
analyzeDocumentStructure(LayoutParsingType.REDACT_MANAGER, request);
|
||||||
System.out.println("Finished structure analysis");
|
System.out.println("Finished structure analysis");
|
||||||
|
|||||||
@ -0,0 +1 @@
|
|||||||
|
Subproject commit fd99b2ed29dcb11d8beb16bdedc7a393f73d1ae0
|
||||||
@ -0,0 +1 @@
|
|||||||
|
Subproject commit d76c2fe273c27e3beea0b94e56f8821b1f715985
|
||||||
Loading…
x
Reference in New Issue
Block a user