feat(shipping-notice): 添加识别定义和规则集管理功能,支持客户和站点的可配置识别规则
This commit is contained in:
1 parent
88408490d7
commit
34d489a2d1
167 files changed
+10365
-7978
No files matched your search
@@ -160,7 +160,7 @@ def test_inventory_source_api_saves_new_source_disabled_and_activation_reports_m
|
||||
'program_group': 'Bison', 'program_label': 'AWSBI',
|
||||
'report_group': 'Inventory', 'report_name': 'On Hand',
|
||||
},
|
||||
'query_parameters_json': [], 'match_aliases_json': [],
|
||||
'query_parameters_json': [],
|
||||
}
|
||||
created = client.post('/api/admin/shipping-notice/sources', json=payload, headers=_headers('inventory-admin', 'admin'))
|
||||
assert created.status_code == 201
|
||||
@@ -192,7 +192,7 @@ def test_latest_inventory_configuration_test_is_admin_only(app, client):
|
||||
source_code='API_LATEST_TEST_SOURCE', display_name='Latest Test Source', connector_type='dbs',
|
||||
rpa_profile=profile, warehouse_resolution_mode='fixed', fixed_warehouse_id='DUB',
|
||||
report_path_json={'program_group': 'Bison', 'program_label': 'AWSBI', 'report_group': 'Inventory', 'report_name': 'On Hand'},
|
||||
query_parameters_json=[], match_aliases_json=[], enabled=False,
|
||||
query_parameters_json=[], enabled=False,
|
||||
)
|
||||
db.session.add(source)
|
||||
db.session.commit()
|
||||
|
||||
Reference in new issue
Block a user