[GitHub] metron issue #620: Metron-988: UI for viewing alerts generated by Metron

2017-08-08 Thread BlackHatJohnDoe
Github user BlackHatJohnDoe commented on the issue:

https://github.com/apache/metron/pull/620
  
My request was implemented but other than that, I didn't test this 
comprehensively enough to vote on it.  I will hold my peace (and excitement) 
for this PR =)


---
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 infrastruct...@apache.org or file a JIRA ticket
with INFRA.
---


[GitHub] metron pull request #530: METRON-777 Metron Extension System and Parser Exte...

2017-07-25 Thread BlackHatJohnDoe
Github user BlackHatJohnDoe commented on a diff in the pull request:

https://github.com/apache/metron/pull/530#discussion_r129420943
  
--- Diff: 
metron-maven-archetypes/metron-maven-parser-extension-archetype/src/main/resources/archetype-resources/metron-parser-__parserName__/README.md
 ---
@@ -0,0 +1,5 @@
+#${parserClassName} Parser
--- End diff --

`s/#${parserClassName}/# ${parserClassName}/`


---
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 infrastruct...@apache.org or file a JIRA ticket
with INFRA.
---


[GitHub] metron pull request #620: Metron-988: UI for viewing alerts generated by Met...

2017-07-25 Thread BlackHatJohnDoe
Github user BlackHatJohnDoe commented on a diff in the pull request:

https://github.com/apache/metron/pull/620#discussion_r129361903
  
--- Diff: metron-interface/metron-alerts/scripts/start-dev.sh ---
@@ -0,0 +1,19 @@
+#!/bin/bash
+#
+#  Licensed to the Apache Software Foundation (ASF) under one or more
+#  contributor license agreements.  See the NOTICE file distributed with
+#  this work for additional information regarding copyright ownership.
+#  The ASF licenses this file to You under the Apache License, Version 2.0
+#  (the "License"); you may not use this file except in compliance with
+#  the License.  You may obtain a copy of the License at
+#
+#  http://www.apache.org/licenses/LICENSE-2.0
+#
+#  Unless required by applicable law or agreed to in writing, software
+#  distributed under the License is distributed on an "AS IS" BASIS,
+#  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+#  See the License for the specific language governing permissions and
+#  limitations under the License.
+#
+SCRIPTS_ROOT="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )"
+$SCRIPTS_ROOT/../node_modules/@angular/cli/bin/ng serve --proxy-config 
proxy.conf.json
--- End diff --

I was running into port conflicts between this and the management UI.  
Also, I had to specify `--host` in order to bind to the right interface(s) so 
it came through my mapping to my host machine (I was running this in full-dev).

I don't think any additional params need to be added by default, it's just 
confusing if there's, for instance, a port conflict and `ng` asks you to 
specify `--port` but when you specify `--port` to the bash script it doesn't 
get passed to `ng`.


---
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 infrastruct...@apache.org or file a JIRA ticket
with INFRA.
---


[GitHub] metron issue #620: Metron-988: UI for viewing alerts generated by Metron

2017-07-25 Thread BlackHatJohnDoe
Github user BlackHatJohnDoe commented on the issue:

https://github.com/apache/metron/pull/620
  
When doing an `npm install` I got:
```
node-pre-gyp info check checked for 
"/Users/johndoe/dev/metron/metron-interface/metron-alerts/node_modules/fsevents/lib/binding/Release/node-v57-darwin-x64/fse.node"
 (not found)
node-pre-gyp http GET 
https://fsevents-binaries.s3-us-west-2.amazonaws.com/v1.1.1/fse-v1.1.1-node-v57-darwin-x64.tar.gz
node-pre-gyp http 404 
https://fsevents-binaries.s3-us-west-2.amazonaws.com/v1.1.1/fse-v1.1.1-node-v57-darwin-x64.tar.gz
node-pre-gyp ERR! Tried to download(404): 
https://fsevents-binaries.s3-us-west-2.amazonaws.com/v1.1.1/fse-v1.1.1-node-v57-darwin-x64.tar.gz
node-pre-gyp ERR! Pre-built binaries not found for fsevents@1.1.1 and 
node@8.2.1 (node-v57 ABI) (falling back to source compile with node-gyp)
node-pre-gyp http 404 status code downloading tarball 
https://fsevents-binaries.s3-us-west-2.amazonaws.com/v1.1.1/fse-v1.1.1-node-v57-darwin-x64.tar.gz
```

