We should add a field, e.g. type, on the DataFlow class which specifies whether a given data flow is a provider or consumer process. As there are endpoints like /suspend or /resume, which can be called on both provider and consumer dataplanes, the information may be relevant.
The field can be set on creation of a new data flow depending on whether it's created in the prepare or start phase.
We should add a field, e.g.
type, on theDataFlowclass which specifies whether a given data flow is a provider or consumer process. As there are endpoints like/suspendor/resume, which can be called on both provider and consumer dataplanes, the information may be relevant.The field can be set on creation of a new data flow depending on whether it's created in the
prepareorstartphase.