Commit Graph

9 Commits

Author SHA1 Message Date
Witek Bedyk aea6e4858d Remove project content
This is step 2 of the project retirement process as described in [1].
Project retirement has been anounced here [2].

[1] https://docs.opendev.org/opendev/infra-manual/latest/drivers.html#step-2-remove-project-content
[2] http://lists.openstack.org/pipermail/openstack-discuss/2020-August/016830.html

Depends-On: https://review.opendev.org/751987
Change-Id: Id4c4f95fee1787e23a3156933c40c491f298128e
2020-10-22 15:11:34 +02:00
Joan Varvenne 5812bd8429 This commit introduces the first version of Banana configuration language.
As of this commit, to change the configuration using Banana, we
need to make an HTTP POST request to `/banana` REST API. This API is
temporary and is likely to be changed later.

The implementation is done entirely in the `banana` module. Under this
module there are:

 * `typeck` module contains the type checker,
 * `grammar` module contains the parser and the AST and,
 * `eval` module contains the interpreter.

Additionally, a test framework has been created to ease the test of
particular conditions of the language.

Within the banana module, there is a README.md file for each associated
sub-module explaining further the details of the language.

Once this commit is merged, there's still a lot that can be improved:

 - All components should be tested in Banana.
 - The 'deadpathck' pass could be improved (see TODO)
 - We don't support generated JSON ingestors yet.
 - Imports will be key for reusability (not implemented).

Change-Id: I1305bdfa0606f30619b31404afbe0acf111c029f
2016-08-22 14:29:26 +01:00
Jenkins a930e633a0 Merge "Remove white space between print and ()" 2016-07-05 10:25:12 +00:00
yuyafei a416a9c96b Remove white space between print and ()
TrivialFix

Change-Id: I9dc1f4530929d59e92f8ef874150fe98e7026eea
2016-07-05 16:09:34 +08:00
yuyafei fc12dd7ffd Replace raw_input with input to make PY3 compatible
The raw_input() raises NameError: name 'raw_input' is not defined in
python3. This patch fixes it by replacing raw_input with input to make
PY3 compatible.

Change-Id: Ieb4c2e5c94fdeb2e69b070e363f92d5c8a736413
2016-07-04 20:55:38 +08:00
Hisashi Osanai 9bce2e15af Fix Apache license and PYTHONPATH for the gate
This patch fixes followings:
*two lines of Apache license in order to pass H103
*using homedir in PYTHONPATH

Co-Authored-By: Daisuke Fujita <fuzita.daisuke@jp.fujitsu.com>
Change-Id: I8fbe26ae8547879fdda0f840bfc5d582e0395588
2016-06-28 15:03:27 +09:00
Suksant Sae Lor (Hui) f2cc7124d1 Rename main package to monasca_analytics.
Change-Id: I100a1c9d61ce5d2855e276651201aedcbbc07355
2016-06-02 13:03:56 +01:00
David Subiros Perez 8a05e78227 Added long Copyright and licence note at the top of each source file
Change-Id: I4c1a993b6b36b55b3d4407b83e0a717d0cfd27b0
2016-05-24 20:19:20 +01:00
Joan Varvenne, Suksant Sae Lor and David Subiros Perez 93f184b4bf Monanas initial code release.
Co-Authored-By: Joan Varvenne <joan.varvenne@hpe.com>
Co-Authored-By: David Subiros Perez <david.perez5@hpe.com>
Co-Authored-By: Suksant Sae Lor <suksant.sae-lor@hpe.com>

Change-Id: Ib63c590d768648a46ecd007207fe8693b610af9a
2016-05-17 01:48:24 +01:00