After the install, an `npm ls` showed:
```
npm ERR! invalid: @angular/cli@1.0.0 
/Users/johndoe/dev/metron/metron-interface/metron-alerts/node_modules/@angular/cli
npm ERR! extraneous: zone.js@0.7.8 
/Users/johndoe/dev/metron/metron-interface/metron-alerts/node_modules/@angular/cli/node_modules/zone.js
npm ERR! extraneous: @ngtools/json-schema@1.0.5 
/Users/johndoe/dev/metron/metron-interface/metron-alerts/node_modules/@ngtools/json-schema
npm ERR! extraneous: @ngtools/webpack@1.3.0 
/Users/johndoe/dev/metron/metron-interface/metron-alerts/node_modules/@ngtools/webpack
npm ERR! extraneous: autoprefixer@6.7.7 
/Users/johndoe/dev/metron/metron-interface/metron-alerts/node_modules/autoprefixer
npm ERR! extraneous: common-tags@1.4.0 
/Users/johndoe/dev/metron/metron-interface/metron-alerts/node_modules/common-tags
npm ERR! extraneous: css-loader@0.26.4 
/Users/johndoe/dev/metron/metron-interface/metron-alerts/node_modules/css-loader
npm ERR! extraneous: cssnano@3.10.0 
/Users/johndoe/dev/metron/metron-interface/metron-alerts/node_modules/cssnano
npm ERR! extraneous: denodeify@1.2.1 
/Users/johndoe/dev/metron/metron-interface/metron-alerts/node_modules/denodeify
npm ERR! extraneous: ember-cli-normalize-entity-name@1.0.0 
/Users/johndoe/dev/metron/metron-interface/metron-alerts/node_modules/ember-cli-normalize-entity-name
npm ERR! extraneous: ember-cli-string-utils@1.1.0 
/Users/johndoe/dev/metron/metron-interface/metron-alerts/node_modules/ember-cli-string-utils
npm ERR! extraneous: exports-loader@0.6.4 
/Users/johndoe/dev/metron/metron-interface/metron-alerts/node_modules/exports-loader
npm ERR! extraneous: extract-text-webpack-plugin@2.0.0 
/Users/johndoe/dev/metron/metron-interface/metron-alerts/node_modules/extract-text-webpack-plugin
npm ERR! extraneous: file-loader@0.10.1 
/Users/johndoe/dev/metron/metron-interface/metron-alerts/node_modules/file-loader
npm ERR! extraneous: fs-extra@2.1.2 
/Users/johndoe/dev/metron/metron-interface/metron-alerts/node_modules/fs-extra
npm ERR! extraneous: html-webpack-plugin@2.28.0 
/Users/johndoe/dev/metron/metron-interface/metron-alerts/node_modules/html-webpack-plugin
npm ERR! extraneous: inflection@1.12.0 
/Users/johndoe/dev/metron/metron-interface/metron-alerts/node_modules/inflection
npm ERR! extraneous: inquirer@3.1.0 
/Users/johndoe/dev/metron/metron-interface/metron-alerts/node_modules/inquirer
npm ERR! extraneous: istanbul-instrumenter-loader@2.0.0 
/Users/johndoe/dev/metron/metron-interface/metron-alerts/node_modules/istanbul-instrumenter-loader
npm ERR! extraneous: json-loader@0.5.4 
/Users/johndoe/dev/metron/metron-interface/metron-alerts/node_modules/json-loader
npm ERR! extraneous: karma-sourcemap-loader@0.3.7 
/Users/johndoe/dev/metron/metron-interface/metron-alerts/node_modules/karma-sourcemap-loader
npm ERR! extraneous: karma-webpack@2.0.3 
/Users/johndoe/dev/metron/metron-interface/metron-alerts/node_modules/karma-webpack
npm ERR! extraneous: less@2.7.2 
/Users/johndoe/dev/metron/metron-interface/metron-alerts/node_modules/less
npm ERR! extraneous: less-loader@2.2.3 
/Users/johndoe/dev/metron/metron-interface/metron-alerts/node_modules/less-loader
npm ERR! extraneous: node-modules-path@1.0.1 
/Users/johndoe/dev/metron/metron-interface/metron-alerts/node_modules/node-modules-path
npm ERR! extraneous: nopt@4.0.1 
/Users/johndoe/dev/metron/metron-interface/metron-alerts/node_modules/nopt
npm ERR! extraneous: opn@4.0.2 
/Users/johndoe/dev/metron/metron-interface/metron-alerts/node_modules/opn
npm ERR! extraneous: portfinder@1.0.13 
/Users/johndoe/dev/metron/metron-interface/metron-alerts/node_modules/portfinder
npm ERR! extraneous: postcss-loader@0.13.0 
/Users/johndoe/dev/metron/metron-interface/metron-alerts/node_modules/postcss-loader
npm ERR! extraneous: postcss-url@5.1.2 
/Users/johndoe/

[GitHub] metron issue #620: Metron-988: UI for viewing alerts generated by Metron

2017-07-24 Thread BlackHatJohnDoe
Github user BlackHatJohnDoe commented on the issue:

https://github.com/apache/metron/pull/620
  
@nickwallen I had similar issues on my macOS system but when I went to 
CentOS it worked as is just fine.  I didn't go back and revisit - some brief 
research showed some versioning issues with dependencies.


---
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 infrastruct...@apache.org or file a JIRA ticket
with INFRA.
---