pentaho / pdi-platform-utils-plugin Goto Github PK
View Code? Open in Web Editor NEWKettle steps to interact with BA Server functionalities
License: GNU General Public License v2.0
Kettle steps to interact with BA Server functionalities
License: GNU General Public License v2.0
<step> <name>Set session variables</name> <type>SetSessionVariableStep</type> <description/> <distribute>N</distribute> <custom_distribution/> <copies>1</copies> <partitioning> <method>none</method> <schema_name/> </partitioning> <fields> <field> <name>constaint</name> <variable>constaint</variable> <default_value>"test"</default_value> </field> <field> <name>client_name</name> <variable>client_name</variable> <default_value>${username}</default_value> </field> </fields> <use_formatting>N</use_formatting> <cluster_schema/> <remotesteps> <input> </input> <output> </output> </remotesteps> <GUI> <xloc>458</xloc> <yloc>86</yloc> <draw>Y</draw> </GUI> </step>
org.pentaho.di.core.exception.KettleException:
There was no variable name specified for value [dim_country_id = "Netherlands1"]
at pt.webdetails.di.baserver.utils.SetSessionVariableStep.setValue(SetSessionVariableStep.java:98)
at pt.webdetails.di.baserver.utils.SetSessionVariableStep.processRow(SetSessionVariableStep.java:62)
at org.pentaho.di.trans.step.RunThread.run(RunThread.java:62)
at java.lang.Thread.run(Unknown Source)
2015/01/12 15:12:08 - Set session variables.0 - ERROR (version 5.2.1.0-148, build 1 from 2014-12-08_14-49-19 by buildguy) : Unexpected error
2015/01/12 15:12:08 - Table input.0 - Finished processing (I=1, O=0, R=0, W=1, U=0, E=0)
2015/01/12 15:12:08 - Set session variables.0 - ERROR (version 5.2.1.0-148, build 1 from 2014-12-08_14-49-19 by buildguy) : org.pentaho.di.core.exception.KettleException:
2015/01/12 15:12:08 - Set session variables.0 - There was no variable name specified for value [dim_country_id = "Netherlands1"]
2015/01/12 15:12:08 - Set session variables.0 -
2015/01/12 15:12:08 - Set session variables.0 - at pt.webdetails.di.baserver.utils.SetSessionVariableStep.setValue(SetSessionVariableStep.java:98)
2015/01/12 15:12:08 - Set session variables.0 - at pt.webdetails.di.baserver.utils.SetSessionVariableStep.processRow(SetSessionVariableStep.java:62)
2015/01/12 15:12:08 - Set session variables.0 - at org.pentaho.di.trans.step.RunThread.run(RunThread.java:62)
2015/01/12 15:12:08 - Set session variables.0 - at java.lang.Thread.run(Unknown Source)
BAServerUtils v0.2
BA Serer: 5.2.1.0
OS:
Distributor ID: Ubuntu
Description: Ubuntu 14.04.1 LTS
Release: 14.04
Codename: trusty
Java:(packaged with BA Server)
java version "1.7.0_60"
Java(TM) SE Runtime Environment (build 1.7.0_60-b19)
Java HotSpot(TM) 64-Bit Server VM (build 24.60-b09, mixed mode)
In some cases, in example to change the user password, we have to send an XML or Json file to the server. Can you please add support for this to the 'Call endpoint' step?
I upgraded the biserver-ce to 5.1 a few days ago and since then the BAServerUtils step doesn't seem to fetch configured data source names correctly (using data-access and /connection/list). Instead of the connection names now the db schema names are shown
In example, on the biserver I configured two additional data sources: psqllocaltest and mysqllocaltest. In both cases the result shows the schema name but not the connection name. I tested this by also pointing the connection to different schemas. Previously this was not the case.
Endpoint paths with special characters as part of the name throw "Invalid uri" error
Example:
endpoint path:
/repo/files//public/Steel Wheels/Product Line Share by Territory.xanalyzer/inline
Error:
java.lang.IllegalArgumentException: Invalid uri 'http://localhost:8080/pentaho/api/repo/files//public/Steel Wheels/Product Line Share by Territory.xanalyzer/inline': escaped absolute path not valid
<step> <name>Set session variables</name> <type>SetSessionVariableStep</type> <description/> <distribute>N</distribute> <custom_distribution/> <copies>1</copies> <partitioning> <method>none</method> <schema_name/> </partitioning> <fields> <field> <name>constaint</name> <variable>constaint</variable> <default_value>"test"</default_value> </field> <field> <name>client_name</name> <variable>client_name</variable> <default_value>${username}</default_value> </field> </fields> <use_formatting>N</use_formatting> <cluster_schema/> <remotesteps> <input> </input> <output> </output> </remotesteps> <GUI> <xloc>458</xloc> <yloc>86</yloc> <draw>Y</draw> </GUI> </step>
org.pentaho.di.core.exception.KettleException:
There was no variable name specified for value [dim_country_id = "Netherlands1"]
at pt.webdetails.di.baserver.utils.SetSessionVariableStep.setValue(SetSessionVariableStep.java:98)
at pt.webdetails.di.baserver.utils.SetSessionVariableStep.processRow(SetSessionVariableStep.java:62)
at org.pentaho.di.trans.step.RunThread.run(RunThread.java:62)
at java.lang.Thread.run(Unknown Source)
2015/01/12 15:12:08 - Set session variables.0 - ERROR (version 5.2.1.0-148, build 1 from 2014-12-08_14-49-19 by buildguy) : Unexpected error
2015/01/12 15:12:08 - Table input.0 - Finished processing (I=1, O=0, R=0, W=1, U=0, E=0)
2015/01/12 15:12:08 - Set session variables.0 - ERROR (version 5.2.1.0-148, build 1 from 2014-12-08_14-49-19 by buildguy) : org.pentaho.di.core.exception.KettleException:
2015/01/12 15:12:08 - Set session variables.0 - There was no variable name specified for value [dim_country_id = "Netherlands1"]
2015/01/12 15:12:08 - Set session variables.0 -
2015/01/12 15:12:08 - Set session variables.0 - at pt.webdetails.di.baserver.utils.SetSessionVariableStep.setValue(SetSessionVariableStep.java:98)
2015/01/12 15:12:08 - Set session variables.0 - at pt.webdetails.di.baserver.utils.SetSessionVariableStep.processRow(SetSessionVariableStep.java:62)
2015/01/12 15:12:08 - Set session variables.0 - at org.pentaho.di.trans.step.RunThread.run(RunThread.java:62)
2015/01/12 15:12:08 - Set session variables.0 - at java.lang.Thread.run(Unknown Source)
BAServerUtils v0.2
BA Serer: 5.2.1.0
OS:
Distributor ID: Ubuntu
Description: Ubuntu 14.04.1 LTS
Release: 14.04
Codename: trusty
Java:(packaged with BA Server)
java version "1.7.0_60"
Java(TM) SE Runtime Environment (build 1.7.0_60-b19)
Java HotSpot(TM) 64-Bit Server VM (build 24.60-b09, mixed mode)
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.