forked from eclipse-tractusx/traceability-foss
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Update IRS Request, Asset Table, and Asset Mapping, Removing Map, Map…
… component and supplierPart (#94) * Feature/tracefoss 617 upstream visiblity (#169) * chore: TRACEFOSS-XXX removed some excluded files from kics scan. --------- Co-authored-by: Maximilian Wesener <[email protected]>
- Loading branch information
1 parent
879e8ee
commit cd317bd
Showing
51 changed files
with
2,628 additions
and
1,374 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,22 @@ | ||
## Query for assets with childs: | ||
|
||
SELECT asset.id, asset.customer_part_id,asset.id_short, asset.manufacturer_id, asset.manufacturer_name, asset.manufacturer_part_id, asset.manufacturing_country, asset.manufacturing_date, asset.name_at_customer, asset.name_at_manufacturer, asset.quality_type, asset.batch_id, asset.part_instance_id, asset.van | ||
FROM public.asset | ||
JOIN asset_child_descriptors | ||
ON asset.id = asset_child_descriptors.id; | ||
|
||
## Query for assets with parents: | ||
|
||
SELECT asset.id, asset.customer_part_id,asset.id_short, asset.manufacturer_id, asset.manufacturer_name, asset.manufacturer_part_id, asset.manufacturing_country, asset.manufacturing_date, asset.name_at_customer, asset.name_at_manufacturer, asset.quality_type, asset.batch_id, asset.part_instance_id, asset.van | ||
FROM public.asset | ||
JOIN asset_parent_descriptors | ||
ON asset.id = asset_parent_descriptors.id; | ||
|
||
## Clean up data consumption process relevant things: | ||
|
||
delete FROM public.asset_child_descriptors; | ||
delete FROM public.asset_parent_descriptors; | ||
delete FROM public.asset; | ||
delete FROM public.shell_descriptor; | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.