Wed Aug 15, 2018 1:55 am
Login Register Lost Password? Contact Us


Deploying Roxie Package With Authentication

Post questions specific to installation or configuration for the HPCC Systems platform

Wed Feb 28, 2018 8:57 pm Change Time Zone

Hi all,

I was wondering if someone can help with a quick authentication query,

In our package deployment ecl we have the following settings. We have implemented authentication and want to know how to send the username and password through when deploying the package to the roxie using SOAPCALL...

STRING RoxieUrl_WsWorkunits := 'https://' + Roxie_Hostname + ':18010/WsWorkunits?ver_=1.44';
STRING RoxieUrl_WsPackageProcess := 'https://'+ Roxie_Hostname + ':18010/WsPackageProcess';
STRING Roxie_Clustername := 'roxie';
STRING Package_Name := 'globex.pkg';

Thanks in advance

Antony
amillar
 
Posts: 14
Joined: Fri Oct 16, 2015 7:32 am

Thu Mar 01, 2018 6:27 pm Change Time Zone

Hi,

Just curious...

Package map deployment is usually done from the ECL command line, why do you need to use SOAPCALL? I would guess that authentication would be done using a "user=name,password=value" format.

Regards,

Bob
bforeman
Community Advisory Board Member
Community Advisory Board Member
 
Posts: 975
Joined: Wed Jun 29, 2011 7:13 pm

Fri Mar 02, 2018 12:15 am Change Time Zone

Bob, Some projects automate file changes by making SOAPCALLs out to the package file management system.

Antony,

You can add basic authentication credentials to a SOAPCALL through the URL.

The format is 'https://user:pw@myhost:18010/WsPackageProcess'.

ECL example:

Code: Select all
STRING us := 'xx' : stored('username');
STRING pw := 'zz' : stored('password', format(password));

STRING RoxieUrl := 'https://'+ us + ':' + pw + '@' + Host + ':18010/WsPackageProcess';
anthony.fishbeck
 
Posts: 47
Joined: Wed Jan 30, 2013 10:18 pm

Fri Mar 02, 2018 1:59 pm Change Time Zone

Thank You Tony! Good to know!
Bob
bforeman
Community Advisory Board Member
Community Advisory Board Member
 
Posts: 975
Joined: Wed Jun 29, 2011 7:13 pm


Return to Installation

Who is online

Users browsing this forum: No registered users and 1 guest