Coder Social home page Coder Social logo

p3-dashboard's People

Contributors

cblakeley avatar gaborremenyi avatar retog avatar szluca avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Forkers

cblakeley

p3-dashboard's Issues

Transformer configuration breaks with leading whitespace in the config

I'm not sure where this issue belongs so I post it here. I just did a demo at ICT2015 and when I copied the BatchRefine config URI from the LDP interface it seems that I copied the URI with a leading space. When I add this to the transformer factory of BatchRefine it registers a transformer with the space which leads in a non-functioning transformer in the end.

It was surely my fault but I think this should be catched in the UI so it doesn't happen to others.

SPARQL endpoint URI and platform URI contain hardcoded paths

index.html contains:
var platformURI = "http://" + host + ":8181/ldp/platform";
For Virtuoso, LDP containers are rooted under /DAV
e.g. ":8181/DAV/home/fusepool/ldp/platform"
Although we could define a virtual directory /ldp and map /DAV/home/fusepool/ldp to it, it would be better if the parent directory of platform could be made configurable.

The sparql endpoint URI passed to P3Check.initP3Platform() uses a hardcoded path '/sparql/select'. Virtuoso uses '/sparql'. Again the sparql endpoint path needs to be configurable.

Make new release

Indeed, the default port seems to be right in the repository ;-)
Could you please create a new release? Thanks!

Dashboard does not show widgets

Even though I configured some widgets they do not show up anymore on data.fusepool.info. The container is there, for example:

http://data.fusepool.info:8205/?defaultContainer=http://data.fusepool.info:8181/ldp/dcr/default-configuration/BAR-complete-pipeline

If you list that in the resource UI, everything looks fine.

The transformers do show up but not everytime in the UI.

Update readme

The Readme should explain how to compile and how to run from the jar, mvn exec is for developer who know this shortcut anyway.

Transformer output type cannot be specified

I was really confused that after my tests with BatchRefine all transformed files were the same like the input file. This is because I cannot specify the input type and default in BatchRefine seems to be CSV. Currently the requested Accept-header is */*so BatchRefine technically does it right I think.

I would propose that transformers should in this case output RDF as this is the main goal of P3 but we also need to be able to specify the output type in the widget UI.

P3 Dashboard does not seem to execute transformation

I configured an OpenRefine transformer as described in issue #9. When I create a widget on the dashboard for this transformer and upload a file, nothing seems to happen. I never see any request in the batchrefine log.

what is http://vocab.fusepool.info/wrldpc# namespace?

I can't find the definition of the ontology, don't know what it is for. Especially

<http://vocab.fusepool.info/wrldpc#type> "T-LDPC"

looks horrible. An LDPC is a TLDPC if it has an eldp:transformer, for expressing types there is rdf:type and the type should be an URI not a literal.

Transformer test UI does not set proper headers

I created an OpenRefine transformer which works fine when I post data via curl. If I try to test the newly registered transformer in the Transformer test-UI it seems that neither the Accept Header nor the Content Type are properly set in the request.

Curl edition (which works):

 curl -XPOST -H "Accept:text/turtle" -H 'Content-Type:text/csv' --data-binary @20141205_AEG_ADL_ALOD_niv_doc-xlsx.csv http://sandbox.fusepool.info:8310\?refinejson\=http%3A%2F%2Fsandbox.fusepool.info%3A8181%2Fldp%2Fbla-json.json

The dialog looks like this:

screen shot 2015-09-16 at 17 01 13

In BatchRefine log I see:

batchrefine p3 14:14:47.135 [...BatchRefineTransformer] Origin:http://sandbox.fusepool.info:8200 (0ms)
batchrefine p3 14:14:47.135 [...BatchRefineTransformer] Connection:keep-alive (0ms)
batchrefine p3 14:14:47.135 [...BatchRefineTransformer] Content-Type:text/plain; charset=UTF-8 (0ms)
batchrefine p3 14:14:47.135 [...BatchRefineTransformer] Accept:*/* (0ms)
batchrefine p3 14:14:47.135 [...BatchRefineTransformer] Cache-Control:no-cache (0ms)
batchrefine p3 14:14:47.136 [...BatchRefineTransformer] Pragma:no-cache (1ms)
batchrefine p3 14:14:47.136 [...BatchRefineTransformer] ```

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.