RED-8670: integrate table inference from research
* introduce controllerAdvice to ControllerV2 package * remove unnecessary analysis requirement calculation for deleted files * silence javadoc lint warnings (e.g. no comment)
This commit is contained in:
parent
040b521523
commit
72b8c1a949
@ -404,24 +404,33 @@ paths:
|
|||||||
post:
|
post:
|
||||||
operationId: uploadMapping
|
operationId: uploadMapping
|
||||||
summary: Upload a new component mapping to a DossierTemplate.
|
summary: Upload a new component mapping to a DossierTemplate.
|
||||||
description: |
|
description: |
|
||||||
Use this endpoint to upload a new component mapping to a specific DossierTemplate.
|
Use this endpoint to upload a new component mapping to a specific DossierTemplate.
|
||||||
|
|
||||||
- **File Format:** CSV (comma-separated values).
|
#### File Requirements
|
||||||
- **Header:** The first row should contain column labels.
|
- **Format:** The file must be in CSV (comma-separated values) format.
|
||||||
- **Data Structure:** Ensure all rows have the same number of columns (rectangular data).
|
- **Header Row:** The first row should contain the column labels.
|
||||||
- **Sorting:** Rows will be sorted by the values in each column, from left to right, for faster lookups.
|
- **Data Consistency:** All rows must have the same number of columns to ensure rectangular data structure.
|
||||||
- **Customization:** Users can specify the delimiter and encoding of the CSV file.
|
|
||||||
- **Usage** The component mapping file can be used in component rules to relate components to existing master data.
|
|
||||||
|
|
||||||
**Tip:** Place keys to be queried in the first columns and results to be mapped in the last column for best performance.
|
#### Sorting and Performance
|
||||||
|
- **Sorting:** Rows are automatically sorted by the values in each column, from left to right, to enhance lookup speed.
|
||||||
|
- **Optimization Tip:** Place keys to be queried in the first columns and the results to be mapped in the last column for best performance.
|
||||||
|
|
||||||
|
#### Customization Options
|
||||||
|
Users can specify the delimiter and encoding used in the CSV file.
|
||||||
|
|
||||||
|
#### Usage
|
||||||
|
The component mapping file can be utilized in component rules to relate components to existing master data.
|
||||||
|
|
||||||
|
#### Example
|
||||||
|
|
||||||
|
| search_value | mapped_value |
|
||||||
|
|--------------|--------------|
|
||||||
|
| Alice | Manager |
|
||||||
|
| Bob | Developer |
|
||||||
|
| Charlie | Analyst |
|
||||||
|
|
||||||
|
|
||||||
Example:
|
|
||||||
| search_value | mapped_value |
|
|
||||||
| ------------ | ------------ |
|
|
||||||
| Alice | Manager |
|
|
||||||
| Bob | Developer |
|
|
||||||
| Charlie | Analyst |
|
|
||||||
tags:
|
tags:
|
||||||
- 1. Dossier Templates
|
- 1. Dossier Templates
|
||||||
requestBody:
|
requestBody:
|
||||||
@ -500,21 +509,20 @@ paths:
|
|||||||
description: |
|
description: |
|
||||||
Use this endpoint to update an existing component mapping of a specific dossier template.
|
Use this endpoint to update an existing component mapping of a specific dossier template.
|
||||||
|
|
||||||
- **File Format:** CSV (comma-separated values).
|
#### File Requirements
|
||||||
- **Header:** The first row should contain column labels.
|
- **Format:** The file must be in CSV (comma-separated values) format.
|
||||||
- **Data Structure:** Ensure all rows have the same number of columns (rectangular data).
|
- **Header Row:** The first row should contain the column labels.
|
||||||
- **Sorting:** Rows will be sorted by the values in each column, from left to right, for faster lookups.
|
- **Data Consistency:** All rows must have the same number of columns to ensure rectangular data structure.
|
||||||
- **Customization:** Users can specify the delimiter and encoding of the CSV file.
|
|
||||||
- **Usage** The component mapping file can be used in component rules to relate components to existing master data.
|
|
||||||
|
|
||||||
**Tip:** Place keys to be queried in the first columns and results to be mapped in the last column for best performance.
|
#### Sorting and Performance
|
||||||
|
- **Sorting:** Rows are automatically sorted by the values in each column, from left to right, to enhance lookup speed.
|
||||||
|
- **Optimization Tip:** Place keys to be queried in the first columns and the results to be mapped in the last column for best performance.
|
||||||
|
|
||||||
|
#### Customization Options
|
||||||
|
Users can specify the delimiter and encoding used in the CSV file.
|
||||||
|
|
||||||
Example:
|
#### Usage
|
||||||
| search_value | mapped_value |
|
The component mapping file can be utilized in component rules to relate components to existing master data.
|
||||||
| ------------ | ------------ |
|
|
||||||
| Alice | Manager |
|
|
||||||
| Bob | Developer |
|
|
||||||
| Charlie | Analyst |
|
|
||||||
tags:
|
tags:
|
||||||
- 1. Dossier Templates
|
- 1. Dossier Templates
|
||||||
requestBody:
|
requestBody:
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user