Hitachi Vantara Pentaho Community Forums
Results 1 to 2 of 2

Thread: PDI carte web service - change default username/password

  1. #1

    Default PDI carte web service - change default username/password

    I am trying to use PDI data over web service for the first time, following the information from the wiki:
    http://wiki.pentaho.com/display/EAI/...r+web+services

    Use an instance of Carte that runs on your local host on port 8282 (execute carte.sh 127.0.0.1 8282) to get the data in your browser.

    For file (XML) based transformations:http://*username:password@hostname:port/kettle/executeTrans/?trans=PathTo{}File*
    For transformations stored in a repository:http://*username:password@hostname:port/kettle/executeTrans/?rep=RepositoryName&user=RepositoryUser&pass=RepositoryPassword&trans=PathTo{}TransformationInRepository*
    Please note that you need to replace forward slashes with %2F in your browser.
    I finally figured out that the username and password are both "cluster". According to the Carte configuration (http://wiki.pentaho.com/display/EAI/Carte+Configuration)
    I should be able to pass in the name of the config file, such as:

    carte.bat carte_config.xml

    where my carte_config.xml contains:

    <slaveserver>
    <name>slave-8086</name>
    <hostname>localhost</hostname>
    <port>8086</port>
    <username>Adam</username>
    <password>secret</password>
    <master>N</master>
    </slaveserver>

    But when I run it, it only seems to load the port number (8086) from my carte_config.xml file, and it ignores the username and password, which are still set to cluster:cluster.

    What am I missing?

    -thanks
    Last edited by Luke2; 11-26-2013 at 06:47 PM.

  2. #2

    Default

    I found the answer in http://wiki.pentaho.com/display/EAI/...+Documentation

    Carte uses basic authentication to control access to the web services.
    The default user and password to use to gain control is "cluster".
    You can change either of these in the file pwd/kettle.pwd

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Privacy Policy | Legal Notices | Safe Harbor Privacy Policy

Copyright © 2005 - 2019 Hitachi Vantara Corporation. All Rights Reserved.