Releases: s2gos-dev/s2gos-controller
Releases · s2gos-dev/s2gos-controller
0.0.5
Changes in version 0.0.5
- In
s2gos_client:- Improved error handling (#54)
- Renamed
ClientExceptionintoClientError. - Renamed
TransportExceptionintoTransportError.
This is the last release before s2gos-controller code will be migrated to use the new Eozilla suite of packages. See #39.
0.0.4
Changes in version 0.0.4
- Prevent server from logging
/jobsrequest, as they are used for polling. - Prevent client from logging at all if we are not debugging.
- Client GUI uses
ExecutionRequestrather thanProcessRequestto
allow users copying the processing request into a file for the CLI.
Therefore,s2gos_common.process.ExecutionRequestis now a
public API class. - Added a keyword-argument
inputs_arg: str | boolto theProcessRegistry.process
decorator. If specified, it defines an inputs argument, which is used to
define the process inputs in form of a dataclass derived from
pydantic.BaseModel. (#35) - Now supporting the OpenAPI/JSON Schema
discriminatorproperty
intools/openapi.yaml/schemas/schemaand generated models. (#36) - Renamed
s2gos_common.process.cli.ProcessingRequestinto
s2gos_common.process.cli.ExecutionRequest. - Replaced various occurrences of the term processing by
execution to be more precise. - Developed a simple processor development framework that
- provides a CLI to query and execute processes;
- supports registration of processes from python functions;
- supports progress reporting by subscriber callback URLs.
- Provided an application example that uses the framework in workspace
s2gos-app-ex. - Added basic documentation for the process development framework
indocs/process-dev. - Moved process registry stuff from
s2gos_server.services.localinto
s2gos_common.processso it can be easier reused. - Introduced
--dotpath/-dflag in the CLI commandsvalidate-request
andexecute-processofs2gos-clientands2gos-common.
If set, allows for passing input names using a dot-path notion
to encode nested values (e.g.,-i scene.colors.bg=red). - Added high level overview of various DevOps tools which will be used in the
development of services. - Added Jupyter Notebooks to documentation.
- Fixed formatting and links for Client API documentation. (#48)
Full Changelog: v0.0.3...v0.0.4
0.0.3
Changes in version 0.0.3
- The client's CLI is now fully operable.
- Simplified generation of CLI reference documentation and improved general
styling significantly. - Added a starting point for the documentation of the S2GOS control layer's
architecture. - Model class
Schemanow containsref; removedReferencemodel. - Reverted addition of
inline_inputsandinline_separguments to
LocalService.process()decorator. Instead, one can simply
use dotted property names to set values of nested objects in a
process request. - Introduced custom client error rendering in notebooks.
- Renamed
ClientErrorintoClientException. - Server CLI now access has service as argument, which can have service-specific
arguments passed after--. - Introduced
s2gos_server.services.base.ServiceBaseto serve as base
class for local and Airflow service implementations.- it can be configured by overriding
configure(args, kwargs) - it can log using
self.logger
- it can be configured by overriding
Full Changelog: v0.0.2...v0.0.3
0.0.2
Changes in version 0.0.2
-
s2gos-clientpackage:- Moved top-level module in
s2gos_clientinto packages2gos_client.api. - Generated
AsyncClient, next to existing, synchronousClientins2gos_client.api. - Added
show_job(job_id)toClientofs2gos_client.gui. It displays job details. - Added
close()methods to clients and transports. - Using
httpxpackage instead ofrequests. - Dedicated GUI widgets for given JSON schemas can now be registered in
global registryregistryofs2gos_client.gui.component.ComponentContainer. - Better widget selection for schema types
integerandnumber.
- Moved top-level module in
-
s2gos-serverpackage:LocalServiceins2gos_server.services.localnow reports links toself
and reports absolute capability URLs.LocalServicenow supports to more arguments for its@process()decorator:inline_inputs: bool | str | list[str] = False- allows inlining all or named
object arguments, so that object properties become process inputs at top-level.inline_sep: str | None = "."- In separator to used to create the top-level
input names:{arg}{sep}{prop}. IfNone, the property names will be used.
- Now using
fastapi.Depends()feature - Renamed test process
create_datacubeintosimulate_scene.
-
s2gos-commonpackage:- Updated
tools/openapi.yamlto rename some unintuitive names.
Regenerated and adjusted remaining code for following classes
renamed ins2gos_common.models:ResponseintoResponseTypeStatusCodeintoJobStatusTypeintoJobTypeType1intoDataType
- Updated
-
Project setup:
- Excluded
s2gos_client.guifrom coverage as it is still experimental.
- Excluded
Full Changelog: v0.0.1...v0.0.2