{{ define "layout" }} {{ template "navbar" .UserEmail}}

Extract Source

{{$pid := .PipelineID }} {{$wdid := .ExtractSourceID }} {{$wdname := .ExtractSource.Name }} {{$pname := .PipelineName }}
{{ if .ExtractSource.Initialized }} {{ else }} {{ end }} Delete {{ if eq .ExtractSource.Scheme "api" }} {{ if .ExtractSource.Running }} Stop {{ else }} Start {{ end }} {{ end }} {{ if eq .ExtractSource.Scheme "httppost"}} {{ if .ExtractSource.Running }} Stop {{ else }} Start {{ end }} {{ end }}
{{ if ne .ErrorText "" }} {{ end }} {{ if ne .StatusText "" }} {{ end }}
{{range .Metrics}}
{{end}}
{{ if .ExtractSource.Initialized }} {{ else }} create extract rule {{ end }}
create extension
{{ end }}