We are excited to announce the release of: qinling 3.0.0: Function as a Service This release is part of the train release series. The source is available from: https://opendev.org/openstack/qinling Download the package from: https://tarballs.openstack.org/qinling/ Please report issues through: https://storyboard.openstack.org/#!/project/927 For more details, please see below. Changes in qinling 2.0.0..3.0.0 ------------------------------- 33cd486 Replace git.openstack.org URLs by opendev.org URLs 9696b34 Improve function_alias integration 930004e Release note for function alias in job 37958ef Bump the openstackdocstheme extension to 1.20 fb929a5 Fix link into release note for Apache WSGI adba960 Build different etcd client depending protocol 3b1529c Add Apache/uWSGI configuration examples 4983044 Fix CI failure b461066 Add Python 3 Train unit tests b04ccac Parse function alias when job is running 4a04c9e Add Kolla integration release note 8146401 Add release notes for Docker and API guide 50c9399 Add function_alias column in jobs table 982c45c Add function_alias to execution, webhook and job b1e07fc Add NodeJS 10.16 runtime 9a4a8ef Fix date format to be compliant with UTC b6f0794 Add Docker support for testing purpose 0b839d6 Add API documentation e18f803 Use oslo_middleware to support CORS configuration ff66457 update git.openstack.org to opendev 02b957f Fix session when user is not in default domain 497fead Dropping the py35 testing 6e56154 Remove the network policy creation in k8s orchestrator 7234980 Increase request timeout for sidecar f8e1567 README: make it us-ascii de1d83b Use k8s 1.13 in devstack 0deba54 OpenDev Migration Patch 32a9709 Add Apache license url 111237e Update master for stable/stein Diffstat (except docs and test files) ------------------------------------- .gitreview | 2 +- .zuul.yaml | 9 +- README.rst | 6 +- api-ref/source/aliases.inc | 265 +++++++ api-ref/source/api-versions.inc | 31 + api-ref/source/conf.py | 207 ++++++ api-ref/source/executions.inc | 308 ++++++++ api-ref/source/functions.inc | 524 ++++++++++++++ api-ref/source/index.rst | 17 + api-ref/source/jobs.inc | 279 ++++++++ api-ref/source/parameters.yaml | 517 +++++++++++++ api-ref/source/runtimes.inc | 317 ++++++++ .../samples/aliases/create-alias-request.json | 6 + .../samples/aliases/create-alias-response.json | 9 + .../samples/aliases/delete-alias-response.text | 1 + .../samples/aliases/list-aliases-response.json | 20 + .../samples/aliases/show-alias-response.json | 9 + .../samples/aliases/update-alias-request.json | 6 + .../samples/aliases/update-alias-response.json | 9 + .../api-versions/get-versions-response.json | 15 + .../executions/create-execution-alias-request.json | 6 + .../executions/create-execution-request.json | 7 + .../executions/create-execution-response.json | 13 + .../executions/delete-execution-response.text | 1 + .../list-executions-filters-response.json | 28 + .../executions/list-executions-response.json | 28 + .../executions/show-execution-log-response.json | 3 + .../executions/show-execution-response.json | 13 + .../functions/create-function-image-request.json | 12 + .../functions/create-function-image-response.json | 19 + .../create-function-package-curl-request.text | 11 + .../functions/create-function-package-request.json | 12 + .../create-function-package-response.json | 19 + .../functions/create-function-swift-request.json | 16 + .../functions/create-function-swift-response.json | 22 + .../functions/delete-function-response.text | 1 + .../functions/detach-function-response.text | 1 + .../functions/download-function-response.text | 1 + .../samples/functions/list-functions-response.json | 32 + .../functions/scaledown-function-request.json | 3 + .../functions/scaledown-function-response.text | 1 + .../functions/scaleup-function-request.json | 3 + .../functions/scaleup-function-response.text | 1 + .../samples/functions/show-function-response.json | 15 + .../update-function-package-curl-request.text | 10 + .../functions/update-function-package-request.json | 9 + .../update-function-package-response.json | 19 + .../functions/update-function-swift-request.json | 16 + .../functions/update-function-swift-response.json | 22 + .../samples/jobs/create-job-alias-request.json | 7 + .../source/samples/jobs/create-job-request.json | 8 + .../source/samples/jobs/create-job-response.json | 15 + .../source/samples/jobs/delete-job-response.text | 1 + .../source/samples/jobs/list-jobs-response.json | 32 + api-ref/source/samples/jobs/show-job-response.json | 15 + .../source/samples/jobs/update-job-request.json | 7 + .../source/samples/jobs/update-job-response.json | 15 + .../samples/runtimes/create-runtime-request.json | 7 + .../samples/runtimes/create-runtime-response.json | 12 + .../samples/runtimes/delete-runtime-response.text | 1 + .../samples/runtimes/list-runtimes-response.json | 38 + .../runtimes/show-runtime-pool-response.json | 7 + .../samples/runtimes/show-runtime-response.json | 12 + .../samples/runtimes/update-runtime-request.json | 5 + .../samples/runtimes/update-runtime-response.json | 12 + .../samples/versions/create-version-request.json | 3 + .../samples/versions/create-version-response.json | 10 + .../samples/versions/detach-version-response.text | 1 + .../samples/versions/list-versions-response.json | 22 + .../samples/versions/show-version-response.json | 10 + .../webhooks/create-webhook-alias-request.json | 4 + .../samples/webhooks/create-webhook-request.json | 5 + .../samples/webhooks/create-webhook-response.json | 10 + .../samples/webhooks/delete-webhook-response.text | 1 + .../samples/webhooks/list-webhooks-response.json | 22 + .../samples/webhooks/show-webhook-response.json | 10 + .../webhooks/update-webhook-alias-request.json | 4 + .../samples/webhooks/update-webhook-request.json | 5 + .../samples/webhooks/update-webhook-response.json | 10 + api-ref/source/status.yaml | 61 ++ api-ref/source/urls.inc | 31 + api-ref/source/versions.inc | 255 +++++++ api-ref/source/webhooks.inc | 272 +++++++ devstack/plugin.sh | 6 - devstack/settings | 1 - .../development-environment-devstack.rst | 4 +- etc/apache2/qinling-api.conf | 48 ++ etc/uwsgi/qinling-api.yaml | 29 + lower-constraints.txt | 3 + qinling/api/app.py | 22 +- qinling/api/controllers/root.py | 2 +- qinling/api/controllers/v1/function_alias.py | 2 +- qinling/api/controllers/v1/job.py | 42 +- qinling/api/controllers/v1/resources.py | 2 +- qinling/api/controllers/v1/root.py | 3 +- qinling/api/controllers/v1/webhook.py | 69 +- qinling/api/wsgi.py | 17 + qinling/config.py | 33 + .../versions/006_function_alias_for_job.py | 32 + .../versions/007_function_id_for_job.py | 34 + .../versions/008_function_alias_for_execution.py | 31 + .../versions/009_function_alias_for_webhook.py | 31 + .../versions/010_function_id_for_execution.py | 34 + .../versions/011_function_id_for_webhook.py | 40 ++ qinling/db/sqlalchemy/model_base.py | 1 - qinling/db/sqlalchemy/models.py | 16 +- qinling/orchestrator/kubernetes/manager.py | 55 +- qinling/services/periodics.py | 12 +- .../unit/api/controllers/v1/test_execution.py | 20 +- .../unit/orchestrator/kubernetes/test_manager.py | 67 +- qinling/utils/common.py | 2 +- qinling/utils/etcd_util.py | 17 +- qinling/utils/executions.py | 2 +- qinling/utils/openstack/keystone.py | 2 +- ...add-apache-uwsgi-examples-13f735ec82c37a64.yaml | 12 + ...add-api-ref-documentation-5ec1325223ecafab.yaml | 10 + .../notes/add-cors-support-ce060ee8513a1acf.yaml | 12 + .../notes/add-docker-tools-cd9aa6fff8936d81.yaml | 13 + .../add-nodejs10-runtime-b473129963436a68.yaml | 5 + ...for-execution-and-webhook-cf786fc4c9efd0af.yaml | 4 + .../function-alias-in-job-d3f969306b7a4749.yaml | 3 + ...qinling-kolla-integration-305813d80110f209.yaml | 15 + releasenotes/source/conf.py | 23 - releasenotes/source/index.rst | 1 + releasenotes/source/stein.rst | 6 + requirements.txt | 1 + runtimes/nodejs10/Dockerfile | 14 + runtimes/nodejs10/package-lock.json | 797 +++++++++++++++++++++ runtimes/nodejs10/package.json | 24 + runtimes/{nodejs => nodejs10}/server.js | 0 runtimes/{nodejs => nodejs8}/Dockerfile | 0 runtimes/{nodejs => nodejs8}/package-lock.json | 0 runtimes/{nodejs => nodejs8}/package.json | 0 runtimes/nodejs8/server.js | 105 +++ runtimes/sidecar/sidecar.py | 2 +- setup.cfg | 11 +- tools/config/config-generator.qinling.conf | 2 + tools/docker/Dockerfile | 58 ++ tools/docker/README.rst | 95 +++ tools/docker/docker-compose/infrastructure.yaml | 39 + .../docker/docker-compose/qinling-multi-node.yaml | 34 + .../docker/docker-compose/qinling-single-node.yaml | 18 + tools/docker/docker-compose/qinling.env | 3 + tools/docker/start.sh | 30 + .../playbook/roles/k8s_cli/defaults/main.yaml | 2 +- .../playbook/roles/kube_master/defaults/main.yaml | 2 +- .../playbook/roles/kube_master/tasks/main.yml | 13 +- tox.ini | 11 +- 161 files changed, 6103 insertions(+), 275 deletions(-) Requirements updates -------------------- diff --git a/requirements.txt b/requirements.txt index 57f5a4a..9977aab 100644 --- a/requirements.txt +++ b/requirements.txt @@ -12,0 +13 @@ oslo.messaging>=5.29.0 # Apache-2.0 +oslo.middleware>=3.35.0 # Apache-2.0
participants (1)
-
no-reply@openstack.org