You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Updates int tests to BaSyx Go AASX File Server (#541)
* Updates int tests to BaSyx Go AASX File Server
* Enhances integration test reporting with detailed failure diagnostics and request tracing
* Fixes remaining errors
* Fixes formatting issue
package_db_id BIGINTNOT NULLREFERENCES aasx_package(id) ON DELETE CASCADE,
702
+
aas_id TEXTNOT NULL,
703
+
position INTEGERNOT NULL,
704
+
UNIQUE(package_db_id, position),
705
+
UNIQUE(package_db_id, aas_id),
706
+
db_created_at TIMESTAMPTZNOT NULL DEFAULT NOW(),
707
+
db_updated_at TIMESTAMPTZNOT NULL DEFAULT NOW()
708
+
);
709
+
671
710
-- ------------------------------------------
672
711
-- Timestamp triggers
673
712
-- ------------------------------------------
@@ -764,7 +803,6 @@ CREATE INDEX IF NOT EXISTS ix_operation_variable_operation_id ON operation_varia
764
803
CREATEINDEXIF NOT EXISTS ix_operation_variable_value_sme ON operation_variable(value_sme);
765
804
766
805
CREATEUNIQUE INDEXIF NOT EXISTS ix_aas_identifier_aasid ON aas_identifier(aasId);
767
-
CREATEINDEXIF NOT EXISTS ix_aas_identifier_db_created_at ON aas_identifier(db_created_at);
768
806
769
807
CREATEINDEXIF NOT EXISTS ix_specasset_descriptor_id_name ON specific_asset_id(descriptor_id, name);
770
808
CREATEINDEXIF NOT EXISTS ix_specasset_descriptor_id_position ON specific_asset_id(descriptor_id, position);
@@ -787,6 +825,7 @@ CREATE INDEX IF NOT EXISTS ix_aas_endpoint_descriptor_position ON aas_descriptor
787
825
CREATEINDEXIF NOT EXISTS ix_aas_endpoint_position ON aas_descriptor_endpoint(position);
788
826
789
827
CREATEINDEXIF NOT EXISTS ix_aasd_db_created_at ON aas_descriptor(db_created_at);
828
+
CREATEINDEXIF NOT EXISTS ix_aasd_created_at ON aas_descriptor(created_at);
790
829
CREATEINDEXIF NOT EXISTS ix_aasd_id_short ON aas_descriptor(id_short);
791
830
CREATEINDEXIF NOT EXISTS ix_aasd_global_asset_id ON aas_descriptor(global_asset_id);
792
831
CREATEINDEXIF NOT EXISTS ix_aasd_id_trgm ON aas_descriptor USING GIN (id gin_trgm_ops);
@@ -847,3 +886,8 @@ CREATE INDEX IF NOT EXISTS ix_specasset_supp_semantic_refkey_refid ON specific_a
847
886
CREATEINDEXIF NOT EXISTS ix_specasset_supp_semantic_refkey_refval ON specific_asset_id_supplemental_semantic_id_reference_key(reference_id, value);
848
887
CREATEINDEXIF NOT EXISTS ix_specasset_supp_semantic_refkey_type_val ON specific_asset_id_supplemental_semantic_id_reference_key(type, value);
849
888
CREATEINDEXIF NOT EXISTS ix_specasset_supp_semantic_refkey_val_trgm ON specific_asset_id_supplemental_semantic_id_reference_key USING GIN (value gin_trgm_ops);
889
+
890
+
CREATEINDEXIF NOT EXISTS ix_aasx_package_package_id ON aasx_package(package_id);
891
+
CREATEINDEXIF NOT EXISTS ix_aasx_package_db_created_at ON aasx_package(db_created_at);
892
+
CREATEINDEXIF NOT EXISTS ix_aasx_package_aas_id_aas ON aasx_package_aas_id(aas_id);
893
+
CREATEINDEXIF NOT EXISTS ix_aasx_package_aas_id_package ON aasx_package_aas_id(package_db_id);
0 commit comments