[
https://issues.apache.org/jira/browse/SDAP-70?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16567509#comment-16567509
]
ASF GitHub Bot commented on SDAP-70:
------------------------------------
quintinali commented on a change in pull request #33: SDAP-70 Link events with
dataset collections
URL:
https://github.com/apache/incubator-sdap-mudrod/pull/33#discussion_r207371953
##########
File path: core/src/main/java/org/apache/sdap/mudrod/main/MudrodEngine.java
##########
@@ -235,7 +237,7 @@ public void startMetaIngest() {
LOG.info("Metadata has been ingested successfully.");
}
- public void startFullIngest() {
+ public void startFullIngest(MudrodEngine me) {
DiscoveryEngineAbstract wd = new WeblogDiscoveryEngine(props, es, spark);
Review comment:
EventIngester has a variable of ESDriver type since EventIngester extends
MudrodAbstract class. I don't think you have to change function from
startFullIngest() to startFullIngest(MudrodEngine me).
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
[email protected]
> Link events with dataset collections
> ------------------------------------
>
> Key: SDAP-70
> URL: https://issues.apache.org/jira/browse/SDAP-70
> Project: Apache Science Data Analytics Platform
> Issue Type: Improvement
> Components: mudrod
> Reporter: Lewis John McGibbney
> Assignee: Lewis John McGibbney
> Priority: Major
>
> Upon entering a query, within the ranked dataset results, we wish to somehow
> also provide events for a given query (on right hand side navbar similar to
> what is currently done with similar queries).
> Upon selecting one of these events... a user should be able to step through
> into an eventsView similar to what we see in the [dataset
> results|https://github.com/apache/incubator-sdap-mudrod/blob/master/web/META-INF/resources/partials/datasetResults.html]
> e.g. a table of information for the given event, an example event is given
> below
> {code:java}
> {
> "_index": "mudrod",
> "_type": "eonet_event",
> "_id": ""EONET_3482"",
> "_version": 1,
> "_score": 1,
> "_source": {
> "id": ""EONET_3482"",
> "title": ""Cyclone Flamboyan"",
> "description": """",
> "link":
> ""https://eonet.sci.gsfc.nasa.gov/api/v2.1/events/EONET_3482"",
> "closed": ""2018-05-07T00:00:00Z"",
> "categories": [
> "{"id":10,"title":"Severe Storms"}"
> ],
> "sources": [
>
> "{"id":"UNISYS","url":"http://weather.unisys.com/hurricane/s_indian/2018/FLAMBOYAN/track.dat"}"
> ],
> "geometries": [
>
> "{"date":"2018-04-28T06:00:00Z","type":"Point","coordinates":[92.50,-8.90]}"
> ,
>
> "{"date":"2018-04-28T12:00:00Z","type":"Point","coordinates":[90.80,-9.60]}"
> ,
>
> "{"date":"2018-04-28T18:00:00Z","type":"Point","coordinates":[89.70,-10.20]}"
> ,
>
> "{"date":"2018-04-29T00:00:00Z","type":"Point","coordinates":[89.30,-10.90]}"
> ,
>
> "{"date":"2018-04-29T06:00:00Z","type":"Point","coordinates":[87.80,-12.10]}"
> ,
>
> "{"date":"2018-04-29T12:00:00Z","type":"Point","coordinates":[86.30,-12.80]}"
> ,
>
> "{"date":"2018-04-29T18:00:00Z","type":"Point","coordinates":[85.70,-13.50]}"
> ,
>
> "{"date":"2018-04-30T00:00:00Z","type":"Point","coordinates":[85.00,-14.40]}"
> ,
>
> "{"date":"2018-04-30T06:00:00Z","type":"Point","coordinates":[84.50,-14.90]}"
> ,
>
> "{"date":"2018-04-30T12:00:00Z","type":"Point","coordinates":[84.30,-15.60]}"
> ,
>
> "{"date":"2018-04-30T18:00:00Z","type":"Point","coordinates":[84.20,-16.30]}"
> ,
>
> "{"date":"2018-05-01T00:00:00Z","type":"Point","coordinates":[83.70,-17.20]}"
> ,
>
> "{"date":"2018-05-01T06:00:00Z","type":"Point","coordinates":[83.80,-17.30]}"
> ,
>
> "{"date":"2018-05-01T12:00:00Z","type":"Point","coordinates":[84.00,-17.70]}"
> ,
>
> "{"date":"2018-05-01T18:00:00Z","type":"Point","coordinates":[84.20,-18.20]}"
> ,
>
> "{"date":"2018-05-02T00:00:00Z","type":"Point","coordinates":[84.40,-18.70]}"
> ]
> }
> }
> {code}
> To make it look nicer, we can also embed a leaflet.js panel which merely maps
> the *geometries* field.
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)