[
https://issues.apache.org/jira/browse/METRON-1146?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16151662#comment-16151662
]
ASF GitHub Bot commented on METRON-1146:
----------------------------------------
GitHub user ottobackwards opened a pull request:
https://github.com/apache/metron/pull/731
METRON-1146 Refactor for ParserExtensionConfig and Rest get all call
This a PR for some cleanup on the 1136 Feature Branch
- return a list from GET ( getAllParsers ) and not a map.
- fix names in Parser Extension Configs to be consistant with
extension/extensions
- add a field just called identifier, to be used instead of assembly name
- differentiate identifier/assemblyname
##
- [x] Is there a JIRA ticket associated with this PR? If not one needs to
be created at [Metron
Jira](https://issues.apache.org/jira/browse/METRON/?selectedTab=com.atlassian.jira.jira-projects-plugin:summary-panel).
- [x] Does your PR title start with METRON-XXXX where XXXX is the JIRA
number you are trying to resolve? Pay particular attention to the hyphen "-"
character.
- [x] Has your PR been rebased against the latest commit within the target
branch (typically master)?
- [x] Have you ensured that the full suite of tests and checks have been
executed in the root metron
- [x] Have you written or updated unit tests and or integration tests to
verify your changes?
- [x] Have you verified the basic functionality of the build by building
and running locally with Vagrant full-dev environment or the equivalent?
You can merge this pull request into a Git repository by running:
$ git pull https://github.com/ottobackwards/metron ext-refactor-names-getall
Alternatively you can review and apply these changes as the patch at:
https://github.com/apache/metron/pull/731.patch
To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:
This closes #731
----
commit 0d3b4c01fa41a3ee888a4debf249e62f82f2a184
Author: Otto Fowler <[email protected]>
Date: 2017-09-03T03:17:46Z
Refactor:
- return a list from GET ( getAllParsers ) and not a map.
- fix names in Parser Extension Configs to be consistant with
extension/extensions
- add a field just called identifier, to be used instead of assembly name
- differentiate identifier/assemblyname
----
> Add ability to parse JSON string into JSONObject for stellar
> ------------------------------------------------------------
>
> Key: METRON-1146
> URL: https://issues.apache.org/jira/browse/METRON-1146
> Project: Metron
> Issue Type: Bug
> Reporter: Anand Subramanian
> Assignee: Anand Subramanian
>
> Use jackson to parse a given JSON string and return a JSONObject on the
> stellar. For example:
> {code}
> MAP_GET( 'bar', PARSE_JSON_STRING( '{ "foo" : 1, "bar" : 2}' )
> {code}
> would give the output 2
--
This message was sent by Atlassian JIRA
(v6.4.14#64029)