Versions Compared

Key

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

...

  1. Specify the default Azure publishing configuration in dynamic/pyrules/custom/env.py as a get_default_azure_def() function. For example:

    Code Block
    languagepy
    themeConfluence
    titleAzure Connection Configuration
    def get_default_azure_def():
        return """{"account":"eagleaccount","key":"BASE64ENCODEDAPPKEY=="}"""
    
    


  2. Add a get_default_azure_container_name() function to dynamic/pyrules/custom/env.py to define the default container name.

    Code Block
    languagepy
    themeConfluence
    titleDefault Azure Container Name Definition
    def get_default_azure_container_name():
        return 'eagleml'
    
    


  3. Optional.  Add a get_default_azure_target_dir() function to dynamic/pyrules/custom/env.py to define the target virtual directory in the container. The directory should be without trailing and leading back slashes:

    Code Block
    languagepy
    themeConfluence
    titleDefault Azure Container virtual directory Path Definition
    def get_default_azure_target_dir():
        return 'dropdir/eagleml'
    
    


  4. Optional.  Add get_azure_timeout() function to dynamic/pyrules/custom/env.py.to define timeout for publishing to Azure.The timeout parameter is expressed in seconds.


    Code Block
    languagepy
    themeConfluence
    titleTimeout Definition
    def get_azure_timeout():
        return 600


  5. In order for the result of the extract to be delivered, define to Azure the following parameter in the RTR:

    Code Block
    languagexml
    themeConfluence
    titleTask Parameter - Azure Delivery
    <taskParameter>
        <name>TargetSinkType</name>
        <value>azureblob</value>
    </taskParameter>


Azure Oauth Authentication

Specify the default Azure publishing configuration in dynamic/pyrules/custom/env.py as a get_default_azure_def() function. For example:

Code Block
languagepy
themeConfluence
titleAzure Connection Configuration
def get_default_azure_def():
    return """{"account":"eagleaccount","application_id":"application-id","application_secret":"BASE64ENCODEDAPPSECRET==","tenant_id":"tenant-id"}"""

Distribute to multiple accounts/containers

You can distribute to multiple accounts/containers.
To distribute to multiple accounts/containers:

...