-
Notifications
You must be signed in to change notification settings - Fork 4
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Update to latest InterUSS automated_testing_interfaces
- Loading branch information
1 parent
fd03c83
commit 4bf2a97
Showing
9 changed files
with
181 additions
and
108 deletions.
There are no files selected for viewing
Submodule automated_testing
updated
12 files
+2 −0 | README.md | |
+7 −5 | flight_planning/v1/astm_f3548v21.yaml | |
+0 −1 | flight_planning/v1/au.yaml | |
+147 −81 | flight_planning/v1/flight_planning.yaml | |
+4 −33 | flight_planning/v1/geotemporal.yaml | |
+0 −1 | flight_planning/v1/uspace.yaml | |
+1 −6 | geo-awareness/v1/geo-awareness.yaml | |
+3 −8 | geospatial_map/v1/geospatial_map.yaml | |
+2 −0 | rid/v1/injection.yaml | |
+1 −6 | scd/v1/scd.yaml | |
+11 −0 | versioning/README.md | |
+88 −0 | versioning/versioning.yaml |
164 changes: 90 additions & 74 deletions
164
src/uas_standards/interuss/automated_testing/flight_planning/v1/api.py
Large diffs are not rendered by default.
Oops, something went wrong.
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
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
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
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
51 changes: 51 additions & 0 deletions
51
src/uas_standards/interuss/automated_testing/versioning/api.py
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,51 @@ | ||
"""Data types and operations from Versioning Automated Testing Interface 0.1.0 OpenAPI""" | ||
|
||
# This file is autogenerated; do not modify manually! | ||
|
||
from __future__ import annotations | ||
|
||
from enum import Enum | ||
from typing import Dict, Optional | ||
|
||
from uas_standards import Operation | ||
|
||
from implicitdict import ImplicitDict | ||
|
||
|
||
API_VERSION = "0.1.0" | ||
"""Version of Versioning Automated Testing Interface OpenAPI specification from which the objects in this package were generated.""" | ||
|
||
SystemBoundaryIdentifier = str | ||
"""Identifier of a system boundary, known to both the client and the USS separate from this API, for which a USS can provide a version. While the format is not prescribed by this API, any value must be URL-safe. It is recommended to use an approach similar to reverse-order Internet domain names and Java packages where the global scope is described with increasingly-precise identifiers joined by periods. For instance, the system boundary containing the mandatory Network Identification U-space service might be identified with `gov.eu.uspace.v1.netid` because the authority defining this system boundary is a governmental organization (specifically, the European Union) with requirements imposed on the system under test by the U-space regulation (first version) -- specifically, the Network Identification Service section.""" | ||
|
||
|
||
VersionIdentifier = str | ||
"""Identifier of a particular version of a system (defined by a known system boundary). While the format is not prescribed by this API, a semantic version (https://semver.org/) prefixed with a `v` is recommended.""" | ||
|
||
|
||
class GetVersionResponse(ImplicitDict): | ||
system_identity: Optional[SystemBoundaryIdentifier] | ||
"""The requested system identity/boundary.""" | ||
|
||
system_version: Optional[VersionIdentifier] | ||
"""The USS's version for the system with the specified system identity/boundary.""" | ||
|
||
|
||
class OperationID(str, Enum): | ||
GetVersion = "GetVersion" | ||
|
||
|
||
OPERATIONS: Dict[OperationID, Operation] = { | ||
OperationID.GetVersion: Operation( | ||
id="GetVersion", | ||
path="/versions/{system_identity}", | ||
verb="GET", | ||
request_body_type=None, | ||
response_body_type={ | ||
200: GetVersionResponse, | ||
401: None, | ||
403: None, | ||
404: None, | ||
} | ||
), | ||
} |
5 changes: 5 additions & 0 deletions
5
src/uas_standards/interuss/automated_testing/versioning/constants.py
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,5 @@ | ||
from enum import Enum | ||
|
||
|
||
class Scope(str, Enum): | ||
ReadSystemVersions = "interuss.versioning.read_system_versions" |
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