Hi Venkatesh,

The POST command you listed actually accepts the following as payload:

{

   "{propertyName}" : "{propertyValue}",

...
}

The propertyName can be
"dt.application.app_name.operator.fileSplitter.prop.scanner.files" and the
propertyValue can be "/user/data/date=12-14-2015/ver=6/".

David


On Mon, Dec 14, 2015 at 6:25 PM, Kottapalli, Venkatesh <
[email protected]> wrote:

> Hi,
>
>                 I am trying to configure filesplitter to read files from
> different directories based on parameters that I wish to provide as input
> to the application?
>
>
> *         One way of doing it is to read data from a properties file on
> server into application.java and set those values into filesplitter config.
>
>
> *         I am wondering if there is a way to pass arguments to the
> submitted application so that I can set my filesplitter configuration
> dynamically from the below command rather than from properties?
>
>
>
> POST
> /ws/v2/appPackages/{owner}/{packageName}/{packageVersion}/applications/{appName}/launch[?config={configName}&originalAppId={originalAppId}&queue={queueName}]
> Regards,
> Venkatesh.
>

Reply via email to