OAPI: regenerate code
This commit is contained in:
parent
ccea8869c2
commit
f2f6726ec0
@ -10,7 +10,7 @@
|
|||||||
"""
|
"""
|
||||||
|
|
||||||
|
|
||||||
__version__ = "4f8fd14d"
|
__version__ = "ccea8869"
|
||||||
|
|
||||||
# import ApiClient
|
# import ApiClient
|
||||||
from flamenco.manager.api_client import ApiClient
|
from flamenco.manager.api_client import ApiClient
|
||||||
|
@ -21,6 +21,7 @@ from flamenco.manager.model_utils import ( # noqa: F401
|
|||||||
none_type,
|
none_type,
|
||||||
validate_and_convert_types
|
validate_and_convert_types
|
||||||
)
|
)
|
||||||
|
from flamenco.manager.model.worker import Worker
|
||||||
from flamenco.manager.model.worker_list import WorkerList
|
from flamenco.manager.model.worker_list import WorkerList
|
||||||
|
|
||||||
|
|
||||||
@ -35,6 +36,55 @@ class WorkerMgtApi(object):
|
|||||||
if api_client is None:
|
if api_client is None:
|
||||||
api_client = ApiClient()
|
api_client = ApiClient()
|
||||||
self.api_client = api_client
|
self.api_client = api_client
|
||||||
|
self.fetch_worker_endpoint = _Endpoint(
|
||||||
|
settings={
|
||||||
|
'response_type': (Worker,),
|
||||||
|
'auth': [],
|
||||||
|
'endpoint_path': '/api/worker-mgt/workers/{worker_id}',
|
||||||
|
'operation_id': 'fetch_worker',
|
||||||
|
'http_method': 'GET',
|
||||||
|
'servers': None,
|
||||||
|
},
|
||||||
|
params_map={
|
||||||
|
'all': [
|
||||||
|
'worker_id',
|
||||||
|
],
|
||||||
|
'required': [
|
||||||
|
'worker_id',
|
||||||
|
],
|
||||||
|
'nullable': [
|
||||||
|
],
|
||||||
|
'enum': [
|
||||||
|
],
|
||||||
|
'validation': [
|
||||||
|
]
|
||||||
|
},
|
||||||
|
root_map={
|
||||||
|
'validations': {
|
||||||
|
},
|
||||||
|
'allowed_values': {
|
||||||
|
},
|
||||||
|
'openapi_types': {
|
||||||
|
'worker_id':
|
||||||
|
(str,),
|
||||||
|
},
|
||||||
|
'attribute_map': {
|
||||||
|
'worker_id': 'worker_id',
|
||||||
|
},
|
||||||
|
'location_map': {
|
||||||
|
'worker_id': 'path',
|
||||||
|
},
|
||||||
|
'collection_format_map': {
|
||||||
|
}
|
||||||
|
},
|
||||||
|
headers_map={
|
||||||
|
'accept': [
|
||||||
|
'application/json'
|
||||||
|
],
|
||||||
|
'content_type': [],
|
||||||
|
},
|
||||||
|
api_client=api_client
|
||||||
|
)
|
||||||
self.fetch_workers_endpoint = _Endpoint(
|
self.fetch_workers_endpoint = _Endpoint(
|
||||||
settings={
|
settings={
|
||||||
'response_type': (WorkerList,),
|
'response_type': (WorkerList,),
|
||||||
@ -78,6 +128,83 @@ class WorkerMgtApi(object):
|
|||||||
api_client=api_client
|
api_client=api_client
|
||||||
)
|
)
|
||||||
|
|
||||||
|
def fetch_worker(
|
||||||
|
self,
|
||||||
|
worker_id,
|
||||||
|
**kwargs
|
||||||
|
):
|
||||||
|
"""Fetch info about the worker. # noqa: E501
|
||||||
|
|
||||||
|
This method makes a synchronous HTTP request by default. To make an
|
||||||
|
asynchronous HTTP request, please pass async_req=True
|
||||||
|
|
||||||
|
>>> thread = api.fetch_worker(worker_id, async_req=True)
|
||||||
|
>>> result = thread.get()
|
||||||
|
|
||||||
|
Args:
|
||||||
|
worker_id (str):
|
||||||
|
|
||||||
|
Keyword Args:
|
||||||
|
_return_http_data_only (bool): response data without head status
|
||||||
|
code and headers. Default is True.
|
||||||
|
_preload_content (bool): if False, the urllib3.HTTPResponse object
|
||||||
|
will be returned without reading/decoding response data.
|
||||||
|
Default is True.
|
||||||
|
_request_timeout (int/float/tuple): timeout setting for this request. If
|
||||||
|
one number provided, it will be total request timeout. It can also
|
||||||
|
be a pair (tuple) of (connection, read) timeouts.
|
||||||
|
Default is None.
|
||||||
|
_check_input_type (bool): specifies if type checking
|
||||||
|
should be done one the data sent to the server.
|
||||||
|
Default is True.
|
||||||
|
_check_return_type (bool): specifies if type checking
|
||||||
|
should be done one the data received from the server.
|
||||||
|
Default is True.
|
||||||
|
_spec_property_naming (bool): True if the variable names in the input data
|
||||||
|
are serialized names, as specified in the OpenAPI document.
|
||||||
|
False if the variable names in the input data
|
||||||
|
are pythonic names, e.g. snake case (default)
|
||||||
|
_content_type (str/None): force body content-type.
|
||||||
|
Default is None and content-type will be predicted by allowed
|
||||||
|
content-types and body.
|
||||||
|
_host_index (int/None): specifies the index of the server
|
||||||
|
that we want to use.
|
||||||
|
Default is read from the configuration.
|
||||||
|
async_req (bool): execute request asynchronously
|
||||||
|
|
||||||
|
Returns:
|
||||||
|
Worker
|
||||||
|
If the method is called asynchronously, returns the request
|
||||||
|
thread.
|
||||||
|
"""
|
||||||
|
kwargs['async_req'] = kwargs.get(
|
||||||
|
'async_req', False
|
||||||
|
)
|
||||||
|
kwargs['_return_http_data_only'] = kwargs.get(
|
||||||
|
'_return_http_data_only', True
|
||||||
|
)
|
||||||
|
kwargs['_preload_content'] = kwargs.get(
|
||||||
|
'_preload_content', True
|
||||||
|
)
|
||||||
|
kwargs['_request_timeout'] = kwargs.get(
|
||||||
|
'_request_timeout', None
|
||||||
|
)
|
||||||
|
kwargs['_check_input_type'] = kwargs.get(
|
||||||
|
'_check_input_type', True
|
||||||
|
)
|
||||||
|
kwargs['_check_return_type'] = kwargs.get(
|
||||||
|
'_check_return_type', True
|
||||||
|
)
|
||||||
|
kwargs['_spec_property_naming'] = kwargs.get(
|
||||||
|
'_spec_property_naming', False
|
||||||
|
)
|
||||||
|
kwargs['_content_type'] = kwargs.get(
|
||||||
|
'_content_type')
|
||||||
|
kwargs['_host_index'] = kwargs.get('_host_index')
|
||||||
|
kwargs['worker_id'] = \
|
||||||
|
worker_id
|
||||||
|
return self.fetch_worker_endpoint.call_with_http_info(**kwargs)
|
||||||
|
|
||||||
def fetch_workers(
|
def fetch_workers(
|
||||||
self,
|
self,
|
||||||
**kwargs
|
**kwargs
|
||||||
|
@ -76,7 +76,7 @@ class ApiClient(object):
|
|||||||
self.default_headers[header_name] = header_value
|
self.default_headers[header_name] = header_value
|
||||||
self.cookie = cookie
|
self.cookie = cookie
|
||||||
# Set default User-Agent.
|
# Set default User-Agent.
|
||||||
self.user_agent = 'Flamenco/4f8fd14d (Blender add-on)'
|
self.user_agent = 'Flamenco/ccea8869 (Blender add-on)'
|
||||||
|
|
||||||
def __enter__(self):
|
def __enter__(self):
|
||||||
return self
|
return self
|
||||||
|
@ -404,7 +404,7 @@ conf = flamenco.manager.Configuration(
|
|||||||
"OS: {env}\n"\
|
"OS: {env}\n"\
|
||||||
"Python Version: {pyversion}\n"\
|
"Python Version: {pyversion}\n"\
|
||||||
"Version of the API: 1.0.0\n"\
|
"Version of the API: 1.0.0\n"\
|
||||||
"SDK Package Version: 4f8fd14d".\
|
"SDK Package Version: ccea8869".\
|
||||||
format(env=sys.platform, pyversion=sys.version)
|
format(env=sys.platform, pyversion=sys.version)
|
||||||
|
|
||||||
def get_host_settings(self):
|
def get_host_settings(self):
|
||||||
|
20
addon/flamenco/manager/docs/Worker.md
Normal file
20
addon/flamenco/manager/docs/Worker.md
Normal file
@ -0,0 +1,20 @@
|
|||||||
|
# Worker
|
||||||
|
|
||||||
|
All information about a Worker
|
||||||
|
|
||||||
|
## Properties
|
||||||
|
Name | Type | Description | Notes
|
||||||
|
------------ | ------------- | ------------- | -------------
|
||||||
|
**id** | **str** | |
|
||||||
|
**nickname** | **str** | |
|
||||||
|
**status** | [**WorkerStatus**](WorkerStatus.md) | |
|
||||||
|
**ip_address** | **str** | IP address of the Worker |
|
||||||
|
**platform** | **str** | Operating system of the Worker |
|
||||||
|
**version** | **str** | Version of Flamenco this Worker is running |
|
||||||
|
**supported_task_types** | **[str]** | |
|
||||||
|
**status_requested** | [**WorkerStatus**](WorkerStatus.md) | | [optional]
|
||||||
|
**any string name** | **bool, date, datetime, dict, float, int, list, str, none_type** | any string name can be used but the value must be the correct type | [optional]
|
||||||
|
|
||||||
|
[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
|
||||||
|
|
||||||
|
|
@ -4,9 +4,75 @@ All URIs are relative to *http://localhost*
|
|||||||
|
|
||||||
Method | HTTP request | Description
|
Method | HTTP request | Description
|
||||||
------------- | ------------- | -------------
|
------------- | ------------- | -------------
|
||||||
|
[**fetch_worker**](WorkerMgtApi.md#fetch_worker) | **GET** /api/worker-mgt/workers/{worker_id} | Fetch info about the worker.
|
||||||
[**fetch_workers**](WorkerMgtApi.md#fetch_workers) | **GET** /api/worker-mgt/workers | Get list of workers.
|
[**fetch_workers**](WorkerMgtApi.md#fetch_workers) | **GET** /api/worker-mgt/workers | Get list of workers.
|
||||||
|
|
||||||
|
|
||||||
|
# **fetch_worker**
|
||||||
|
> Worker fetch_worker(worker_id)
|
||||||
|
|
||||||
|
Fetch info about the worker.
|
||||||
|
|
||||||
|
### Example
|
||||||
|
|
||||||
|
|
||||||
|
```python
|
||||||
|
import time
|
||||||
|
import flamenco.manager
|
||||||
|
from flamenco.manager.api import worker_mgt_api
|
||||||
|
from flamenco.manager.model.worker import Worker
|
||||||
|
from pprint import pprint
|
||||||
|
# Defining the host is optional and defaults to http://localhost
|
||||||
|
# See configuration.py for a list of all supported configuration parameters.
|
||||||
|
configuration = flamenco.manager.Configuration(
|
||||||
|
host = "http://localhost"
|
||||||
|
)
|
||||||
|
|
||||||
|
|
||||||
|
# Enter a context with an instance of the API client
|
||||||
|
with flamenco.manager.ApiClient() as api_client:
|
||||||
|
# Create an instance of the API class
|
||||||
|
api_instance = worker_mgt_api.WorkerMgtApi(api_client)
|
||||||
|
worker_id = "worker_id_example" # str |
|
||||||
|
|
||||||
|
# example passing only required values which don't have defaults set
|
||||||
|
try:
|
||||||
|
# Fetch info about the worker.
|
||||||
|
api_response = api_instance.fetch_worker(worker_id)
|
||||||
|
pprint(api_response)
|
||||||
|
except flamenco.manager.ApiException as e:
|
||||||
|
print("Exception when calling WorkerMgtApi->fetch_worker: %s\n" % e)
|
||||||
|
```
|
||||||
|
|
||||||
|
|
||||||
|
### Parameters
|
||||||
|
|
||||||
|
Name | Type | Description | Notes
|
||||||
|
------------- | ------------- | ------------- | -------------
|
||||||
|
**worker_id** | **str**| |
|
||||||
|
|
||||||
|
### Return type
|
||||||
|
|
||||||
|
[**Worker**](Worker.md)
|
||||||
|
|
||||||
|
### Authorization
|
||||||
|
|
||||||
|
No authorization required
|
||||||
|
|
||||||
|
### HTTP request headers
|
||||||
|
|
||||||
|
- **Content-Type**: Not defined
|
||||||
|
- **Accept**: application/json
|
||||||
|
|
||||||
|
|
||||||
|
### HTTP response details
|
||||||
|
|
||||||
|
| Status code | Description | Response headers |
|
||||||
|
|-------------|-------------|------------------|
|
||||||
|
**200** | Worker info | - |
|
||||||
|
|
||||||
|
[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)
|
||||||
|
|
||||||
# **fetch_workers**
|
# **fetch_workers**
|
||||||
> WorkerList fetch_workers()
|
> WorkerList fetch_workers()
|
||||||
|
|
||||||
|
307
addon/flamenco/manager/model/worker.py
Normal file
307
addon/flamenco/manager/model/worker.py
Normal file
@ -0,0 +1,307 @@
|
|||||||
|
"""
|
||||||
|
Flamenco manager
|
||||||
|
|
||||||
|
Render Farm manager API # noqa: E501
|
||||||
|
|
||||||
|
The version of the OpenAPI document: 1.0.0
|
||||||
|
Generated by: https://openapi-generator.tech
|
||||||
|
"""
|
||||||
|
|
||||||
|
|
||||||
|
import re # noqa: F401
|
||||||
|
import sys # noqa: F401
|
||||||
|
|
||||||
|
from flamenco.manager.model_utils import ( # noqa: F401
|
||||||
|
ApiTypeError,
|
||||||
|
ModelComposed,
|
||||||
|
ModelNormal,
|
||||||
|
ModelSimple,
|
||||||
|
cached_property,
|
||||||
|
change_keys_js_to_python,
|
||||||
|
convert_js_args_to_python_args,
|
||||||
|
date,
|
||||||
|
datetime,
|
||||||
|
file_type,
|
||||||
|
none_type,
|
||||||
|
validate_get_composed_info,
|
||||||
|
OpenApiModel
|
||||||
|
)
|
||||||
|
from flamenco.manager.exceptions import ApiAttributeError
|
||||||
|
|
||||||
|
|
||||||
|
def lazy_import():
|
||||||
|
from flamenco.manager.model.worker_status import WorkerStatus
|
||||||
|
globals()['WorkerStatus'] = WorkerStatus
|
||||||
|
|
||||||
|
|
||||||
|
class Worker(ModelNormal):
|
||||||
|
"""NOTE: This class is auto generated by OpenAPI Generator.
|
||||||
|
Ref: https://openapi-generator.tech
|
||||||
|
|
||||||
|
Do not edit the class manually.
|
||||||
|
|
||||||
|
Attributes:
|
||||||
|
allowed_values (dict): The key is the tuple path to the attribute
|
||||||
|
and the for var_name this is (var_name,). The value is a dict
|
||||||
|
with a capitalized key describing the allowed value and an allowed
|
||||||
|
value. These dicts store the allowed enum values.
|
||||||
|
attribute_map (dict): The key is attribute name
|
||||||
|
and the value is json key in definition.
|
||||||
|
discriminator_value_class_map (dict): A dict to go from the discriminator
|
||||||
|
variable value to the discriminator class name.
|
||||||
|
validations (dict): The key is the tuple path to the attribute
|
||||||
|
and the for var_name this is (var_name,). The value is a dict
|
||||||
|
that stores validations for max_length, min_length, max_items,
|
||||||
|
min_items, exclusive_maximum, inclusive_maximum, exclusive_minimum,
|
||||||
|
inclusive_minimum, and regex.
|
||||||
|
additional_properties_type (tuple): A tuple of classes accepted
|
||||||
|
as additional properties values.
|
||||||
|
"""
|
||||||
|
|
||||||
|
allowed_values = {
|
||||||
|
}
|
||||||
|
|
||||||
|
validations = {
|
||||||
|
}
|
||||||
|
|
||||||
|
@cached_property
|
||||||
|
def additional_properties_type():
|
||||||
|
"""
|
||||||
|
This must be a method because a model may have properties that are
|
||||||
|
of type self, this must run after the class is loaded
|
||||||
|
"""
|
||||||
|
lazy_import()
|
||||||
|
return (bool, date, datetime, dict, float, int, list, str, none_type,) # noqa: E501
|
||||||
|
|
||||||
|
_nullable = False
|
||||||
|
|
||||||
|
@cached_property
|
||||||
|
def openapi_types():
|
||||||
|
"""
|
||||||
|
This must be a method because a model may have properties that are
|
||||||
|
of type self, this must run after the class is loaded
|
||||||
|
|
||||||
|
Returns
|
||||||
|
openapi_types (dict): The key is attribute name
|
||||||
|
and the value is attribute type.
|
||||||
|
"""
|
||||||
|
lazy_import()
|
||||||
|
return {
|
||||||
|
'id': (str,), # noqa: E501
|
||||||
|
'nickname': (str,), # noqa: E501
|
||||||
|
'status': (WorkerStatus,), # noqa: E501
|
||||||
|
'ip_address': (str,), # noqa: E501
|
||||||
|
'platform': (str,), # noqa: E501
|
||||||
|
'version': (str,), # noqa: E501
|
||||||
|
'supported_task_types': ([str],), # noqa: E501
|
||||||
|
'status_requested': (WorkerStatus,), # noqa: E501
|
||||||
|
}
|
||||||
|
|
||||||
|
@cached_property
|
||||||
|
def discriminator():
|
||||||
|
return None
|
||||||
|
|
||||||
|
|
||||||
|
attribute_map = {
|
||||||
|
'id': 'id', # noqa: E501
|
||||||
|
'nickname': 'nickname', # noqa: E501
|
||||||
|
'status': 'status', # noqa: E501
|
||||||
|
'ip_address': 'ip_address', # noqa: E501
|
||||||
|
'platform': 'platform', # noqa: E501
|
||||||
|
'version': 'version', # noqa: E501
|
||||||
|
'supported_task_types': 'supported_task_types', # noqa: E501
|
||||||
|
'status_requested': 'status_requested', # noqa: E501
|
||||||
|
}
|
||||||
|
|
||||||
|
read_only_vars = {
|
||||||
|
}
|
||||||
|
|
||||||
|
_composed_schemas = {}
|
||||||
|
|
||||||
|
@classmethod
|
||||||
|
@convert_js_args_to_python_args
|
||||||
|
def _from_openapi_data(cls, id, nickname, status, ip_address, platform, version, supported_task_types, *args, **kwargs): # noqa: E501
|
||||||
|
"""Worker - a model defined in OpenAPI
|
||||||
|
|
||||||
|
Args:
|
||||||
|
id (str):
|
||||||
|
nickname (str):
|
||||||
|
status (WorkerStatus):
|
||||||
|
ip_address (str): IP address of the Worker
|
||||||
|
platform (str): Operating system of the Worker
|
||||||
|
version (str): Version of Flamenco this Worker is running
|
||||||
|
supported_task_types ([str]):
|
||||||
|
|
||||||
|
Keyword Args:
|
||||||
|
_check_type (bool): if True, values for parameters in openapi_types
|
||||||
|
will be type checked and a TypeError will be
|
||||||
|
raised if the wrong type is input.
|
||||||
|
Defaults to True
|
||||||
|
_path_to_item (tuple/list): This is a list of keys or values to
|
||||||
|
drill down to the model in received_data
|
||||||
|
when deserializing a response
|
||||||
|
_spec_property_naming (bool): True if the variable names in the input data
|
||||||
|
are serialized names, as specified in the OpenAPI document.
|
||||||
|
False if the variable names in the input data
|
||||||
|
are pythonic names, e.g. snake case (default)
|
||||||
|
_configuration (Configuration): the instance to use when
|
||||||
|
deserializing a file_type parameter.
|
||||||
|
If passed, type conversion is attempted
|
||||||
|
If omitted no type conversion is done.
|
||||||
|
_visited_composed_classes (tuple): This stores a tuple of
|
||||||
|
classes that we have traveled through so that
|
||||||
|
if we see that class again we will not use its
|
||||||
|
discriminator again.
|
||||||
|
When traveling through a discriminator, the
|
||||||
|
composed schema that is
|
||||||
|
is traveled through is added to this set.
|
||||||
|
For example if Animal has a discriminator
|
||||||
|
petType and we pass in "Dog", and the class Dog
|
||||||
|
allOf includes Animal, we move through Animal
|
||||||
|
once using the discriminator, and pick Dog.
|
||||||
|
Then in Dog, we will make an instance of the
|
||||||
|
Animal class but this time we won't travel
|
||||||
|
through its discriminator because we passed in
|
||||||
|
_visited_composed_classes = (Animal,)
|
||||||
|
status_requested (WorkerStatus): [optional] # noqa: E501
|
||||||
|
"""
|
||||||
|
|
||||||
|
_check_type = kwargs.pop('_check_type', True)
|
||||||
|
_spec_property_naming = kwargs.pop('_spec_property_naming', False)
|
||||||
|
_path_to_item = kwargs.pop('_path_to_item', ())
|
||||||
|
_configuration = kwargs.pop('_configuration', None)
|
||||||
|
_visited_composed_classes = kwargs.pop('_visited_composed_classes', ())
|
||||||
|
|
||||||
|
self = super(OpenApiModel, cls).__new__(cls)
|
||||||
|
|
||||||
|
if args:
|
||||||
|
raise ApiTypeError(
|
||||||
|
"Invalid positional arguments=%s passed to %s. Remove those invalid positional arguments." % (
|
||||||
|
args,
|
||||||
|
self.__class__.__name__,
|
||||||
|
),
|
||||||
|
path_to_item=_path_to_item,
|
||||||
|
valid_classes=(self.__class__,),
|
||||||
|
)
|
||||||
|
|
||||||
|
self._data_store = {}
|
||||||
|
self._check_type = _check_type
|
||||||
|
self._spec_property_naming = _spec_property_naming
|
||||||
|
self._path_to_item = _path_to_item
|
||||||
|
self._configuration = _configuration
|
||||||
|
self._visited_composed_classes = _visited_composed_classes + (self.__class__,)
|
||||||
|
|
||||||
|
self.id = id
|
||||||
|
self.nickname = nickname
|
||||||
|
self.status = status
|
||||||
|
self.ip_address = ip_address
|
||||||
|
self.platform = platform
|
||||||
|
self.version = version
|
||||||
|
self.supported_task_types = supported_task_types
|
||||||
|
for var_name, var_value in kwargs.items():
|
||||||
|
if var_name not in self.attribute_map and \
|
||||||
|
self._configuration is not None and \
|
||||||
|
self._configuration.discard_unknown_keys and \
|
||||||
|
self.additional_properties_type is None:
|
||||||
|
# discard variable.
|
||||||
|
continue
|
||||||
|
setattr(self, var_name, var_value)
|
||||||
|
return self
|
||||||
|
|
||||||
|
required_properties = set([
|
||||||
|
'_data_store',
|
||||||
|
'_check_type',
|
||||||
|
'_spec_property_naming',
|
||||||
|
'_path_to_item',
|
||||||
|
'_configuration',
|
||||||
|
'_visited_composed_classes',
|
||||||
|
])
|
||||||
|
|
||||||
|
@convert_js_args_to_python_args
|
||||||
|
def __init__(self, id, nickname, status, ip_address, platform, version, supported_task_types, *args, **kwargs): # noqa: E501
|
||||||
|
"""Worker - a model defined in OpenAPI
|
||||||
|
|
||||||
|
Args:
|
||||||
|
id (str):
|
||||||
|
nickname (str):
|
||||||
|
status (WorkerStatus):
|
||||||
|
ip_address (str): IP address of the Worker
|
||||||
|
platform (str): Operating system of the Worker
|
||||||
|
version (str): Version of Flamenco this Worker is running
|
||||||
|
supported_task_types ([str]):
|
||||||
|
|
||||||
|
Keyword Args:
|
||||||
|
_check_type (bool): if True, values for parameters in openapi_types
|
||||||
|
will be type checked and a TypeError will be
|
||||||
|
raised if the wrong type is input.
|
||||||
|
Defaults to True
|
||||||
|
_path_to_item (tuple/list): This is a list of keys or values to
|
||||||
|
drill down to the model in received_data
|
||||||
|
when deserializing a response
|
||||||
|
_spec_property_naming (bool): True if the variable names in the input data
|
||||||
|
are serialized names, as specified in the OpenAPI document.
|
||||||
|
False if the variable names in the input data
|
||||||
|
are pythonic names, e.g. snake case (default)
|
||||||
|
_configuration (Configuration): the instance to use when
|
||||||
|
deserializing a file_type parameter.
|
||||||
|
If passed, type conversion is attempted
|
||||||
|
If omitted no type conversion is done.
|
||||||
|
_visited_composed_classes (tuple): This stores a tuple of
|
||||||
|
classes that we have traveled through so that
|
||||||
|
if we see that class again we will not use its
|
||||||
|
discriminator again.
|
||||||
|
When traveling through a discriminator, the
|
||||||
|
composed schema that is
|
||||||
|
is traveled through is added to this set.
|
||||||
|
For example if Animal has a discriminator
|
||||||
|
petType and we pass in "Dog", and the class Dog
|
||||||
|
allOf includes Animal, we move through Animal
|
||||||
|
once using the discriminator, and pick Dog.
|
||||||
|
Then in Dog, we will make an instance of the
|
||||||
|
Animal class but this time we won't travel
|
||||||
|
through its discriminator because we passed in
|
||||||
|
_visited_composed_classes = (Animal,)
|
||||||
|
status_requested (WorkerStatus): [optional] # noqa: E501
|
||||||
|
"""
|
||||||
|
|
||||||
|
_check_type = kwargs.pop('_check_type', True)
|
||||||
|
_spec_property_naming = kwargs.pop('_spec_property_naming', False)
|
||||||
|
_path_to_item = kwargs.pop('_path_to_item', ())
|
||||||
|
_configuration = kwargs.pop('_configuration', None)
|
||||||
|
_visited_composed_classes = kwargs.pop('_visited_composed_classes', ())
|
||||||
|
|
||||||
|
if args:
|
||||||
|
raise ApiTypeError(
|
||||||
|
"Invalid positional arguments=%s passed to %s. Remove those invalid positional arguments." % (
|
||||||
|
args,
|
||||||
|
self.__class__.__name__,
|
||||||
|
),
|
||||||
|
path_to_item=_path_to_item,
|
||||||
|
valid_classes=(self.__class__,),
|
||||||
|
)
|
||||||
|
|
||||||
|
self._data_store = {}
|
||||||
|
self._check_type = _check_type
|
||||||
|
self._spec_property_naming = _spec_property_naming
|
||||||
|
self._path_to_item = _path_to_item
|
||||||
|
self._configuration = _configuration
|
||||||
|
self._visited_composed_classes = _visited_composed_classes + (self.__class__,)
|
||||||
|
|
||||||
|
self.id = id
|
||||||
|
self.nickname = nickname
|
||||||
|
self.status = status
|
||||||
|
self.ip_address = ip_address
|
||||||
|
self.platform = platform
|
||||||
|
self.version = version
|
||||||
|
self.supported_task_types = supported_task_types
|
||||||
|
for var_name, var_value in kwargs.items():
|
||||||
|
if var_name not in self.attribute_map and \
|
||||||
|
self._configuration is not None and \
|
||||||
|
self._configuration.discard_unknown_keys and \
|
||||||
|
self.additional_properties_type is None:
|
||||||
|
# discard variable.
|
||||||
|
continue
|
||||||
|
setattr(self, var_name, var_value)
|
||||||
|
if var_name in self.read_only_vars:
|
||||||
|
raise ApiAttributeError(f"`{var_name}` is a read-only attribute. Use `from_openapi_data` to instantiate "
|
||||||
|
f"class with read only attributes.")
|
@ -53,6 +53,7 @@ from flamenco.manager.model.task_status_change import TaskStatusChange
|
|||||||
from flamenco.manager.model.task_summary import TaskSummary
|
from flamenco.manager.model.task_summary import TaskSummary
|
||||||
from flamenco.manager.model.task_update import TaskUpdate
|
from flamenco.manager.model.task_update import TaskUpdate
|
||||||
from flamenco.manager.model.task_worker import TaskWorker
|
from flamenco.manager.model.task_worker import TaskWorker
|
||||||
|
from flamenco.manager.model.worker import Worker
|
||||||
from flamenco.manager.model.worker_list import WorkerList
|
from flamenco.manager.model.worker_list import WorkerList
|
||||||
from flamenco.manager.model.worker_registration import WorkerRegistration
|
from flamenco.manager.model.worker_registration import WorkerRegistration
|
||||||
from flamenco.manager.model.worker_sign_on import WorkerSignOn
|
from flamenco.manager.model.worker_sign_on import WorkerSignOn
|
||||||
|
@ -4,7 +4,7 @@ Render Farm manager API
|
|||||||
The `flamenco.manager` package is automatically generated by the [OpenAPI Generator](https://openapi-generator.tech) project:
|
The `flamenco.manager` package is automatically generated by the [OpenAPI Generator](https://openapi-generator.tech) project:
|
||||||
|
|
||||||
- API version: 1.0.0
|
- API version: 1.0.0
|
||||||
- Package version: 4f8fd14d
|
- Package version: ccea8869
|
||||||
- Build package: org.openapitools.codegen.languages.PythonClientCodegen
|
- Build package: org.openapitools.codegen.languages.PythonClientCodegen
|
||||||
For more information, please visit [https://flamenco.io/](https://flamenco.io/)
|
For more information, please visit [https://flamenco.io/](https://flamenco.io/)
|
||||||
|
|
||||||
@ -95,6 +95,7 @@ Class | Method | HTTP request | Description
|
|||||||
*WorkerApi* | [**task_update**](flamenco/manager/docs/WorkerApi.md#task_update) | **POST** /api/worker/task/{task_id} | Update the task, typically to indicate progress, completion, or failure.
|
*WorkerApi* | [**task_update**](flamenco/manager/docs/WorkerApi.md#task_update) | **POST** /api/worker/task/{task_id} | Update the task, typically to indicate progress, completion, or failure.
|
||||||
*WorkerApi* | [**worker_state**](flamenco/manager/docs/WorkerApi.md#worker_state) | **GET** /api/worker/state |
|
*WorkerApi* | [**worker_state**](flamenco/manager/docs/WorkerApi.md#worker_state) | **GET** /api/worker/state |
|
||||||
*WorkerApi* | [**worker_state_changed**](flamenco/manager/docs/WorkerApi.md#worker_state_changed) | **POST** /api/worker/state-changed | Worker changed state. This could be as acknowledgement of a Manager-requested state change, or in response to worker-local signals.
|
*WorkerApi* | [**worker_state_changed**](flamenco/manager/docs/WorkerApi.md#worker_state_changed) | **POST** /api/worker/state-changed | Worker changed state. This could be as acknowledgement of a Manager-requested state change, or in response to worker-local signals.
|
||||||
|
*WorkerMgtApi* | [**fetch_worker**](flamenco/manager/docs/WorkerMgtApi.md#fetch_worker) | **GET** /api/worker-mgt/workers/{worker_id} | Fetch info about the worker.
|
||||||
*WorkerMgtApi* | [**fetch_workers**](flamenco/manager/docs/WorkerMgtApi.md#fetch_workers) | **GET** /api/worker-mgt/workers | Get list of workers.
|
*WorkerMgtApi* | [**fetch_workers**](flamenco/manager/docs/WorkerMgtApi.md#fetch_workers) | **GET** /api/worker-mgt/workers | Get list of workers.
|
||||||
|
|
||||||
|
|
||||||
@ -144,6 +145,7 @@ Class | Method | HTTP request | Description
|
|||||||
- [TaskSummary](flamenco/manager/docs/TaskSummary.md)
|
- [TaskSummary](flamenco/manager/docs/TaskSummary.md)
|
||||||
- [TaskUpdate](flamenco/manager/docs/TaskUpdate.md)
|
- [TaskUpdate](flamenco/manager/docs/TaskUpdate.md)
|
||||||
- [TaskWorker](flamenco/manager/docs/TaskWorker.md)
|
- [TaskWorker](flamenco/manager/docs/TaskWorker.md)
|
||||||
|
- [Worker](flamenco/manager/docs/Worker.md)
|
||||||
- [WorkerList](flamenco/manager/docs/WorkerList.md)
|
- [WorkerList](flamenco/manager/docs/WorkerList.md)
|
||||||
- [WorkerRegistration](flamenco/manager/docs/WorkerRegistration.md)
|
- [WorkerRegistration](flamenco/manager/docs/WorkerRegistration.md)
|
||||||
- [WorkerSignOn](flamenco/manager/docs/WorkerSignOn.md)
|
- [WorkerSignOn](flamenco/manager/docs/WorkerSignOn.md)
|
||||||
|
@ -116,6 +116,26 @@ func (mr *MockFlamencoClientMockRecorder) FetchTaskWithResponse(arg0, arg1 inter
|
|||||||
return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "FetchTaskWithResponse", reflect.TypeOf((*MockFlamencoClient)(nil).FetchTaskWithResponse), varargs...)
|
return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "FetchTaskWithResponse", reflect.TypeOf((*MockFlamencoClient)(nil).FetchTaskWithResponse), varargs...)
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// FetchWorkerWithResponse mocks base method.
|
||||||
|
func (m *MockFlamencoClient) FetchWorkerWithResponse(arg0 context.Context, arg1 string, arg2 ...api.RequestEditorFn) (*api.FetchWorkerResponse, error) {
|
||||||
|
m.ctrl.T.Helper()
|
||||||
|
varargs := []interface{}{arg0, arg1}
|
||||||
|
for _, a := range arg2 {
|
||||||
|
varargs = append(varargs, a)
|
||||||
|
}
|
||||||
|
ret := m.ctrl.Call(m, "FetchWorkerWithResponse", varargs...)
|
||||||
|
ret0, _ := ret[0].(*api.FetchWorkerResponse)
|
||||||
|
ret1, _ := ret[1].(error)
|
||||||
|
return ret0, ret1
|
||||||
|
}
|
||||||
|
|
||||||
|
// FetchWorkerWithResponse indicates an expected call of FetchWorkerWithResponse.
|
||||||
|
func (mr *MockFlamencoClientMockRecorder) FetchWorkerWithResponse(arg0, arg1 interface{}, arg2 ...interface{}) *gomock.Call {
|
||||||
|
mr.mock.ctrl.T.Helper()
|
||||||
|
varargs := append([]interface{}{arg0, arg1}, arg2...)
|
||||||
|
return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "FetchWorkerWithResponse", reflect.TypeOf((*MockFlamencoClient)(nil).FetchWorkerWithResponse), varargs...)
|
||||||
|
}
|
||||||
|
|
||||||
// FetchWorkersWithResponse mocks base method.
|
// FetchWorkersWithResponse mocks base method.
|
||||||
func (m *MockFlamencoClient) FetchWorkersWithResponse(arg0 context.Context, arg1 ...api.RequestEditorFn) (*api.FetchWorkersResponse, error) {
|
func (m *MockFlamencoClient) FetchWorkersWithResponse(arg0 context.Context, arg1 ...api.RequestEditorFn) (*api.FetchWorkersResponse, error) {
|
||||||
m.ctrl.T.Helper()
|
m.ctrl.T.Helper()
|
||||||
|
@ -137,6 +137,9 @@ type ClientInterface interface {
|
|||||||
// FetchWorkers request
|
// FetchWorkers request
|
||||||
FetchWorkers(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error)
|
FetchWorkers(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error)
|
||||||
|
|
||||||
|
// FetchWorker request
|
||||||
|
FetchWorker(ctx context.Context, workerId string, reqEditors ...RequestEditorFn) (*http.Response, error)
|
||||||
|
|
||||||
// RegisterWorker request with any body
|
// RegisterWorker request with any body
|
||||||
RegisterWorkerWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
|
RegisterWorkerWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
|
||||||
|
|
||||||
@ -390,6 +393,18 @@ func (c *Client) FetchWorkers(ctx context.Context, reqEditors ...RequestEditorFn
|
|||||||
return c.Client.Do(req)
|
return c.Client.Do(req)
|
||||||
}
|
}
|
||||||
|
|
||||||
|
func (c *Client) FetchWorker(ctx context.Context, workerId string, reqEditors ...RequestEditorFn) (*http.Response, error) {
|
||||||
|
req, err := NewFetchWorkerRequest(c.Server, workerId)
|
||||||
|
if err != nil {
|
||||||
|
return nil, err
|
||||||
|
}
|
||||||
|
req = req.WithContext(ctx)
|
||||||
|
if err := c.applyEditors(ctx, req, reqEditors); err != nil {
|
||||||
|
return nil, err
|
||||||
|
}
|
||||||
|
return c.Client.Do(req)
|
||||||
|
}
|
||||||
|
|
||||||
func (c *Client) RegisterWorkerWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) {
|
func (c *Client) RegisterWorkerWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) {
|
||||||
req, err := NewRegisterWorkerRequestWithBody(c.Server, contentType, body)
|
req, err := NewRegisterWorkerRequestWithBody(c.Server, contentType, body)
|
||||||
if err != nil {
|
if err != nil {
|
||||||
@ -1058,6 +1073,40 @@ func NewFetchWorkersRequest(server string) (*http.Request, error) {
|
|||||||
return req, nil
|
return req, nil
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// NewFetchWorkerRequest generates requests for FetchWorker
|
||||||
|
func NewFetchWorkerRequest(server string, workerId string) (*http.Request, error) {
|
||||||
|
var err error
|
||||||
|
|
||||||
|
var pathParam0 string
|
||||||
|
|
||||||
|
pathParam0, err = runtime.StyleParamWithLocation("simple", false, "worker_id", runtime.ParamLocationPath, workerId)
|
||||||
|
if err != nil {
|
||||||
|
return nil, err
|
||||||
|
}
|
||||||
|
|
||||||
|
serverURL, err := url.Parse(server)
|
||||||
|
if err != nil {
|
||||||
|
return nil, err
|
||||||
|
}
|
||||||
|
|
||||||
|
operationPath := fmt.Sprintf("/api/worker-mgt/workers/%s", pathParam0)
|
||||||
|
if operationPath[0] == '/' {
|
||||||
|
operationPath = "." + operationPath
|
||||||
|
}
|
||||||
|
|
||||||
|
queryURL, err := serverURL.Parse(operationPath)
|
||||||
|
if err != nil {
|
||||||
|
return nil, err
|
||||||
|
}
|
||||||
|
|
||||||
|
req, err := http.NewRequest("GET", queryURL.String(), nil)
|
||||||
|
if err != nil {
|
||||||
|
return nil, err
|
||||||
|
}
|
||||||
|
|
||||||
|
return req, nil
|
||||||
|
}
|
||||||
|
|
||||||
// NewRegisterWorkerRequest calls the generic RegisterWorker builder with application/json body
|
// NewRegisterWorkerRequest calls the generic RegisterWorker builder with application/json body
|
||||||
func NewRegisterWorkerRequest(server string, body RegisterWorkerJSONRequestBody) (*http.Request, error) {
|
func NewRegisterWorkerRequest(server string, body RegisterWorkerJSONRequestBody) (*http.Request, error) {
|
||||||
var bodyReader io.Reader
|
var bodyReader io.Reader
|
||||||
@ -1616,6 +1665,9 @@ type ClientWithResponsesInterface interface {
|
|||||||
// FetchWorkers request
|
// FetchWorkers request
|
||||||
FetchWorkersWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*FetchWorkersResponse, error)
|
FetchWorkersWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*FetchWorkersResponse, error)
|
||||||
|
|
||||||
|
// FetchWorker request
|
||||||
|
FetchWorkerWithResponse(ctx context.Context, workerId string, reqEditors ...RequestEditorFn) (*FetchWorkerResponse, error)
|
||||||
|
|
||||||
// RegisterWorker request with any body
|
// RegisterWorker request with any body
|
||||||
RegisterWorkerWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*RegisterWorkerResponse, error)
|
RegisterWorkerWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*RegisterWorkerResponse, error)
|
||||||
|
|
||||||
@ -1955,6 +2007,28 @@ func (r FetchWorkersResponse) StatusCode() int {
|
|||||||
return 0
|
return 0
|
||||||
}
|
}
|
||||||
|
|
||||||
|
type FetchWorkerResponse struct {
|
||||||
|
Body []byte
|
||||||
|
HTTPResponse *http.Response
|
||||||
|
JSON200 *Worker
|
||||||
|
}
|
||||||
|
|
||||||
|
// Status returns HTTPResponse.Status
|
||||||
|
func (r FetchWorkerResponse) Status() string {
|
||||||
|
if r.HTTPResponse != nil {
|
||||||
|
return r.HTTPResponse.Status
|
||||||
|
}
|
||||||
|
return http.StatusText(0)
|
||||||
|
}
|
||||||
|
|
||||||
|
// StatusCode returns HTTPResponse.StatusCode
|
||||||
|
func (r FetchWorkerResponse) StatusCode() int {
|
||||||
|
if r.HTTPResponse != nil {
|
||||||
|
return r.HTTPResponse.StatusCode
|
||||||
|
}
|
||||||
|
return 0
|
||||||
|
}
|
||||||
|
|
||||||
type RegisterWorkerResponse struct {
|
type RegisterWorkerResponse struct {
|
||||||
Body []byte
|
Body []byte
|
||||||
HTTPResponse *http.Response
|
HTTPResponse *http.Response
|
||||||
@ -2379,6 +2453,15 @@ func (c *ClientWithResponses) FetchWorkersWithResponse(ctx context.Context, reqE
|
|||||||
return ParseFetchWorkersResponse(rsp)
|
return ParseFetchWorkersResponse(rsp)
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// FetchWorkerWithResponse request returning *FetchWorkerResponse
|
||||||
|
func (c *ClientWithResponses) FetchWorkerWithResponse(ctx context.Context, workerId string, reqEditors ...RequestEditorFn) (*FetchWorkerResponse, error) {
|
||||||
|
rsp, err := c.FetchWorker(ctx, workerId, reqEditors...)
|
||||||
|
if err != nil {
|
||||||
|
return nil, err
|
||||||
|
}
|
||||||
|
return ParseFetchWorkerResponse(rsp)
|
||||||
|
}
|
||||||
|
|
||||||
// RegisterWorkerWithBodyWithResponse request with arbitrary body returning *RegisterWorkerResponse
|
// RegisterWorkerWithBodyWithResponse request with arbitrary body returning *RegisterWorkerResponse
|
||||||
func (c *ClientWithResponses) RegisterWorkerWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*RegisterWorkerResponse, error) {
|
func (c *ClientWithResponses) RegisterWorkerWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*RegisterWorkerResponse, error) {
|
||||||
rsp, err := c.RegisterWorkerWithBody(ctx, contentType, body, reqEditors...)
|
rsp, err := c.RegisterWorkerWithBody(ctx, contentType, body, reqEditors...)
|
||||||
@ -2901,6 +2984,32 @@ func ParseFetchWorkersResponse(rsp *http.Response) (*FetchWorkersResponse, error
|
|||||||
return response, nil
|
return response, nil
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// ParseFetchWorkerResponse parses an HTTP response from a FetchWorkerWithResponse call
|
||||||
|
func ParseFetchWorkerResponse(rsp *http.Response) (*FetchWorkerResponse, error) {
|
||||||
|
bodyBytes, err := ioutil.ReadAll(rsp.Body)
|
||||||
|
defer func() { _ = rsp.Body.Close() }()
|
||||||
|
if err != nil {
|
||||||
|
return nil, err
|
||||||
|
}
|
||||||
|
|
||||||
|
response := &FetchWorkerResponse{
|
||||||
|
Body: bodyBytes,
|
||||||
|
HTTPResponse: rsp,
|
||||||
|
}
|
||||||
|
|
||||||
|
switch {
|
||||||
|
case strings.Contains(rsp.Header.Get("Content-Type"), "json") && rsp.StatusCode == 200:
|
||||||
|
var dest Worker
|
||||||
|
if err := json.Unmarshal(bodyBytes, &dest); err != nil {
|
||||||
|
return nil, err
|
||||||
|
}
|
||||||
|
response.JSON200 = &dest
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
|
return response, nil
|
||||||
|
}
|
||||||
|
|
||||||
// ParseRegisterWorkerResponse parses an HTTP response from a RegisterWorkerWithResponse call
|
// ParseRegisterWorkerResponse parses an HTTP response from a RegisterWorkerWithResponse call
|
||||||
func ParseRegisterWorkerResponse(rsp *http.Response) (*RegisterWorkerResponse, error) {
|
func ParseRegisterWorkerResponse(rsp *http.Response) (*RegisterWorkerResponse, error) {
|
||||||
bodyBytes, err := ioutil.ReadAll(rsp.Body)
|
bodyBytes, err := ioutil.ReadAll(rsp.Body)
|
||||||
|
@ -52,6 +52,9 @@ type ServerInterface interface {
|
|||||||
// Get list of workers.
|
// Get list of workers.
|
||||||
// (GET /api/worker-mgt/workers)
|
// (GET /api/worker-mgt/workers)
|
||||||
FetchWorkers(ctx echo.Context) error
|
FetchWorkers(ctx echo.Context) error
|
||||||
|
// Fetch info about the worker.
|
||||||
|
// (GET /api/worker-mgt/workers/{worker_id})
|
||||||
|
FetchWorker(ctx echo.Context, workerId string) error
|
||||||
// Register a new worker
|
// Register a new worker
|
||||||
// (POST /api/worker/register-worker)
|
// (POST /api/worker/register-worker)
|
||||||
RegisterWorker(ctx echo.Context) error
|
RegisterWorker(ctx echo.Context) error
|
||||||
@ -262,6 +265,22 @@ func (w *ServerInterfaceWrapper) FetchWorkers(ctx echo.Context) error {
|
|||||||
return err
|
return err
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// FetchWorker converts echo context to params.
|
||||||
|
func (w *ServerInterfaceWrapper) FetchWorker(ctx echo.Context) error {
|
||||||
|
var err error
|
||||||
|
// ------------- Path parameter "worker_id" -------------
|
||||||
|
var workerId string
|
||||||
|
|
||||||
|
err = runtime.BindStyledParameterWithLocation("simple", false, "worker_id", runtime.ParamLocationPath, ctx.Param("worker_id"), &workerId)
|
||||||
|
if err != nil {
|
||||||
|
return echo.NewHTTPError(http.StatusBadRequest, fmt.Sprintf("Invalid format for parameter worker_id: %s", err))
|
||||||
|
}
|
||||||
|
|
||||||
|
// Invoke the callback with all the unmarshalled arguments
|
||||||
|
err = w.Handler.FetchWorker(ctx, workerId)
|
||||||
|
return err
|
||||||
|
}
|
||||||
|
|
||||||
// RegisterWorker converts echo context to params.
|
// RegisterWorker converts echo context to params.
|
||||||
func (w *ServerInterfaceWrapper) RegisterWorker(ctx echo.Context) error {
|
func (w *ServerInterfaceWrapper) RegisterWorker(ctx echo.Context) error {
|
||||||
var err error
|
var err error
|
||||||
@ -504,6 +523,7 @@ func RegisterHandlersWithBaseURL(router EchoRouter, si ServerInterface, baseURL
|
|||||||
router.POST(baseURL+"/api/tasks/:task_id/setstatus", wrapper.SetTaskStatus)
|
router.POST(baseURL+"/api/tasks/:task_id/setstatus", wrapper.SetTaskStatus)
|
||||||
router.GET(baseURL+"/api/version", wrapper.GetVersion)
|
router.GET(baseURL+"/api/version", wrapper.GetVersion)
|
||||||
router.GET(baseURL+"/api/worker-mgt/workers", wrapper.FetchWorkers)
|
router.GET(baseURL+"/api/worker-mgt/workers", wrapper.FetchWorkers)
|
||||||
|
router.GET(baseURL+"/api/worker-mgt/workers/:worker_id", wrapper.FetchWorker)
|
||||||
router.POST(baseURL+"/api/worker/register-worker", wrapper.RegisterWorker)
|
router.POST(baseURL+"/api/worker/register-worker", wrapper.RegisterWorker)
|
||||||
router.POST(baseURL+"/api/worker/sign-off", wrapper.SignOff)
|
router.POST(baseURL+"/api/worker/sign-off", wrapper.SignOff)
|
||||||
router.POST(baseURL+"/api/worker/sign-on", wrapper.SignOn)
|
router.POST(baseURL+"/api/worker/sign-on", wrapper.SignOn)
|
||||||
|
@ -18,133 +18,135 @@ import (
|
|||||||
// Base64 encoded, gzipped, json marshaled Swagger object
|
// Base64 encoded, gzipped, json marshaled Swagger object
|
||||||
var swaggerSpec = []string{
|
var swaggerSpec = []string{
|
||||||
|
|
||||||
"H4sIAAAAAAAC/+R93W4budLgqxD9LZAZrCw5tvPn72ZzkskZ5ySTbOycWWAS2FR3SWLcIjUk24omMPA9",
|
"H4sIAAAAAAAC/+R9724bOZL4qxC9PyAz+MmSY+ev98tlk8mOs8kkFzs7B0wCm+ouSYxbpIZkW9EEAfYh",
|
||||||
"xL7J7gH2Ys/VvkDOGy1YRXaz1WxLTuJMZr5cBLa7SRbrv4rF6g9ZruYLJUFakx1+yEw+gznHHx8aI6YS",
|
"7k3uFrgPt5/uBbJvdGAV2c1Wsy3ZiTOZu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B85W/uBzULUqXgd02HG21KgNEncWw",
|
"2bdJ9pFPL3gnQgozA9OiFzB4x3PLDJ+DNyGtwo5h7pNCVc66ow/M8LUMVL2B91nRbvK8MIYUBdhYFate",
|
||||||
"Yi/hXBDB6lWQxxtu8xjEfI77nVr+U5gbr+EZ5PLt5f8PAAD//xIpvlsljQAA",
|
"VRqHMt0UjVvRRYsPS7mfSaFSw4dRFp3ldu9OaGWbdUrIhTVQToaNPMPEy67ofaLGIdUAY54/V6AFmEFU",
|
||||||
|
"Vj5YK8YbtsqNTGLQBy8O24Xt8Umzms8r6Xu+OZHe7Yuwli6YmMCftzyrYWIPXhwOmjtC42xdNynVartl",
|
||||||
|
"ONpqVQaIOpNhel7CuCCC1bMgjzfc5jGI8Rz3O10YQm5uPIdnkA9vPvxvAAAA//88L7dcY5EAAA==",
|
||||||
}
|
}
|
||||||
|
|
||||||
// GetSwagger returns the content of the embedded swagger specification file
|
// GetSwagger returns the content of the embedded swagger specification file
|
||||||
|
@ -513,6 +513,24 @@ type TaskWorker struct {
|
|||||||
Name string `json:"name"`
|
Name string `json:"name"`
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// All information about a Worker
|
||||||
|
type Worker struct {
|
||||||
|
Id string `json:"id"`
|
||||||
|
|
||||||
|
// IP address of the Worker
|
||||||
|
IpAddress string `json:"ip_address"`
|
||||||
|
Nickname string `json:"nickname"`
|
||||||
|
|
||||||
|
// Operating system of the Worker
|
||||||
|
Platform string `json:"platform"`
|
||||||
|
Status WorkerStatus `json:"status"`
|
||||||
|
StatusRequested *WorkerStatus `json:"status_requested,omitempty"`
|
||||||
|
SupportedTaskTypes []string `json:"supported_task_types"`
|
||||||
|
|
||||||
|
// Version of Flamenco this Worker is running
|
||||||
|
Version string `json:"version"`
|
||||||
|
}
|
||||||
|
|
||||||
// List of workers.
|
// List of workers.
|
||||||
type WorkerList struct {
|
type WorkerList struct {
|
||||||
Workers []WorkerSummary `json:"workers"`
|
Workers []WorkerSummary `json:"workers"`
|
||||||
|
@ -55,7 +55,7 @@ class ApiClient {
|
|||||||
* @default {}
|
* @default {}
|
||||||
*/
|
*/
|
||||||
this.defaultHeaders = {
|
this.defaultHeaders = {
|
||||||
'User-Agent': 'Flamenco/4f8fd14d / webbrowser'
|
'User-Agent': 'Flamenco/ccea8869 / webbrowser'
|
||||||
};
|
};
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
@ -55,6 +55,7 @@ import TaskStatusChange from './model/TaskStatusChange';
|
|||||||
import TaskSummary from './model/TaskSummary';
|
import TaskSummary from './model/TaskSummary';
|
||||||
import TaskUpdate from './model/TaskUpdate';
|
import TaskUpdate from './model/TaskUpdate';
|
||||||
import TaskWorker from './model/TaskWorker';
|
import TaskWorker from './model/TaskWorker';
|
||||||
|
import Worker from './model/Worker';
|
||||||
import WorkerList from './model/WorkerList';
|
import WorkerList from './model/WorkerList';
|
||||||
import WorkerRegistration from './model/WorkerRegistration';
|
import WorkerRegistration from './model/WorkerRegistration';
|
||||||
import WorkerSignOn from './model/WorkerSignOn';
|
import WorkerSignOn from './model/WorkerSignOn';
|
||||||
@ -359,6 +360,12 @@ export {
|
|||||||
*/
|
*/
|
||||||
TaskWorker,
|
TaskWorker,
|
||||||
|
|
||||||
|
/**
|
||||||
|
* The Worker model constructor.
|
||||||
|
* @property {module:model/Worker}
|
||||||
|
*/
|
||||||
|
Worker,
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* The WorkerList model constructor.
|
* The WorkerList model constructor.
|
||||||
* @property {module:model/WorkerList}
|
* @property {module:model/WorkerList}
|
||||||
|
@ -13,6 +13,7 @@
|
|||||||
|
|
||||||
|
|
||||||
import ApiClient from "../ApiClient";
|
import ApiClient from "../ApiClient";
|
||||||
|
import Worker from '../model/Worker';
|
||||||
import WorkerList from '../model/WorkerList';
|
import WorkerList from '../model/WorkerList';
|
||||||
|
|
||||||
/**
|
/**
|
||||||
@ -35,6 +36,52 @@ export default class WorkerMgtApi {
|
|||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Fetch info about the worker.
|
||||||
|
* @param {String} workerId
|
||||||
|
* @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing data of type {@link module:model/Worker} and HTTP response
|
||||||
|
*/
|
||||||
|
fetchWorkerWithHttpInfo(workerId) {
|
||||||
|
let postBody = null;
|
||||||
|
// verify the required parameter 'workerId' is set
|
||||||
|
if (workerId === undefined || workerId === null) {
|
||||||
|
throw new Error("Missing the required parameter 'workerId' when calling fetchWorker");
|
||||||
|
}
|
||||||
|
|
||||||
|
let pathParams = {
|
||||||
|
'worker_id': workerId
|
||||||
|
};
|
||||||
|
let queryParams = {
|
||||||
|
};
|
||||||
|
let headerParams = {
|
||||||
|
};
|
||||||
|
let formParams = {
|
||||||
|
};
|
||||||
|
|
||||||
|
let authNames = [];
|
||||||
|
let contentTypes = [];
|
||||||
|
let accepts = ['application/json'];
|
||||||
|
let returnType = Worker;
|
||||||
|
return this.apiClient.callApi(
|
||||||
|
'/api/worker-mgt/workers/{worker_id}', 'GET',
|
||||||
|
pathParams, queryParams, headerParams, formParams, postBody,
|
||||||
|
authNames, contentTypes, accepts, returnType, null
|
||||||
|
);
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Fetch info about the worker.
|
||||||
|
* @param {String} workerId
|
||||||
|
* @return {Promise} a {@link https://www.promisejs.org/|Promise}, with data of type {@link module:model/Worker}
|
||||||
|
*/
|
||||||
|
fetchWorker(workerId) {
|
||||||
|
return this.fetchWorkerWithHttpInfo(workerId)
|
||||||
|
.then(function(response_and_data) {
|
||||||
|
return response_and_data.data;
|
||||||
|
});
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Get list of workers.
|
* Get list of workers.
|
||||||
* @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing data of type {@link module:model/WorkerList} and HTTP response
|
* @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing data of type {@link module:model/WorkerList} and HTTP response
|
||||||
|
146
web/app/src/manager-api/model/Worker.js
Normal file
146
web/app/src/manager-api/model/Worker.js
Normal file
@ -0,0 +1,146 @@
|
|||||||
|
/**
|
||||||
|
* Flamenco manager
|
||||||
|
* Render Farm manager API
|
||||||
|
*
|
||||||
|
* The version of the OpenAPI document: 1.0.0
|
||||||
|
*
|
||||||
|
*
|
||||||
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
||||||
|
* https://openapi-generator.tech
|
||||||
|
* Do not edit the class manually.
|
||||||
|
*
|
||||||
|
*/
|
||||||
|
|
||||||
|
import ApiClient from '../ApiClient';
|
||||||
|
import WorkerStatus from './WorkerStatus';
|
||||||
|
|
||||||
|
/**
|
||||||
|
* The Worker model module.
|
||||||
|
* @module model/Worker
|
||||||
|
* @version 0.0.0
|
||||||
|
*/
|
||||||
|
class Worker {
|
||||||
|
/**
|
||||||
|
* Constructs a new <code>Worker</code>.
|
||||||
|
* All information about a Worker
|
||||||
|
* @alias module:model/Worker
|
||||||
|
* @param id {String}
|
||||||
|
* @param nickname {String}
|
||||||
|
* @param status {module:model/WorkerStatus}
|
||||||
|
* @param ipAddress {String} IP address of the Worker
|
||||||
|
* @param platform {String} Operating system of the Worker
|
||||||
|
* @param version {String} Version of Flamenco this Worker is running
|
||||||
|
* @param supportedTaskTypes {Array.<String>}
|
||||||
|
*/
|
||||||
|
constructor(id, nickname, status, ipAddress, platform, version, supportedTaskTypes) {
|
||||||
|
|
||||||
|
Worker.initialize(this, id, nickname, status, ipAddress, platform, version, supportedTaskTypes);
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Initializes the fields of this object.
|
||||||
|
* This method is used by the constructors of any subclasses, in order to implement multiple inheritance (mix-ins).
|
||||||
|
* Only for internal use.
|
||||||
|
*/
|
||||||
|
static initialize(obj, id, nickname, status, ipAddress, platform, version, supportedTaskTypes) {
|
||||||
|
obj['id'] = id;
|
||||||
|
obj['nickname'] = nickname;
|
||||||
|
obj['status'] = status;
|
||||||
|
obj['ip_address'] = ipAddress;
|
||||||
|
obj['platform'] = platform;
|
||||||
|
obj['version'] = version;
|
||||||
|
obj['supported_task_types'] = supportedTaskTypes;
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Constructs a <code>Worker</code> from a plain JavaScript object, optionally creating a new instance.
|
||||||
|
* Copies all relevant properties from <code>data</code> to <code>obj</code> if supplied or a new instance if not.
|
||||||
|
* @param {Object} data The plain JavaScript object bearing properties of interest.
|
||||||
|
* @param {module:model/Worker} obj Optional instance to populate.
|
||||||
|
* @return {module:model/Worker} The populated <code>Worker</code> instance.
|
||||||
|
*/
|
||||||
|
static constructFromObject(data, obj) {
|
||||||
|
if (data) {
|
||||||
|
obj = obj || new Worker();
|
||||||
|
|
||||||
|
if (data.hasOwnProperty('id')) {
|
||||||
|
obj['id'] = ApiClient.convertToType(data['id'], 'String');
|
||||||
|
}
|
||||||
|
if (data.hasOwnProperty('nickname')) {
|
||||||
|
obj['nickname'] = ApiClient.convertToType(data['nickname'], 'String');
|
||||||
|
}
|
||||||
|
if (data.hasOwnProperty('status')) {
|
||||||
|
obj['status'] = WorkerStatus.constructFromObject(data['status']);
|
||||||
|
}
|
||||||
|
if (data.hasOwnProperty('status_requested')) {
|
||||||
|
obj['status_requested'] = WorkerStatus.constructFromObject(data['status_requested']);
|
||||||
|
}
|
||||||
|
if (data.hasOwnProperty('ip_address')) {
|
||||||
|
obj['ip_address'] = ApiClient.convertToType(data['ip_address'], 'String');
|
||||||
|
}
|
||||||
|
if (data.hasOwnProperty('platform')) {
|
||||||
|
obj['platform'] = ApiClient.convertToType(data['platform'], 'String');
|
||||||
|
}
|
||||||
|
if (data.hasOwnProperty('version')) {
|
||||||
|
obj['version'] = ApiClient.convertToType(data['version'], 'String');
|
||||||
|
}
|
||||||
|
if (data.hasOwnProperty('supported_task_types')) {
|
||||||
|
obj['supported_task_types'] = ApiClient.convertToType(data['supported_task_types'], ['String']);
|
||||||
|
}
|
||||||
|
}
|
||||||
|
return obj;
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @member {String} id
|
||||||
|
*/
|
||||||
|
Worker.prototype['id'] = undefined;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @member {String} nickname
|
||||||
|
*/
|
||||||
|
Worker.prototype['nickname'] = undefined;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @member {module:model/WorkerStatus} status
|
||||||
|
*/
|
||||||
|
Worker.prototype['status'] = undefined;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @member {module:model/WorkerStatus} status_requested
|
||||||
|
*/
|
||||||
|
Worker.prototype['status_requested'] = undefined;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* IP address of the Worker
|
||||||
|
* @member {String} ip_address
|
||||||
|
*/
|
||||||
|
Worker.prototype['ip_address'] = undefined;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Operating system of the Worker
|
||||||
|
* @member {String} platform
|
||||||
|
*/
|
||||||
|
Worker.prototype['platform'] = undefined;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Version of Flamenco this Worker is running
|
||||||
|
* @member {String} version
|
||||||
|
*/
|
||||||
|
Worker.prototype['version'] = undefined;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @member {Array.<String>} supported_task_types
|
||||||
|
*/
|
||||||
|
Worker.prototype['supported_task_types'] = undefined;
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
export default Worker;
|
||||||
|
|
Loading…
Reference in New Issue
Block a user