Ruben S. Montero
2537eb8859
bug #4637 : Fix wrong check for int/float bool expressions
2016-07-19 19:54:58 +02:00
Ruben S. Montero
34672cbb1f
bug #4637 : Adds @> operator for boolean expresions. @> evaluates to
...
true if the value is included in a result array. An array of attributes
is obtained for multiple values xpath, e.g.
<CLUSTER>
<ID>100</ID>
<ID>101</ID>
</CLUSTER>
an expresion of the form CLUSTER/ID in a requirement returns [100, 101].
To test if a given element is in a datastore:
CLUSTER/ID @> 101 -----> [100, 101] @> 101 ---> true
Note that CLUSTER/ID = 101 only evaluates the first element found
CLUSTER/ID = 101 ----> 100 = 101 ----> false
(cherry picked from commit eed6b268ad )
2016-07-19 13:07:02 +02:00
Ruben S. Montero
c33ea24113
bug #4587 : Fixes issues when filtering context values
2016-06-21 18:15:04 +02:00
Ruben S. Montero
5761be4d10
feature #4217 : Simplify Template, Attribute and PoolObjectSQL class interfaces
2016-02-05 00:33:37 +01:00
Ruben S. Montero
0a25deec55
feature #4156 : Use secondary groups to schedule. Refactor ObjectXML
...
class to make use of templates
2016-01-08 01:06:26 +01:00
Ruben S. Montero
9f316bed12
feature #2465 : Compile new parsers
2014-03-05 18:14:10 +01:00
Ruben S. Montero
28d5bedc91
Merge branch 'master' into feature-1712
...
Conflicts:
src/xml/expr_arith.cc
src/xml/expr_bool.cc
src/xml/expr_bool.h
2013-08-30 17:08:48 +02:00
Ruben S. Montero
983804df18
feature #1742 : Redo parsers, clear set of group ids in case of failed authN
2013-08-30 16:50:04 +02:00
Ruben S. Montero
ef1275caf6
feature #1712 : Generic match-making functions. It can be used with any Resource and not just hosts
2013-08-06 17:25:21 +02:00
Ruben S. Montero
a73eaf90e0
bug #2093 : Parsers compiled with latest changes
...
(cherry picked from commit 8d02a71c3cb9ef6387e9e4a9e4efdcf43a91b126)
2013-07-23 16:20:08 +02:00
Ruben S. Montero
c0923df5d0
feature #1675 : Level lex and yacc versions across parsers
2013-02-01 18:56:15 +01:00
Carlos Martín
ea607318b4
Feature #1675 : Compile parsers
2013-02-01 15:04:27 +01:00
Ruben S. Montero
9e99408878
bug #1738 : Complie with latests flex and yacc
2013-02-01 12:25:17 +01:00
Carlos Martín
98c385ca60
Feature #1747 : Compile commit:73687ce
2013-01-31 16:50:39 +01:00
Carlos Martín
aacde1b5ff
Bug #1738 : Compile parsers
2013-01-29 17:54:25 +01:00
Ruben S. Montero
4a70d4de08
feature #1554 : Generate Lex&Yacc files
2013-01-23 11:42:24 +01:00
Ruben S. Montero
46c3a8ec1c
feature #1617 : Implements a new $FILE parser for VM templates. Initial function to get kernels from FILE_DS datastores
2012-11-17 02:46:03 +01:00
Ruben S. Montero
03f15b6498
feature #1428 : Add UNAME, GID, GNAME to the set of predefined variables to CONTEXT attribute
2012-08-28 16:52:03 +02:00
Ruben S. Montero
a06b5f84d0
Feature: Enable use of user metadata in context
2011-11-10 23:35:12 +01:00
Carlos Martín
829d34c400
Feature #407 : Code refactor, ObjectXML moved to main source tree
2011-02-23 11:17:45 +01:00