github.com/TIBCOSoftware/flogo-lib@v0.5.9/core/action/config.go (about)

     1  package action
     2  
     3  import (
     4  	"encoding/json"
     5  
     6  	"github.com/TIBCOSoftware/flogo-lib/core/data"
     7  )
     8  
     9  // Config is the configuration for the Action
    10  type Config struct {
    11  	//inline action
    12  	Ref      string                 `json:"ref"`
    13  	Settings map[string]interface{} `json:"settings"`
    14  	Data     json.RawMessage        `json:"data"`
    15  
    16  	//referenced action
    17  	Id string `json:"id"`
    18  
    19  	// Deprecated: No longer used
    20  	Metadata *data.IOMetadata `json:"metadata"`
    21  }
    22  
    23  //do we need a call that will "fix up" the config, coerce to the right attr, using the metadata?
    24