Skip to content

Commit bbd1562

Browse files
authored
Rel-984674 import service staging governance correct loadfile paths in relativity import samples (#28)
* REL-984674 change REST samples * REL-984674 change Kepler samples * REL-984674 correct DotNet samples * REL-984674 correct docs * REL-984674 PR improvemnts
1 parent 6191ceb commit bbd1562

57 files changed

Lines changed: 77 additions & 77 deletions

File tree

Some content is hidden

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

OpenAPI/openapidoc.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1289,7 +1289,7 @@
12891289
"type": "string",
12901290
"description": "Custom provided fileshare location where dataset (load file) will be generated. When not provided the default fileshare location for selected workspace is used.",
12911291
"nullable": true,
1292-
"example": "\\files\\T001\\Files\\EDDS1015024\\DiagnosticJob"
1292+
"example": "\\\\files\\T001\\StructuredData\\Import\\EDDS1015024\\DiagnosticJob"
12931293
}
12941294
}
12951295
},
@@ -1473,7 +1473,7 @@
14731473
"Path": {
14741474
"type": "string",
14751475
"description": "File localization",
1476-
"example": "\\files\\T001\\Files\\tmp_loadfile\\loadfile.dat"
1476+
"example": "\\\\files\\T001\\StructuredData\\Import\\tmp_loadfile\\loadfile.dat"
14771477
},
14781478
"EndOfLine": {
14791479
"$ref": "#/components/schemas/DataSourceEndOfLine"

README.md

Lines changed: 11 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -388,7 +388,7 @@ User can cancel running Import Job in every moment. All related data sources wil
388388
389389
{
390390
"dataSourceSettings": {
391-
"Path": "\\files\\T001\\Files\\SampleDataSources\\load_file.dat",
391+
"Path": "\\\\files\\T001\\StructuredData\\Import\\SampleDataSources\\load_file.dat",
392392
"FirstLineContainsColumnNames": true,
393393
"StartLine": 1,
394394
"ColumnDelimiter": "|",
@@ -406,7 +406,7 @@ User can cancel running Import Job in every moment. All related data sources wil
406406
> C# builders
407407
408408
DataSourceSettings dataSourceSettings = DataSourceSettingsBuilder.Create()
409-
.ForLoadFile("\\files\\T001\\Files\\SampleDataSources\\load_file.dat")
409+
.ForLoadFile("\\\\files\\T001\\StructuredData\\Import\\SampleDataSources\\load_file.dat")
410410
.WithDelimiters(d => d
411411
.WithColumnDelimiters('|')
412412
.WithQuoteDelimiter('^')
@@ -424,7 +424,7 @@ User can cancel running Import Job in every moment. All related data sources wil
424424
DataSourceSettings dataSourceSettings = new DataSourceSettings
425425
{
426426
Type = DataSourceType.LoadFile,
427-
Path = "\\files\\T001\\Files\\SampleDataSources\\load_file.dat",
427+
Path = "\\\\files\\T001\\StructuredData\\Import\\SampleDataSources\\load_file.dat",
428428
NewLineDelimiter = '#',
429429
ColumnDelimiter = '|',
430430
QuoteDelimiter = '^',
@@ -526,7 +526,7 @@ User can cancel running Import Job in every moment. All related data sources wil
526526
527527
{
528528
"dataSourceSettings": {
529-
"Path": "\\files\\T001\\Files\\SampleDataSources\\opticon_file.opt",
529+
"Path": "\\\\files\\T001\\StructuredData\\Import\\SampleDataSources\\opticon_file.opt",
530530
"FirstLineContainsColumnNames": false,
531531
"StartLine": 0;
532532
"EndOfLine" = 0
@@ -540,7 +540,7 @@ User can cancel running Import Job in every moment. All related data sources wil
540540
> C# Builders
541541
542542
DataSourceSettings dataSourceSettings = DataSourceSettingsBuilder.Create()
543-
.ForOpticonFile("\\files\\T001\\Files\\SampleDataSources\\opticon_file.opt")
543+
.ForOpticonFile("\\\\files\\T001\\StructuredData\\Import\\SampleDataSources\\opticon_file.opt")
544544
.WithDefaultDelimitersForOpticonFile()
545545
.WithEndOfLineForWindows()
546546
.WithStartFromBeginning()
@@ -552,7 +552,7 @@ User can cancel running Import Job in every moment. All related data sources wil
552552
DataSourceSettings dataSourceSettings = new DataSourceSettings
553553
{
554554
Type = DataSourceType.Opticon,
555-
Path = "\\files\\T001\\Files\\SampleDataSources\\opticon_file.opt",
555+
Path = "\\\\files\\T001\\StructuredData\\Import\\SampleDataSources\\opticon_file.opt",
556556
NewLineDelimiter = default,
557557
ColumnDelimiter = default,
558558
QuoteDelimiter = default,
@@ -677,7 +677,7 @@ User can cancel running Import Job in every moment. All related data sources wil
677677
678678
{
679679
"dataSourceSettings": {
680-
"Path": "\\files\\T001\\Files\\SampleDataSources\\load_file.dat",
680+
"Path": "\\\\files\\T001\\StructuredData\\Import\\SampleDataSources\\load_file.dat",
681681
"FirstLineContainsColumnNames": true,
682682
"StartLine": 1,
683683
"ColumnDelimiter": "|",
@@ -695,7 +695,7 @@ User can cancel running Import Job in every moment. All related data sources wil
695695
> C# builder
696696
697697
DataSourceSettings dataSourceSettings = DataSourceSettingsBuilder.Create()
698-
.ForLoadFile("\\files\\T001\\Files\\SampleDataSources\\load_file.dat)
698+
.ForLoadFile("\\\\files\\T001\\StructuredData\\Import\\SampleDataSources\\load_file.dat)
699699
.WithDelimiters(d => d
700700
.WithColumnDelimiters('|')
701701
.WithQuoteDelimiter('^')
@@ -713,7 +713,7 @@ User can cancel running Import Job in every moment. All related data sources wil
713713
DataSourceSettings dataSourceSettings = new DataSourceSettings
714714
{
715715
Type = DataSourceType.LoadFile,
716-
Path = "\\files\\T001\\Files\\SampleDataSources\\load_file.dat",
716+
Path = "\\\\files\\T001\\StructuredData\\Import\\SampleDataSources\\load_file.dat",
717717
NewLineDelimiter = '#',
718718
ColumnDelimiter = '|',
719719
QuoteDelimiter = '^',
@@ -1131,7 +1131,7 @@ List of samples:
11311131

11321132

11331133
// Path to the file in opticon format used in data source settings.
1134-
const string opticonFilePath = "\\files\\T001\\Files\\SampleDataSources\\opticon_01.opt";
1134+
const string opticonFilePath = "\\\\files\\T001\\StructuredData\\Import\\SampleDataSources\\opticon_01.opt";
11351135

11361136
- Run application
11371137

@@ -1187,7 +1187,7 @@ List of samples:
11871187
- Update variable which defines the path to the load file/opticon file (e.g. $opticonFilePath) according to the location where you copied sample data.
11881188

11891189
$workspaceId = 1000000
1190-
$loadFilePath = "\\files\T001\Files\SampleDataSources\load_file_01.dat"
1190+
$loadFilePath = "\\files\T001\StructuredData\Import\SampleDataSources\load_file_01.dat"
11911191

11921192
- Update other Ids related to your workspace - productionSetsArtifactId , rootFolderId,rdoArtifactTypeID. They are required only by specific samples.
11931193

Samples/DotNetClientConsole/SampleCollection/Sample01_ImportNativeFiles.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@ public async Task Sample01_ImportNativeFiles()
4747
const int filePathColumnIndex = 22;
4848

4949
// Path to the load file used in data source settings.
50-
const string loadFile01Path = "\\files\\T001\\Files\\SampleDataSources\\load_file_01.dat";
50+
const string loadFile01Path = "\\\\files\\T001\\StructuredData\\Import\\SampleDataSources\\load_file_01.dat";
5151

5252
// Create payload for request.
5353
var createJobPayload = new

Samples/DotNetClientConsole/SampleCollection/Sample02_ImportDocumentsInOverlayMode.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@ public async Task Sample02_ImportDocumentsInOverlayMode()
4747
const int filePathColumnIndex = 22;
4848

4949
// Path to the load file used in data source settings.
50-
const string loadFile01Path = "\\files\\T001\\Files\\SampleDataSources\\load_file_01.dat";
50+
const string loadFile01Path = "\\\\files\\T001\\StructuredData\\Import\\SampleDataSources\\load_file_01.dat";
5151

5252
// overlay key field
5353
const string overlayKeyField = "Control Number";

Samples/DotNetClientConsole/SampleCollection/Sample03_ImportFromTwoDataSources.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -46,8 +46,8 @@ public async Task Sample03_ImportFromTwoDataSources()
4646
const int filePathColumnIndex = 22;
4747

4848
// Path to the load files used in data source settings.
49-
const string loadFile01Path = "\\files\\T001\\Files\\SampleDataSources\\load_file_01.dat";
50-
const string loadFile02Path = "\\files\\T001\\Files\\SampleDataSources\\load_file_02.dat";
49+
const string loadFile01Path = "\\\\files\\T001\\StructuredData\\Import\\SampleDataSources\\load_file_01.dat";
50+
const string loadFile02Path = "\\\\files\\T001\\StructuredData\\Import\\SampleDataSources\\load_file_02.dat";
5151

5252
// Create payload for request.
5353
var createJobPayload = new

Samples/DotNetClientConsole/SampleCollection/Sample04_AddDataSourceToRunningJob.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -46,8 +46,8 @@ public async Task Sample04_AddDataSourceToRunningJob()
4646
const int filePathColumnIndex = 22;
4747

4848
// Path to the load files used in data source settings.
49-
const string loadFile01Path = "\\files\\T001\\Files\\SampleDataSources\\load_file_01.dat";
50-
const string loadFile02Path = "\\files\\T001\\Files\\SampleDataSources\\load_file_02.dat";
49+
const string loadFile01Path = "\\\\files\\T001\\StructuredData\\Import\\SampleDataSources\\load_file_01.dat";
50+
const string loadFile02Path = "\\\\files\\T001\\StructuredData\\Import\\SampleDataSources\\load_file_02.dat";
5151

5252
// Create payload for request.
5353
var createJobPayload = new

Samples/DotNetClientConsole/SampleCollection/Sample05_ImportDocumentsWithExtractedText.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@ public async Task Sample05_ImportDocumentsWithExtractedText()
4646
const int filePathColumnIndex = 22;
4747

4848
// Path to the load file used in data source settings.
49-
const string loadFile01Path = "\\files\\T001\\Files\\SampleDataSources\\load_file_01.dat";
49+
const string loadFile01Path = "\\\\files\\T001\\StructuredData\\Import\\SampleDataSources\\load_file_01.dat";
5050

5151
var createJobPayload = new
5252
{

Samples/DotNetClientConsole/SampleCollection/Sample06_ImportDocumentsToSelectedFolder.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@ public async Task Sample06_ImportDocumentsToSelectedFolder()
4848
const int filePathColumnIndex = 22;
4949

5050
// Path to the load file used in data source settings.
51-
const string loadFile03Path = "\\files\\T001\\Files\\SampleDataSources\\load_file_03.dat";
51+
const string loadFile03Path = "\\\\files\\T001\\StructuredData\\Import\\SampleDataSources\\load_file_03.dat";
5252

5353
// Create payload for request.
5454
var createJobPayload = new

Samples/DotNetClientConsole/SampleCollection/Sample07_DirectImportSettingsForDocuments.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -119,7 +119,7 @@ public async Task Sample07_DirectImportSettingsForDocuments()
119119
DataSourceSettings dataSourceSettings = new DataSourceSettings
120120
{
121121
Type = DataSourceType.LoadFile,
122-
Path = "\\files\\T001\\Files\\SampleDataSources\\load_file_04.dat",
122+
Path = "\\\\files\\T001\\StructuredData\\Import\\SampleDataSources\\load_file_04.dat",
123123
NewLineDelimiter = '#',
124124
ColumnDelimiter = '|',
125125
QuoteDelimiter = '^',

Samples/DotNetClientConsole/SampleCollection/Sample08_ImportImages.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ public async Task Sample08_ImportImages()
3939
const int workspaceId = 1000000;
4040

4141
// Path to the file in opticon format used in data source settings.
42-
const string opticonFilePath = "\\files\\T001\\Files\\SampleDataSources\\opticon_01.opt";
42+
const string opticonFilePath = "\\\\files\\T001\\StructuredData\\Import\\SampleDataSources\\opticon_01.opt";
4343

4444
// Create request's payload
4545
var createJobPayload = new

0 commit comments

Comments
 (0)