- Improve/Simplify python runtime
- Use non-locking for communication with db when invoking function.
- Add config option to run job handler.
- Pre-fetch runtime when query function in db.
Change-Id: I9e791aecf03d5bf64a39548e6c9bad1b678882af
As log says, 'oslo_messaging.transport.get_transport()' is deprecated.
The reference link of oslo_messaging is at [1].
[1] https://review.openstack.org/#/c/454194/
Change-Id: Ib4e8cc7b30a7541221d9ae2d244577b2dae5518d
Usages of following resources are limited(for at least python runtime):
- cpu
- process number
- file descriptor
- file size
Change-Id: I3bbd9e7a46a970eb0d9e99d1258b7b27407c0d90
Implements: blueprint qinling-container-resource-limitation
This change updates the tox.ini file to call stestr
directly instead of going through ostestr.
For more background you can read the ML posting:
https://goo.gl/TFvcxy
So now you won't need `--n` to run single tests, and you
can also supply regex directly without even the `--`.
For example:
`tox -epy27 $regex`
Change-Id: I2b9b7fbd60b2cc5eea8af01e20cde5714df5027a
Some of available checks are disabled by default,
like:[H106] Don’t put vim configuration in source
files;[H203] Use assertIs(Not)None to check for None;
[H904] Delay string interpolations at logging calls
Change-Id: Ic43e8b77cd6a700f3b71e89d6017f11a742fe87f
We don't use wsmeext.sphinxext, it should be oslo_policy.sphinxext
not wsmeext.sphinxext. This patch is to correct this.
Change-Id: I33e717d5938bbe747ce93dbc79dcfca9cc78bc20
Since the attribute 'SCREEN_LOGDIR' has been removed from patch[1]
So, remove it in local.conf described in doc file.
[1] https://review.openstack.org/#/c/499186
Change-Id: Ib6eca058da5b1ead64d907d71daf89d57e575608
All python code should include Licensed under the
Apache License, Version 2.0.
This patch is to add apache license.
Change-Id: I693826787d984b8976de8a10c2dbd5fc678876a1
TrivialFix:In the change[1] os_testr changed under the covers
from using testr to stestr, so that we now get the following
warning:
ostestr.py:120:
UserWarning: No .stestr.conf file found in the CWD.
Please create one to to replace the .testr.conf. You
can find a script to do this in the stestr git repository.
So remove the .testr.conf and add .stestr.conf which was
generated using a utility script as documented here [2].
[1] Id7cb2a39a8308f1413608dcf19273a1d7f33592e
[2] https://media.readthedocs.org/pdf/stestr/stable/stestr.pdf
Change-Id: I9fd1dba15e2e8fbb30208f44baea0f9d69ee4b93
When user creates function, qinling will create trust for the function
that can be used when function is invoked. This feature is especially
useful when the function is invoked by a trustee user.
Remove the trust for job accordingly because the job will always use
trust for the function.
Change-Id: I68c608a1f25f1008e13bff33325e7cd9914653ae
___________________________
< Do Not Merge, just a test >
---------------------------
\ ^__^
\ (oo)\_______
(__)\ )\/\
||----w |
|| ||
Change-Id: I97018f48c58893c09275c6458c41456ce1a2c8d6
Most common format for documenting arguments is reST field, the
incorrect docstring will cause a Sphinx warning to be generated
and caused the documentation to be improperly rendered.
[1] http://sphinx-doc.org/domains.html#info-field-lists
Change-Id: I8860624c923ebdd3dc64ca52613eb79fd959da2b
This is admin only operation. The load monitoring of function execution
depends on the monitoring solution of underlying orchestrator.
Implements: blueprint qingling-autoscaling
Change-Id: I2eff62a45a718d230b51f18c5a49e0abea5f3164