tciq 0.1.0__tar.gz
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- tciq-0.1.0/.env.example +37 -0
- tciq-0.1.0/API_REFERENCE.md +748 -0
- tciq-0.1.0/CHANGELOG.md +48 -0
- tciq-0.1.0/GETTING_STARTED.md +641 -0
- tciq-0.1.0/LICENSE +21 -0
- tciq-0.1.0/MANIFEST.in +5 -0
- tciq-0.1.0/PKG-INFO +161 -0
- tciq-0.1.0/QUICKGUIDE.md +704 -0
- tciq-0.1.0/QUICKSTART.md +86 -0
- tciq-0.1.0/README.md +129 -0
- tciq-0.1.0/TESTING.md +383 -0
- tciq-0.1.0/examples/aion_end_to_end.py +244 -0
- tciq-0.1.0/examples/auto_repair_demo.py +80 -0
- tciq-0.1.0/examples/bulk_cleanup_databases.py +84 -0
- tciq-0.1.0/examples/discover_aion.py +105 -0
- tciq-0.1.0/examples/discover_local.py +92 -0
- tciq-0.1.0/examples/fetch_view_data.py +190 -0
- tciq-0.1.0/examples/generate_report.py +250 -0
- tciq-0.1.0/examples/inspect_database_schema.py +87 -0
- tciq-0.1.0/examples/list_tests_by_owner.py +34 -0
- tciq-0.1.0/examples/manage_test_database.py +76 -0
- tciq-0.1.0/examples/manage_views.py +131 -0
- tciq-0.1.0/examples/modify_query_definition.py +216 -0
- tciq-0.1.0/examples/multi_database_query.py +67 -0
- tciq-0.1.0/examples/query_modifiers.py +107 -0
- tciq-0.1.0/examples/rename_test_roundtrip.py +115 -0
- tciq-0.1.0/examples/run_boxplot_query.py +109 -0
- tciq-0.1.0/examples/run_histogram_query.py +114 -0
- tciq-0.1.0/examples/run_json_definition_query.py +123 -0
- tciq-0.1.0/examples/run_live_query.py +118 -0
- tciq-0.1.0/examples/run_pie_chart_query.py +105 -0
- tciq-0.1.0/examples/run_view_query.py +286 -0
- tciq-0.1.0/examples/run_xy_chart_query.py +93 -0
- tciq-0.1.0/pyproject.toml +45 -0
- tciq-0.1.0/setup.cfg +4 -0
- tciq-0.1.0/tciq/__init__.py +40 -0
- tciq-0.1.0/tciq/aion_discovery.py +173 -0
- tciq-0.1.0/tciq/client.py +961 -0
- tciq-0.1.0/tciq/config.py +230 -0
- tciq-0.1.0/tciq/databases.py +359 -0
- tciq-0.1.0/tciq/discovery.py +150 -0
- tciq-0.1.0/tciq/exceptions.py +31 -0
- tciq-0.1.0/tciq/queries.py +39 -0
- tciq-0.1.0/tciq/query.py +256 -0
- tciq-0.1.0/tciq/reports.py +257 -0
- tciq-0.1.0/tciq/transport.py +100 -0
- tciq-0.1.0/tciq/version.py +1 -0
- tciq-0.1.0/tciq/view_query_builder.py +776 -0
- tciq-0.1.0/tciq/views.py +345 -0
- tciq-0.1.0/tciq.egg-info/PKG-INFO +161 -0
- tciq-0.1.0/tciq.egg-info/SOURCES.txt +70 -0
- tciq-0.1.0/tciq.egg-info/dependency_links.txt +1 -0
- tciq-0.1.0/tciq.egg-info/requires.txt +7 -0
- tciq-0.1.0/tciq.egg-info/top_level.txt +1 -0
- tciq-0.1.0/tests/conftest.py +28 -0
- tciq-0.1.0/tests/data/dsr_query_filtered_min_latency.json +210 -0
- tciq-0.1.0/tests/data/dsr_query_unfiltered.json +208 -0
- tciq-0.1.0/tests/data/view_detailed_stream_results.json +1 -0
- tciq-0.1.0/tests/fixtures.py +233 -0
- tciq-0.1.0/tests/test_aion_discovery.py +231 -0
- tciq-0.1.0/tests/test_client.py +1402 -0
- tciq-0.1.0/tests/test_config.py +268 -0
- tciq-0.1.0/tests/test_databases.py +63 -0
- tciq-0.1.0/tests/test_discovery.py +124 -0
- tciq-0.1.0/tests/test_examples_smoke.py +481 -0
- tciq-0.1.0/tests/test_new_features.py +557 -0
- tciq-0.1.0/tests/test_queries.py +64 -0
- tciq-0.1.0/tests/test_query.py +258 -0
- tciq-0.1.0/tests/test_reports.py +213 -0
- tciq-0.1.0/tests/test_transport.py +172 -0
- tciq-0.1.0/tests/test_view_query_builder.py +589 -0
- tciq-0.1.0/tests/test_views.py +367 -0
tciq-0.1.0/.env.example
ADDED
|
@@ -0,0 +1,37 @@
|
|
|
1
|
+
# tciq connection settings -- copy this file to .env and fill in what you
|
|
2
|
+
# need. Nothing here is hardcoded in the client; IQClient() reads all of
|
|
3
|
+
# it at runtime. See tciq/config.py for the full precedence rules.
|
|
4
|
+
|
|
5
|
+
# --- Where is orion-res? Pick ONE of the following approaches. ---
|
|
6
|
+
|
|
7
|
+
# Option A: full base URL (skips discovery entirely).
|
|
8
|
+
# TCIQ_BASE_URL=http://127.0.0.1:9200
|
|
9
|
+
|
|
10
|
+
# Option B: explicit host/port.
|
|
11
|
+
# TCIQ_HOST=127.0.0.1
|
|
12
|
+
# TCIQ_PORT=9200
|
|
13
|
+
|
|
14
|
+
# Option C: discover from an STC installation directory
|
|
15
|
+
# (reads orion-res.yaml for local IQ, or stcbll.ini for remote IQ).
|
|
16
|
+
# TCIQ_INSTALL_DIR=C:\Program Files\Spirent Communications\Spirent TestCenter
|
|
17
|
+
|
|
18
|
+
# Option D/E: AION platform discovery (authenticates to AION IAM, then
|
|
19
|
+
# looks up orion-res's host/port + bearer token from product-instances).
|
|
20
|
+
# TCIQ_AION_URL=https://aion.example.com
|
|
21
|
+
# TCIQ_AION_USERNAME=user@example.com
|
|
22
|
+
# TCIQ_AION_PASSWORD=secret
|
|
23
|
+
# TCIQ_AION_NODE_NAME=
|
|
24
|
+
# TCIQ_AION_PORT_NAME=iq
|
|
25
|
+
# TCIQ_AION_CA_CERT=
|
|
26
|
+
|
|
27
|
+
# --- Optional ---
|
|
28
|
+
|
|
29
|
+
# Default test (database) id used by query()/get_test() when use_test()
|
|
30
|
+
# hasn't been called. Leave unset and use_test() at runtime instead.
|
|
31
|
+
# TCIQ_DATABASE_ID=
|
|
32
|
+
|
|
33
|
+
# HTTP request timeout, in seconds. Defaults to 10.
|
|
34
|
+
# TCIQ_TIMEOUT=10
|
|
35
|
+
|
|
36
|
+
# 1/true/yes to log each request's method/URL/body + timing before sending.
|
|
37
|
+
# TCIQ_DEBUG=
|