-
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.
- Loading branch information
1 parent
9f5c19b
commit f35be35
Showing
498 changed files
with
31,469 additions
and
0 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,136 @@ | ||
name: Waylay Queries CI | ||
|
||
on: | ||
push: | ||
branches: [ "main", "staging", "release/**" ] | ||
tags: | ||
- '**' | ||
pull_request: | ||
branches: [ "main", "staging", "release/**" ] | ||
|
||
jobs: | ||
test: | ||
runs-on: ubuntu-latest | ||
strategy: | ||
matrix: | ||
python-version: ["3.9", "3.10", "3.11", "3.12"] | ||
|
||
steps: | ||
- uses: actions/checkout@v4 | ||
- name: Set up Git with token to access other private repositories | ||
run: git config --global url."https://${{ secrets.OTOMATOR_PAT }}@github".insteadOf https://github | ||
- name: Setup Python ${{ matrix.python-version }} | ||
uses: actions/setup-python@v5 | ||
with: | ||
python-version: ${{ matrix.python-version }} | ||
cache: 'pip' | ||
cache-dependency-path: '**/*requirements*.txt' | ||
- name: install dependencies | ||
run: make ci-install-types | ||
- name: code qa | ||
run: make ci-code-qa | ||
- name: unit tests | ||
run: make ci-test | ||
|
||
test-minimal: | ||
runs-on: ubuntu-latest | ||
strategy: | ||
matrix: | ||
python-version: ["3.9", "3.10", "3.11", "3.12"] | ||
steps: | ||
- uses: actions/checkout@v4 | ||
- name: Set up Git with token to access other private repositories | ||
run: git config --global url."https://${{ secrets.OTOMATOR_PAT }}@github".insteadOf https://github | ||
- name: Setup Python ${{ matrix.python-version }} | ||
uses: actions/setup-python@v5 | ||
with: | ||
python-version: ${{ matrix.python-version }} | ||
cache: 'pip' | ||
cache-dependency-path: '**/*requirements*.txt' | ||
- name: install dependencies | ||
run: make ci-install-api | ||
- name: unit tests | ||
run: make ci-test | ||
|
||
publish-api: | ||
needs: | ||
- test | ||
- test-minimal | ||
if: github.event_name == 'push' && startsWith(github.ref, 'refs/tags') | ||
|
||
defaults: | ||
run: | ||
working-directory: ./waylay-sdk-queries | ||
|
||
name: Publish api package to PyPI | ||
runs-on: ubuntu-latest | ||
environment: | ||
name: pypi | ||
url: https://pypi.org/p/waylay-sdk-queries | ||
|
||
permissions: | ||
actions: read | ||
contents: read | ||
id-token: write # IMPORTANT: mandatory for trusted publishing | ||
|
||
steps: | ||
- uses: actions/checkout@v4 | ||
- name: Set up Python | ||
uses: actions/setup-python@v5 | ||
with: | ||
python-version: "3.11" | ||
- name: Install pypa/build | ||
run: pip install build | ||
- name: check version | ||
id: check-tag | ||
uses: samuelcolvin/[email protected] | ||
with: | ||
version_file_path: waylay-sdk-queries/src/waylay/services/queries/service/__init__.py | ||
- name: Build | ||
run: python3 -m build | ||
- name: Publish to PyPI | ||
uses: pypa/gh-action-pypi-publish@release/v1 | ||
with: | ||
packages-dir: waylay-sdk-queries/dist | ||
|
||
publish-types: | ||
needs: | ||
- test | ||
- test-minimal | ||
if: github.event_name == 'push' && startsWith(github.ref, 'refs/tags') | ||
|
||
defaults: | ||
run: | ||
working-directory: ./waylay-sdk-queries-types | ||
|
||
name: Publish types package to PyPI | ||
runs-on: ubuntu-latest | ||
environment: | ||
name: pypi | ||
url: https://pypi.org/p/waylay-sdk-queries-types | ||
|
||
|
||
permissions: | ||
actions: read | ||
contents: read | ||
id-token: write # IMPORTANT: mandatory for trusted publishing | ||
|
||
steps: | ||
- uses: actions/checkout@v4 | ||
- name: Set up Python | ||
uses: actions/setup-python@v5 | ||
with: | ||
python-version: "3.11" | ||
- name: Install pypa/build | ||
run: pip install build | ||
- name: check version | ||
id: check-tag | ||
uses: samuelcolvin/[email protected] | ||
with: | ||
version_file_path: waylay-sdk-queries-types/src/waylay/services/queries/models/__init__.py | ||
- name: Build | ||
run: python3 -m build | ||
- name: Publish to PyPI | ||
uses: pypa/gh-action-pypi-publish@release/v1 | ||
with: | ||
packages-dir: waylay-sdk-queries-types/dist |
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,23 @@ | ||
# OpenAPI Generator Ignore | ||
# Generated by openapi-generator https://github.com/openapitools/openapi-generator | ||
|
||
# Use this file to prevent files from being overwritten by the generator. | ||
# The patterns follow closely to .gitignore or .dockerignore. | ||
|
||
# As an example, the C# client generator defines ApiClient.cs. | ||
# You can make changes and tell OpenAPI Generator to ignore just this file by uncommenting the following line: | ||
#ApiClient.cs | ||
|
||
# You can match any string of characters against a directory, file or extension with a single asterisk (*): | ||
#foo/*/qux | ||
# The above matches foo/bar/qux and foo/baz/qux, but not foo/bar/baz/qux | ||
|
||
# You can recursively match patterns against a directory, file or extension with a double asterisk (**): | ||
#foo/**/qux | ||
# This matches foo/bar/qux, foo/baz/qux, and foo/bar/baz/qux | ||
|
||
# You can also negate patterns with an exclamation (!). | ||
# For example, you can ignore all files in a docs folder with the file extension .md: | ||
#docs/*.md | ||
# Then explicitly reverse the ignore rule for a single file: | ||
#!docs/README.md |
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,231 @@ | ||
.github/workflows/python.yml | ||
.openapi-generator-ignore | ||
LICENSE.txt | ||
Makefile | ||
README.md | ||
docs/AggregationByResourceAndMetric.md | ||
docs/AggregationByResourceOrMetric.md | ||
docs/AggregationMethod.md | ||
docs/AggregationMethodOneOf.md | ||
docs/AggregationMethodOneOf1.md | ||
docs/AggregationMethodOneOf2.md | ||
docs/AggregationMethodOneOf3.md | ||
docs/AggregationMethodOneOf4.md | ||
docs/AggregationMethodOneOf5.md | ||
docs/AggregationMethodOneOf6.md | ||
docs/AggregationMethodOneOf7.md | ||
docs/AggregationMethodOneOf8.md | ||
docs/AggregationsInner.md | ||
docs/AlignAt.md | ||
docs/AlignShift.md | ||
docs/Alignment.md | ||
docs/AlignmentGridInterval.md | ||
docs/AlignmentTimezone.md | ||
docs/CauseException.md | ||
docs/ColumnDataSet.md | ||
docs/ColumnDataSetDataAxis.md | ||
docs/ColumnHeader.md | ||
docs/ColumnHeadersInner.md | ||
docs/DataAxisOption.md | ||
docs/DataSetAttributes.md | ||
docs/DataSetWindow.md | ||
docs/Datum.md | ||
docs/DefaultAggregation.md | ||
docs/DefaultInterpolation.md | ||
docs/DeleteResponse.md | ||
docs/Embeddings.md | ||
docs/ExecuteApi.md | ||
docs/FromOverride.md | ||
docs/GroupingInterval.md | ||
docs/GroupingIntervalOverride.md | ||
docs/GroupingIntervalOverrideOneOf.md | ||
docs/HALLink.md | ||
docs/HALLinkMethod.md | ||
docs/HALLinkRole.md | ||
docs/HTTPValidationError.md | ||
docs/HeaderArrayOption.md | ||
docs/Hierarchical.md | ||
docs/Interpolation.md | ||
docs/InterpolationMethod.md | ||
docs/InterpolationMethodOneOf.md | ||
docs/InterpolationMethodOneOf1.md | ||
docs/InterpolationMethodOneOf10.md | ||
docs/InterpolationMethodOneOf11.md | ||
docs/InterpolationMethodOneOf12.md | ||
docs/InterpolationMethodOneOf13.md | ||
docs/InterpolationMethodOneOf2.md | ||
docs/InterpolationMethodOneOf3.md | ||
docs/InterpolationMethodOneOf4.md | ||
docs/InterpolationMethodOneOf5.md | ||
docs/InterpolationMethodOneOf6.md | ||
docs/InterpolationMethodOneOf7.md | ||
docs/InterpolationMethodOneOf8.md | ||
docs/InterpolationMethodOneOf9.md | ||
docs/InterpolationSpec.md | ||
docs/Links.md | ||
docs/LocationInner.md | ||
docs/ManageApi.md | ||
docs/Message.md | ||
docs/MessageArguments.md | ||
docs/MessageLevel.md | ||
docs/MessageProperties.md | ||
docs/ObjectData.md | ||
docs/ObjectDataSet.md | ||
docs/ObjectDataValue.md | ||
docs/Operation.md | ||
docs/QueriesListResponse.md | ||
docs/QueryDefinition.md | ||
docs/QueryEntityInput.md | ||
docs/QueryExecutionMessage.md | ||
docs/QueryExecutionMessageLevel.md | ||
docs/QueryHALLinks.md | ||
docs/QueryInput.md | ||
docs/QueryListHALLinks.md | ||
docs/QueryListItem.md | ||
docs/QueryOutput.md | ||
docs/QueryResponse.md | ||
docs/QueryResult.md | ||
docs/QueryUpdateInput.md | ||
docs/Render.md | ||
docs/Render1.md | ||
docs/RenderMode.md | ||
docs/RenderModeOneOf.md | ||
docs/RenderModeOneOf1.md | ||
docs/RenderModeOneOf2.md | ||
docs/RenderModeOneOf3.md | ||
docs/RenderModeOneOf4.md | ||
docs/RenderModeOneOf5.md | ||
docs/RenderModeOneOf6.md | ||
docs/RenderModeOneOf7.md | ||
docs/RenderModeOneOf8.md | ||
docs/RenderModeOneOf9.md | ||
docs/ResponseDataSet.md | ||
docs/RowDataSet.md | ||
docs/RowDataSetDataAxis.md | ||
docs/RowHeader.md | ||
docs/RowHeadersInner.md | ||
docs/SeriesDataSet.md | ||
docs/SeriesSpec.md | ||
docs/StatusApi.md | ||
docs/TimeWindowFrom.md | ||
docs/TimeWindowUntil.md | ||
docs/ValidationError.md | ||
docs/Window.md | ||
docs/WindowOverride.md | ||
pyproject.toml | ||
requirements.txt | ||
test/__init__.py | ||
test/api/__init__.py | ||
test/api/execute_api_test.py | ||
test/api/manage_api_test.py | ||
test/api/status_api_test.py | ||
test/conftest.py | ||
test/openapi.py | ||
test/types/__init__.py | ||
test/types/aggregation_by_resource_and_metric_stub.py | ||
test/types/aggregation_by_resource_or_metric_stub.py | ||
test/types/aggregation_method_one_of1_stub.py | ||
test/types/aggregation_method_one_of2_stub.py | ||
test/types/aggregation_method_one_of3_stub.py | ||
test/types/aggregation_method_one_of4_stub.py | ||
test/types/aggregation_method_one_of5_stub.py | ||
test/types/aggregation_method_one_of6_stub.py | ||
test/types/aggregation_method_one_of7_stub.py | ||
test/types/aggregation_method_one_of8_stub.py | ||
test/types/aggregation_method_one_of_stub.py | ||
test/types/aggregation_method_stub.py | ||
test/types/aggregations_inner_stub.py | ||
test/types/align_at_stub.py | ||
test/types/align_shift_stub.py | ||
test/types/alignment_grid_interval_stub.py | ||
test/types/alignment_stub.py | ||
test/types/alignment_timezone_stub.py | ||
test/types/cause_exception_stub.py | ||
test/types/column_data_set_data_axis_stub.py | ||
test/types/column_data_set_stub.py | ||
test/types/column_header_stub.py | ||
test/types/column_headers_inner_stub.py | ||
test/types/data_axis_option_stub.py | ||
test/types/data_set_attributes_stub.py | ||
test/types/data_set_window_stub.py | ||
test/types/datum_stub.py | ||
test/types/default_aggregation_stub.py | ||
test/types/default_interpolation_stub.py | ||
test/types/delete_response_stub.py | ||
test/types/embeddings_stub.py | ||
test/types/from_override_stub.py | ||
test/types/grouping_interval_override_one_of_stub.py | ||
test/types/grouping_interval_override_stub.py | ||
test/types/grouping_interval_stub.py | ||
test/types/hal_link_method_stub.py | ||
test/types/hal_link_role_stub.py | ||
test/types/hal_link_stub.py | ||
test/types/header_array_option_stub.py | ||
test/types/hierarchical_stub.py | ||
test/types/http_validation_error_stub.py | ||
test/types/interpolation_method_one_of10_stub.py | ||
test/types/interpolation_method_one_of11_stub.py | ||
test/types/interpolation_method_one_of12_stub.py | ||
test/types/interpolation_method_one_of13_stub.py | ||
test/types/interpolation_method_one_of1_stub.py | ||
test/types/interpolation_method_one_of2_stub.py | ||
test/types/interpolation_method_one_of3_stub.py | ||
test/types/interpolation_method_one_of4_stub.py | ||
test/types/interpolation_method_one_of5_stub.py | ||
test/types/interpolation_method_one_of6_stub.py | ||
test/types/interpolation_method_one_of7_stub.py | ||
test/types/interpolation_method_one_of8_stub.py | ||
test/types/interpolation_method_one_of9_stub.py | ||
test/types/interpolation_method_one_of_stub.py | ||
test/types/interpolation_method_stub.py | ||
test/types/interpolation_spec_stub.py | ||
test/types/interpolation_stub.py | ||
test/types/links_stub.py | ||
test/types/location_inner_stub.py | ||
test/types/message_arguments_stub.py | ||
test/types/message_level_stub.py | ||
test/types/message_properties_stub.py | ||
test/types/message_stub.py | ||
test/types/object_data_set_stub.py | ||
test/types/object_data_stub.py | ||
test/types/object_data_value_stub.py | ||
test/types/queries_list_response_stub.py | ||
test/types/query_definition_stub.py | ||
test/types/query_entity_input_stub.py | ||
test/types/query_execution_message_level_stub.py | ||
test/types/query_execution_message_stub.py | ||
test/types/query_hal_links_stub.py | ||
test/types/query_input_stub.py | ||
test/types/query_list_hal_links_stub.py | ||
test/types/query_list_item_stub.py | ||
test/types/query_output_stub.py | ||
test/types/query_response_stub.py | ||
test/types/query_result_stub.py | ||
test/types/query_update_input_stub.py | ||
test/types/render1_stub.py | ||
test/types/render_mode_one_of1_stub.py | ||
test/types/render_mode_one_of2_stub.py | ||
test/types/render_mode_one_of3_stub.py | ||
test/types/render_mode_one_of4_stub.py | ||
test/types/render_mode_one_of5_stub.py | ||
test/types/render_mode_one_of6_stub.py | ||
test/types/render_mode_one_of7_stub.py | ||
test/types/render_mode_one_of8_stub.py | ||
test/types/render_mode_one_of9_stub.py | ||
test/types/render_mode_one_of_stub.py | ||
test/types/render_mode_stub.py | ||
test/types/render_stub.py | ||
test/types/response_data_set_stub.py | ||
test/types/row_data_set_data_axis_stub.py | ||
test/types/row_data_set_stub.py | ||
test/types/row_header_stub.py | ||
test/types/row_headers_inner_stub.py | ||
test/types/series_data_set_stub.py | ||
test/types/series_spec_stub.py | ||
test/types/time_window_from_stub.py | ||
test/types/time_window_until_stub.py | ||
test/types/validation_error_stub.py | ||
test/types/window_override_stub.py | ||
test/types/window_stub.py | ||
waylay-sdk-queries-types/README.md | ||
waylay-sdk-queries/README.md |
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 @@ | ||
7.7.0 |
Oops, something went wrong.