Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

On This Page:

Table of Contents

The eagle_wrf_cloud_extract workflow was created to periodically execute EBS extracts.

The workflow contains one ExecuteCM task only. The task runs eagle_wrf_generic_extract_mc2 workflow with following pre-selected parameters:

ParameterValue
ebs:default:DeltaBasedY   to extract delta only
ebs:default:DeltaBasedUIDAZURE_CLOUD  unique uid for delta
ebs:default:OutputFormatEagleJSON   - to extract in EagleJson format
ebs:default:TargetSinkTypeazureblob  - to publish extract data to azure
DisableDistributionStepY - to skip distribution step in mc2 workflow
FeedTypeebs:warehouseposition, ebs:warehouseperformance, ebs:warehousenav, ebs:exchangeprice,ebs:smf,ebs:genericentity, ebs:codevalue, ebs:issuefxrate,ebs:warehousetrade, ebs:issueprice,ebs:errordefinition


FeedType  The values for FeedType and ebs:default:TargetSinkType Values can be overridden by the following variables in the w_config_custom.inc file:

        w_ebs_cloud_interfaces

...

There are two methods for adding a new interface , for example such as an interface called mycustomsmfextract.

...

  1. Open tpe\dynamic\msgcenter\eagle_ml-2-0_custom_cm\w_config_custom.inc
  2. Add/modify w_ebs_cloud_interfaces value.

<CODE>

...

  1. Code Block
    languagejs
    <CODE>
    
       :w_ebs_cloud_interfaces: := 'ebs:smf,ebs:mycustomsmfextract';

...

  1. 
    
    </CODE>


  2. Save the file.
  3. Re-

...

  1. initialize the classic MC cache.

Second way.

...

Method Two

You can add the new interface in IWS

  1. Open eagle_wrf_cloud_extract in IWS
  2. Expand CustomCMParams for execute_ebs_extracts

...

  1. Image Added
  2. Add the interface at the end of value before last single quote.

...

  1. Image Added
  2. Save &Publish solution.
  3. Re-

...

  1. initialize the classic MC cache.
  2. To save changes in

...

  1. Bitbucket , commit the following files:

...

  1. tpe\dynamic\msgcenter\eagle_ml-2-0_workflows\eagle_wrf_cloud_extract.wrf

...

  1. tpe\dynamic\msgcenter\eis\ejmwf\eagle_wrf_cloud_extract.ejmwf

Add New Task Parameter for EBS Extracts

...

Add Common Parameter for All EBS Extracts

Common parameter name has ‘ebs:default:’ prefix.For  For example, to reduce extracts and , apply maxrows=100 to all ebs EBS extracts.

  1. Open eagle_wrf_cloud_extract in IWS.
  2. Expand CustomCMParams for execute_ebs_extracts.
  3. Add a new parameter with the name ebs\5C3Adefault\5C3Amaxrows and value of 100.
    Note: IWS does not replace the colon with \5C3A for parameter names automatically, so you must write \5C3A in place of colon in the parameter name.
  4. Save and publish the solution.
  5. Re-initialize the classic MC cache.
  6. To save changes in Bitbucket, commit the following files:
    tpe\dynamic\msgcenter\eagle_ml-2-0_workflows\eagle_wrf_cloud_extract.wrf
    tpe\dynamic\msgcenter\eis\ejmwf\eagle_wrf_cloud_extract.ejmwf

Add EBS Extract Specific Parameter

Extract specific parameter name has ‘ebs:[interface name]:’ prefix. For instance we have to , you can reduce mycustomsmfextract by applying maxrows=100 to the extract.

  1. Open eagle_wrf_cloud_extract in IWS.
  2. Expand CustomCMParams

...

  1. to execute_ebs_extracts.
  2. Add a new parameter with the name ebs\5C3Amycustomsmfextract\5C3Amaxrows and a value of 100.

...


  1. Note: IWS

...

  1. does not replace the colon with \5C3A for

...

  1. parameter names automatically, so

...

  1. you must write \5C3A

...

  1. in place of the colon in the parameter name.

...

  1. Image Added
  2. Save

...

  1. and publish the solution.
  2. Re-

...

  1. initialize the classic MC cache.
  2. To save changes in

...

  1. Bitbucket, commit the following files:

...

  1. tpe\dynamic\msgcenter\eagle_ml-2-0_workflows\eagle_wrf_cloud_extract.wrf

...

  1. tpe\dynamic\msgcenter\eis\ejmwf\eagle_wrf_cloud_extract.ejmwf

...

Use Profile to run the workflow

To support custom parameters we decided to use , MC2 uses the workflow profile for eagle_wrf_cloud_extract workflow.

...