Support Questions

Find answers, ask questions, and share your expertise

Automated Exporting of Data Flow Definition/Config

avatar
Contributor

I'd like to have a process for automatically exporting the data flow definition and configuration without needing to go into the CDF UI.

Right now, if I wanted the configuration, I'd click here in the UI:

Screenshot 2024-03-25 at 9.22.18 AM.png

My thought was to use the CDP CLI, but under the df section, there doesn't appear to be a command for this.

Any suggestions?

1 ACCEPTED SOLUTION

avatar
Super Collaborator

Hello @ipson 

Thanks for using Cloudera Community. 

To the Q, Kindly use "dfworkload" Commands [1]. The concerned Command has the Sub-Command to address the requirement of fetching Definition & Configurations. If any of the requirement isn't met via [1], Kindly Submit a Support Case for us to get the same included in the CLI with the Collaboration of DFX Engineering.

- Smarak

[1] https://cloudera.github.io/cdp-dev-docs/cli-docs/dfworkload/index.html 

View solution in original post

2 REPLIES 2

avatar
Super Collaborator

Hello @ipson 

Thanks for using Cloudera Community. 

To the Q, Kindly use "dfworkload" Commands [1]. The concerned Command has the Sub-Command to address the requirement of fetching Definition & Configurations. If any of the requirement isn't met via [1], Kindly Submit a Support Case for us to get the same included in the CLI with the Collaboration of DFX Engineering.

- Smarak

[1] https://cloudera.github.io/cdp-dev-docs/cli-docs/dfworkload/index.html 

avatar
Contributor

When I run this command via the cdp cli, it just returns a JSON like this:

```

{

    "archiveName": "[MY_FLOW_NAME].tar.gz"

}

```

I want to get the actual flow definition.