Skip to content

Latest commit

 

History

History
 
 

sf-dependency-list

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 
 
 
 
 
 
 
 
 

gensfds Generate Shared Flow Dependencies

A tool which generates the topologically sorted list of Apigee Shared Flows. This is helpful to figure out the correct install sequence for Apigee Shared Flows.

Apigee X/hybrid causes an error condition if a FlowCallout policy refers to a Shared Flow that is not deployed yet.

The tool also generates dot file that visualizes the dependencies.

Here is a sample dependencies graph:

SF Dependencies

Dependencies

  • bash and POSIX Linux

Prerequisites and Installation

The simplest way is to directly download a script into a directory of your choice and change its executable permissions.

curl -LO https://raw.githubusercontent.com/apigee/devrel/main/tools/sf-dependency-list/src/gensfds.sh &&chmod +x gensfds.sh

Usage

gensfds <directory-with-shared-flows> tsort|dot

Parameters

Two positional parameters:

  • directory that contains a collection of shared flows
  • type of output: tsort or dot

Example

gensfds . dot