metron-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From cestella <>
Subject [GitHub] incubator-metron pull request #416: METRON-656: Make Stellar 'in' closer to ...
Date Fri, 13 Jan 2017 18:06:58 GMT
GitHub user cestella opened a pull request:

    METRON-656: Make Stellar 'in' closer to functioning like python

    We have an `in` operator in stellar, but it could be much better. This should bring it
at parity with the `in` operator in python:
    * `in` should support string contains e.g. `'foo' in 'foobar'`
    * `in` should support Collection contains e.g. `'foo' in [ 'foo', 'bar' ]`. Legacy was
to only support lists
    * `in` should support map contains e.g. `'foo' in { 'foo' : 5 }`

You can merge this pull request into a Git repository by running:

    $ git pull METRON-656

Alternatively you can review and apply these changes as the patch at:

To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:

    This closes #416
commit 98d9b948f052eb5614d58d2900b898fb45fbf04f
Author: cstella <>
Date:   2017-01-13T17:05:51Z

    METRON-656: Add String Contains to Stellar

commit 931589ef3e27a80ee7f94147212124658d4c75db
Author: cstella <>
Date:   2017-01-13T17:56:06Z

    METRON-656: Make Stellar 'in' closer to functioning like python


If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at or file a JIRA ticket
with INFRA.

View raw message