Code Monkey home page Code Monkey logo

sparkl's Introduction

App Builder

Create and explore pentaho plugins

App Builder HomePage

App Builder is a CPK (Comunity Plugin Kickstarter) plugin that allows you to easily build other CPK plugins. As such, you can take full advantage of all CPK features. To learn more about this please refer to the CPK readme

Pre-requisites for building the project:

  • Maven, version 3+
  • Java JDK 1.8
  • This settings.xml in your /.m2 directory

Building it

This will build, unit test, and package the whole project (all of the sub-modules). The artifact will be generated in: target

$ mvn clean install

Running the tests

Unit tests

This will run all tests in the project (and sub-modules).

$ mvn test

If you want to remote debug a single java unit test (default port is 5005):

$ cd core
$ mvn test -Dtest=<<YourTest>> -Dmaven.surefire.debug

Integration tests In addition to the unit tests, there are integration tests in the core project.

$ mvn verify -DrunITs

To run a single integration test:

$ mvn verify -DrunITs -Dit.test=<<YourIT>>

To run a single integration test in debug mode (for remote debugging in an IDE) on the default port of 5005:

$ mvn verify -DrunITs -Dit.test=<<YourIT>> -Dmaven.failsafe.debug

IntelliJ

  • Don't use IntelliJ's built-in maven. Make it use the same one you use from the commandline.
    • Project Preferences -> Build, Execution, Deployment -> Build Tools -> Maven ==> Maven home directory

sparkl's People

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

sparkl's Issues

context path hard coded in sparkl

Actually, if you run pentaho ba server version 5.3 with a context path different from pentaho (ex : http://ipserver:8080/myapp and not http://ipserver:8080/pentaho), sparkl won't work at all.
After changing all matchin occurence to our current conf, sparkl is working like a charm.

You can found how may file we need to modify in this plugin to work with sparkl :
[-----> sparkl]$ grep -R "pentaho/" *
build.xml: <get src="http://127.0.0.1:8080/pentaho/Publish?publish=now&amp;class=org.pentaho.platform.plugin.services.pluginmgr.PluginAdapter&amp;userid=${plugin.local.install.user}&amp;password=${plugin.local.install.pass}"
dashboards/admin/variableInfo.cdfde: "value": "/pentaho/api/repos/sparkl/static/custom/js/sparkl.js",
dashboards/admin/variableInfo.cdfde: "value": "/pentaho/api/repos/sparkl/static/custom/css/sparkl.css",
documentation/spec.md:* Feedback (email): sends email to pentaho/ctools/plugin-author with
documentation/spec.md:* Report a Bug (email): sends email to pentaho/ctools/plugin-author
documentation/spec.md: * Description: pack plugin and open email default application with zip file already attached and author/pentaho/ctools email address already inserted
Fichier binaire lib/cpf-pentaho5-5.3.0.0-213.jar concordant
resources/components/SparklCards/component.js: imgSrc = Dashboards.getWebAppPath() + '/pentaho/api/repos/' + pluginId + '/static/system/img/pluginLogo___.png';
resources/styles/sparkl.html:
resources/styles/sparkl.html:
resources/styles/cpk.html:
stub/build.xml.token: <get src="http://127.0.0.1:8080/pentaho/Publish?publish=now&amp;class=org.pentaho.platform.plugin.services.pluginmgr.PluginAdapter&amp;userid=${plugin.local.install.user}&amp;password=${plugin.local.install.pass}"

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.