OSML Tile Server Test
This package contains the integration tests for OSML Tile Server application
Table of Contents
Getting Started
Prerequisites
First, ensure you have installed the following tools locally
Installation Guide
- Clone
osml-tile-server-testpackage into your desktop
git clone https://github.com/aws-solutions-library-samples/osml-tile-server-test.git
- Run
toxto create a virtual environment
cd osml-tile-server-test
tox
Documentation
You can find documentation for this library in the ./doc directory. Sphinx is used to construct a searchable HTML
version of the API documents.
tox -e docs
Running Tests
In AWS Lambda
The Tile Server Test package is designed to be deployed as an AWS Lambda Container.
The osml-cdk-constructs
package contains the required resources, and example stacks can be found in the associated
AWS Guidance Repository.
When deployed in this manner, the Tile Server integration tests can be initiated by running npm run integ:tile-server
from the guidance repository.
In Docker
For testing and development purposes, the Tile Server tests can be executed locally in Docker.
Arguments can be passed to docker run to configure the endpoint, test type, source bucket, and source image.
If testing against a local tile server, --network host may need to be added as a docker run flag.
Example Build:
docker build . -t tile-server-test:latest
Example Integration test:
docker run --name osml-tile-server-test --rm tile-server-test:latest --endpoint <Endpoint URL> --test_type integ --source_image_bucket <S3 bucket> --source_image_key <S3 Image Key> -v
Example Locust Load test (Default UI address is http://localhost:8089):
docker run --name osml-tile-server-test --rm tile-server-test:latest --endpoint <Endpoint URL> --test_type load --source_image_bucket <S3 bucket> --locust_image_keys <S3 Image Key>,<S3 Image Key> -v
Other optional load test flags are:
--locust_headless <true/false>Disable the web interface, and start the test immediately. Default: False--locust_users <number>Load Test: Peak number of concurrent Locust users.--locust_run_time <string>Stop after the specified amount of time, e.g. (300s, 20m, 3h, 1h30m, etc.)--locust_spawn_rate <string>Rate to spawn users at (users per second).
Support & Feedback
To post feedback, submit feature ideas, or report bugs, please use the Issues section of this GitHub repo.
If you are interested in contributing to OversightML Model Runner, see the CONTRIBUTING guide.
Security
See CONTRIBUTING for more information.
License
MIT No Attribution Licensed. See LICENSE.
Metadata
Release files for osml-tile-server-test 0.2.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | |
|---|---|---|---|---|
| osml_tile_server_test-0.2.0.tar.gz | 18.9 kB | Without provenance | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| osml_tile_server_test-0.2.0-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 47.6 kB
Release files / osml_tile_server_test-0.2.0.tar.gz
| Download URL | osml_tile_server_test-0.2.0.tar.gz |
|---|---|
| Size | 18.9 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
cfe3fee9293df7d6c143b767b2e7d244554e062c842899583fdd6457f9a7f8b8
|
|
BLAKE2b-256 checksum How to use checksums |
87b2c28f40eee60a0194849dc2ba81baf222acdc6e8d86f873c587b65bfafac5
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/4.0.2 CPython/3.11.9
|
Release files / osml_tile_server_test-0.2.0-py3-none-any.whl
| Download URL | osml_tile_server_test-0.2.0-py3-none-any.whl |
|---|---|
| Size | 28.6 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
5603c8f687d52f135cd1885a19fba325d9793d571b7d5649c799521f93443ddd
|
|
BLAKE2b-256 checksum How to use checksums |
9f7a72724315a34a8b94a71bf0a68365b613b346d2a545f42248553dde35e49e
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/4.0.2 CPython/3.11.9
|
Security for osml-tile-server-test 0.2.0
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.