diff --git a/api/openapi-spec/swagger.json b/api/openapi-spec/swagger.json index 08a0dedd6e25..5cc4b5f86ac7 100644 --- a/api/openapi-spec/swagger.json +++ b/api/openapi-spec/swagger.json @@ -289,6 +289,7 @@ "parameters": [ { "type": "string", + "description": "DEPRECATED: This field is ignored.", "name": "name", "in": "path", "required": true @@ -563,6 +564,7 @@ }, { "type": "string", + "description": "DEPRECATED: This field is ignored.", "name": "name", "in": "path", "required": true @@ -960,6 +962,7 @@ }, { "type": "string", + "description": "DEPRECATED: This field is ignored.", "name": "name", "in": "path", "required": true @@ -1707,6 +1710,7 @@ "type": "object", "properties": { "name": { + "description": "DEPRECATED: This field is ignored.", "type": "string" }, "template": { @@ -1749,6 +1753,7 @@ "$ref": "#/definitions/io.argoproj.workflow.v1alpha1.CronWorkflow" }, "name": { + "description": "DEPRECATED: This field is ignored.", "type": "string" }, "namespace": { @@ -7009,6 +7014,7 @@ "$ref": "#/definitions/io.k8s.api.core.v1.CreateOptions" }, "instanceID": { + "description": "This field is no longer used.", "type": "string" }, "namespace": { @@ -7191,6 +7197,7 @@ "type": "object", "properties": { "name": { + "description": "DEPRECATED: This field is ignored.", "type": "string" }, "namespace": { diff --git a/cmd/argo/commands/client/conn.go b/cmd/argo/commands/client/conn.go index 210b1b09fceb..4719c8eae030 100644 --- a/cmd/argo/commands/client/conn.go +++ b/cmd/argo/commands/client/conn.go @@ -13,6 +13,7 @@ import ( ) var argoServerOpts = apiclient.ArgoServerOpts{} +var instanceID string var overrides = clientcmd.ConfigOverrides{} @@ -31,7 +32,8 @@ func GetConfig() clientcmd.ClientConfig { return clientcmd.NewInteractiveDeferredLoadingClientConfig(loadingRules, &overrides, os.Stdin) } -func AddArgoServerFlagsToCmd(cmd *cobra.Command) { +func AddAPIClientFlagsToCmd(cmd *cobra.Command) { + cmd.PersistentFlags().StringVar(&instanceID, "instanceid", os.Getenv("ARGO_INSTANCEID"), "submit with a specific controller's instance id label. Default to the ARGO_INSTANCEID environment variable.") // "-s" like kubectl cmd.PersistentFlags().StringVarP(&argoServerOpts.URL, "argo-server", "s", os.Getenv("ARGO_SERVER"), "API server `host:port`. e.g. localhost:2746. Defaults to the ARGO_SERVER environment variable.") // "-e" for encrypted - like zip @@ -44,6 +46,7 @@ func NewAPIClient() (context.Context, apiclient.Client) { ctx, client, err := apiclient.NewClientFromOpts( apiclient.Opts{ ArgoServerOpts: argoServerOpts, + InstanceID: instanceID, AuthSupplier: func() string { return GetAuthString() }, diff --git a/cmd/argo/commands/cron/create.go b/cmd/argo/commands/cron/create.go index 68e654d81fa8..3afc554bc720 100644 --- a/cmd/argo/commands/cron/create.go +++ b/cmd/argo/commands/cron/create.go @@ -20,14 +20,9 @@ type cliCreateOpts struct { strict bool // --strict } -type cronWorkflowSubmitOpts struct { - instanceId string -} - func NewCreateCommand() *cobra.Command { var ( cliCreateOpts cliCreateOpts - submitOpts cronWorkflowSubmitOpts ) var command = &cobra.Command{ Use: "create FILE1 FILE2...", @@ -38,16 +33,15 @@ func NewCreateCommand() *cobra.Command { os.Exit(1) } - CreateCronWorkflows(args, &cliCreateOpts, &submitOpts) + CreateCronWorkflows(args, &cliCreateOpts) }, } command.Flags().StringVarP(&cliCreateOpts.output, "output", "o", "", "Output format. One of: name|json|yaml|wide") - command.Flags().StringVar(&submitOpts.instanceId, "instanceid", "", "submit with a specific controller's instance id label") command.Flags().BoolVar(&cliCreateOpts.strict, "strict", true, "perform strict workflow validation") return command } -func CreateCronWorkflows(filePaths []string, cliOpts *cliCreateOpts, submitOpts *cronWorkflowSubmitOpts) { +func CreateCronWorkflows(filePaths []string, cliOpts *cliCreateOpts) { ctx, apiClient := client.NewAPIClient() serviceClient := apiClient.NewCronWorkflowServiceClient() @@ -70,7 +64,6 @@ func CreateCronWorkflows(filePaths []string, cliOpts *cliCreateOpts, submitOpts } for _, cronWf := range cronWorkflows { - applySubmitOpts(&cronWf, submitOpts) created, err := serviceClient.CreateCronWorkflow(ctx, &cronworkflowpkg.CreateCronWorkflowRequest{ Namespace: namespace, CronWorkflow: &cronWf, @@ -100,14 +93,3 @@ func unmarshalCronWorkflows(wfBytes []byte, strict bool) []wfv1.CronWorkflow { log.Fatalf("Failed to parse workflow template: %v", err) return nil } - -func applySubmitOpts(cwf *wfv1.CronWorkflow, submitOpts *cronWorkflowSubmitOpts) { - labels := cwf.GetLabels() - if labels == nil { - labels = make(map[string]string) - } - if submitOpts.instanceId != "" { - labels[common.LabelKeyControllerInstanceID] = submitOpts.instanceId - } - cwf.SetLabels(labels) -} diff --git a/cmd/argo/commands/root.go b/cmd/argo/commands/root.go index f9f54d70d724..c4954b89b3b4 100644 --- a/cmd/argo/commands/root.go +++ b/cmd/argo/commands/root.go @@ -60,7 +60,7 @@ If you're using the Argo Server (e.g. because you need large workflow support or command.AddCommand(clustertemplate.NewClusterTemplateCommand()) client.AddKubectlFlagsToCmd(command) - client.AddArgoServerFlagsToCmd(command) + client.AddAPIClientFlagsToCmd(command) // global log level var logLevel string diff --git a/cmd/argo/commands/submit.go b/cmd/argo/commands/submit.go index 883ec672f2bc..e9997e770000 100644 --- a/cmd/argo/commands/submit.go +++ b/cmd/argo/commands/submit.go @@ -66,7 +66,6 @@ func NewSubmitCommand() *cobra.Command { command.Flags().StringVar(&submitOpts.Entrypoint, "entrypoint", "", "override entrypoint") command.Flags().StringArrayVarP(&submitOpts.Parameters, "parameter", "p", []string{}, "pass an input parameter") command.Flags().StringVar(&submitOpts.ServiceAccount, "serviceaccount", "", "run all pods in the workflow using specified serviceaccount") - command.Flags().StringVar(&submitOpts.InstanceID, "instanceid", "", "submit with a specific controller's instance id label") command.Flags().BoolVar(&submitOpts.DryRun, "dry-run", false, "modify the workflow on the client-side without creating it") command.Flags().BoolVar(&submitOpts.ServerDryRun, "server-dry-run", false, "send request to server with dry-run flag which will modify the workflow without creating it") command.Flags().StringVarP(&cliSubmitOpts.output, "output", "o", "", "Output format. One of: name|json|yaml|wide") @@ -198,7 +197,6 @@ func submitWorkflows(workflows []wfv1.Workflow, submitOpts *wfv1.SubmitOpts, cli created, err := serviceClient.CreateWorkflow(ctx, &workflowpkg.WorkflowCreateRequest{ Namespace: wf.Namespace, Workflow: &wf, - InstanceID: submitOpts.InstanceID, ServerDryRun: submitOpts.ServerDryRun, CreateOptions: options, }) diff --git a/persist/sqldb/workflow_archive.go b/persist/sqldb/workflow_archive.go index 9f5a79cf412d..a0003e7eab82 100644 --- a/persist/sqldb/workflow_archive.go +++ b/persist/sqldb/workflow_archive.go @@ -14,6 +14,7 @@ import ( "upper.io/db.v3/lib/sqlbuilder" wfv1 "github.com/argoproj/argo/pkg/apis/workflow/v1alpha1" + "github.com/argoproj/argo/util/instanceid" ) const archiveTableName = "argo_archived_workflows" @@ -52,16 +53,16 @@ type WorkflowArchive interface { } type workflowArchive struct { - session sqlbuilder.Database - clusterName string - managedNamespace string - instanceID string - dbType dbType + session sqlbuilder.Database + clusterName string + managedNamespace string + instanceIDService instanceid.Service + dbType dbType } // NewWorkflowArchive returns a new workflowArchive -func NewWorkflowArchive(session sqlbuilder.Database, clusterName, managedNamespace, instanceID string) WorkflowArchive { - return &workflowArchive{session: session, clusterName: clusterName, managedNamespace: managedNamespace, instanceID: instanceID, dbType: dbTypeFor(session)} +func NewWorkflowArchive(session sqlbuilder.Database, clusterName, managedNamespace string, instanceIDService instanceid.Service) WorkflowArchive { + return &workflowArchive{session: session, clusterName: clusterName, managedNamespace: managedNamespace, instanceIDService: instanceIDService, dbType: dbTypeFor(session)} } func (r *workflowArchive) ArchiveWorkflow(wf *wfv1.Workflow) error { @@ -84,7 +85,7 @@ func (r *workflowArchive) ArchiveWorkflow(wf *wfv1.Workflow) error { Insert(&archivedWorkflowRecord{ archivedWorkflowMetadata: archivedWorkflowMetadata{ ClusterName: r.clusterName, - InstanceID: r.instanceID, + InstanceID: r.instanceIDService.InstanceID(), UID: string(wf.UID), Name: wf.Name, Namespace: wf.Namespace, @@ -158,7 +159,7 @@ func (r *workflowArchive) clusterManagedNamespaceAndInstanceID() db.Compound { return db.And( db.Cond{"clustername": r.clusterName}, namespaceEqual(r.managedNamespace), - db.Cond{"instanceid": r.instanceID}, + db.Cond{"instanceid": r.instanceIDService.InstanceID()}, ) } diff --git a/pkg/apiclient/apiclient.go b/pkg/apiclient/apiclient.go index 4f5033bac533..dbbf71f95abb 100644 --- a/pkg/apiclient/apiclient.go +++ b/pkg/apiclient/apiclient.go @@ -2,6 +2,7 @@ package apiclient import ( "context" + "fmt" log "github.com/sirupsen/logrus" "k8s.io/client-go/tools/clientcmd" @@ -12,6 +13,7 @@ import ( workflowpkg "github.com/argoproj/argo/pkg/apiclient/workflow" workflowarchivepkg "github.com/argoproj/argo/pkg/apiclient/workflowarchive" workflowtemplatepkg "github.com/argoproj/argo/pkg/apiclient/workflowtemplate" + "github.com/argoproj/argo/util/instanceid" ) type Client interface { @@ -25,6 +27,7 @@ type Client interface { type Opts struct { ArgoServerOpts ArgoServerOpts + InstanceID string AuthSupplier func() string ClientConfig clientcmd.ClientConfig } @@ -40,9 +43,12 @@ func NewClient(argoServer string, authSupplier func() string, clientConfig clien func NewClientFromOpts(opts Opts) (context.Context, Client, error) { log.WithField("opts", opts).Debug("Client options") + if opts.ArgoServerOpts.URL != "" && opts.InstanceID != "" { + return nil, nil, fmt.Errorf("cannot use instance ID with Argo Server") + } if opts.ArgoServerOpts.URL != "" { return newArgoServerClient(opts.ArgoServerOpts, opts.AuthSupplier()) } else { - return newArgoKubeClient(opts.ClientConfig) + return newArgoKubeClient(opts.ClientConfig, instanceid.NewService(opts.InstanceID)) } } diff --git a/pkg/apiclient/argo-kube-client.go b/pkg/apiclient/argo-kube-client.go index 2bfc3114a0c5..407572a8b391 100644 --- a/pkg/apiclient/argo-kube-client.go +++ b/pkg/apiclient/argo-kube-client.go @@ -21,15 +21,17 @@ import ( workflowserver "github.com/argoproj/argo/server/workflow" workflowtemplateserver "github.com/argoproj/argo/server/workflowtemplate" "github.com/argoproj/argo/util/help" + "github.com/argoproj/argo/util/instanceid" ) var argoKubeOffloadNodeStatusRepo = sqldb.ExplosiveOffloadNodeStatusRepo var NoArgoServerErr = fmt.Errorf("this is impossible if you are not using the Argo Server, see " + help.CLI) type argoKubeClient struct { + instanceIDService instanceid.Service } -func newArgoKubeClient(clientConfig clientcmd.ClientConfig) (context.Context, Client, error) { +func newArgoKubeClient(clientConfig clientcmd.ClientConfig, instanceIDService instanceid.Service) (context.Context, Client, error) { restConfig, err := clientConfig.ClientConfig() if err != nil { return nil, nil, err @@ -47,18 +49,19 @@ func newArgoKubeClient(clientConfig clientcmd.ClientConfig) (context.Context, Cl if err != nil { return nil, nil, err } - return ctx, &argoKubeClient{}, nil + return ctx, &argoKubeClient{instanceIDService}, nil } func (a *argoKubeClient) NewWorkflowServiceClient() workflowpkg.WorkflowServiceClient { - return &argoKubeWorkflowServiceClient{workflowserver.NewWorkflowServer("", argoKubeOffloadNodeStatusRepo)} + return &argoKubeWorkflowServiceClient{workflowserver.NewWorkflowServer(a.instanceIDService, argoKubeOffloadNodeStatusRepo)} } func (a *argoKubeClient) NewCronWorkflowServiceClient() cronworkflow.CronWorkflowServiceClient { - return &argoKubeCronWorkflowServiceClient{cronworkflowserver.NewCronWorkflowServer("")} + return &argoKubeCronWorkflowServiceClient{cronworkflowserver.NewCronWorkflowServer(a.instanceIDService)} } + func (a *argoKubeClient) NewWorkflowTemplateServiceClient() workflowtemplate.WorkflowTemplateServiceClient { - return &argoKubeWorkflowTemplateServiceClient{workflowtemplateserver.NewWorkflowTemplateServer()} + return &argoKubeWorkflowTemplateServiceClient{workflowtemplateserver.NewWorkflowTemplateServer(a.instanceIDService)} } func (a *argoKubeClient) NewArchivedWorkflowServiceClient() (workflowarchivepkg.ArchivedWorkflowServiceClient, error) { @@ -70,5 +73,5 @@ func (a *argoKubeClient) NewInfoServiceClient() (infopkg.InfoServiceClient, erro } func (a *argoKubeClient) NewClusterWorkflowTemplateServiceClient() clusterworkflowtemplate.ClusterWorkflowTemplateServiceClient { - return &argoKubeWorkflowClusterTemplateServiceClient{clusterworkflowtmplserver.NewClusterWorkflowTemplateServer()} + return &argoKubeWorkflowClusterTemplateServiceClient{clusterworkflowtmplserver.NewClusterWorkflowTemplateServer(a.instanceIDService)} } diff --git a/pkg/apiclient/clusterworkflowtemplate/cluster-workflow-template.pb.go b/pkg/apiclient/clusterworkflowtemplate/cluster-workflow-template.pb.go index 758616c13735..ad168e52ea82 100644 --- a/pkg/apiclient/clusterworkflowtemplate/cluster-workflow-template.pb.go +++ b/pkg/apiclient/clusterworkflowtemplate/cluster-workflow-template.pb.go @@ -192,7 +192,8 @@ func (m *ClusterWorkflowTemplateListRequest) GetListOptions() *v1.ListOptions { } type ClusterWorkflowTemplateUpdateRequest struct { - Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` + // DEPRECATED: This field is ignored. + Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` // Deprecated: Do not use. Template *v1alpha1.ClusterWorkflowTemplate `protobuf:"bytes,2,opt,name=template,proto3" json:"template,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` @@ -232,6 +233,7 @@ func (m *ClusterWorkflowTemplateUpdateRequest) XXX_DiscardUnknown() { var xxx_messageInfo_ClusterWorkflowTemplateUpdateRequest proto.InternalMessageInfo +// Deprecated: Do not use. func (m *ClusterWorkflowTemplateUpdateRequest) GetName() string { if m != nil { return m.Name @@ -410,49 +412,50 @@ func init() { } var fileDescriptor_688d96b5f613e598 = []byte{ - // 666 bytes of a gzipped FileDescriptorProto + // 675 bytes of a gzipped FileDescriptorProto 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xdc, 0x56, 0xc1, 0x6f, 0xd3, 0x3e, - 0x14, 0x96, 0xab, 0x9f, 0x7e, 0x02, 0x4f, 0xbb, 0xf8, 0xc2, 0x14, 0xd6, 0x0a, 0xac, 0xa1, 0x42, - 0xa1, 0x0e, 0xe9, 0x76, 0x40, 0x45, 0xec, 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 0xf2, 0x18, 0xa3, 0x1c, + 0x0b, 0x00, 0x00, } // Reference imports to suppress errors if they are not otherwise used. diff --git a/pkg/apiclient/clusterworkflowtemplate/cluster-workflow-template.proto b/pkg/apiclient/clusterworkflowtemplate/cluster-workflow-template.proto index f690fe7e01db..e9e6c00763ff 100644 --- a/pkg/apiclient/clusterworkflowtemplate/cluster-workflow-template.proto +++ b/pkg/apiclient/clusterworkflowtemplate/cluster-workflow-template.proto @@ -27,7 +27,8 @@ message ClusterWorkflowTemplateListRequest { } message ClusterWorkflowTemplateUpdateRequest { - string name = 1; + // DEPRECATED: This field is ignored. + string name = 1 [deprecated=true]; github.com.argoproj.argo.pkg.apis.workflow.v1alpha1.ClusterWorkflowTemplate template = 2; } diff --git a/pkg/apiclient/clusterworkflowtemplate/cluster-workflow-template.swagger.json b/pkg/apiclient/clusterworkflowtemplate/cluster-workflow-template.swagger.json index 1b605d726211..93fd926e06f8 100644 --- a/pkg/apiclient/clusterworkflowtemplate/cluster-workflow-template.swagger.json +++ b/pkg/apiclient/clusterworkflowtemplate/cluster-workflow-template.swagger.json @@ -253,6 +253,7 @@ "parameters": [ { "name": "name", + "description": "DEPRECATED: This field is ignored.", "in": "path", "required": true, "type": "string" @@ -302,7 +303,8 @@ "type": "object", "properties": { "name": { - "type": "string" + "type": "string", + "description": "DEPRECATED: This field is ignored." }, "template": { "$ref": "#/definitions/github.com.argoproj.argo.pkg.apis.workflow.v1alpha1.ClusterWorkflowTemplate" diff --git a/pkg/apiclient/cronworkflow/cron-workflow.pb.go b/pkg/apiclient/cronworkflow/cron-workflow.pb.go index bd7fe3326b01..9f1ad394e09f 100644 --- a/pkg/apiclient/cronworkflow/cron-workflow.pb.go +++ b/pkg/apiclient/cronworkflow/cron-workflow.pb.go @@ -268,7 +268,8 @@ func (m *GetCronWorkflowRequest) GetGetOptions() *v1.GetOptions { } type UpdateCronWorkflowRequest struct { - Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` + // DEPRECATED: This field is ignored. + Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` // Deprecated: Do not use. Namespace string `protobuf:"bytes,2,opt,name=namespace,proto3" json:"namespace,omitempty"` CronWorkflow *v1alpha1.CronWorkflow `protobuf:"bytes,3,opt,name=cronWorkflow,proto3" json:"cronWorkflow,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` @@ -309,6 +310,7 @@ func (m *UpdateCronWorkflowRequest) XXX_DiscardUnknown() { var xxx_messageInfo_UpdateCronWorkflowRequest proto.InternalMessageInfo +// Deprecated: Do not use. func (m *UpdateCronWorkflowRequest) GetName() string { if m != nil { return m.Name @@ -447,50 +449,51 @@ func init() { } var fileDescriptor_257f310938c448f8 = []byte{ - // 683 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xcc, 0x96, 0x4f, 0x6b, 0x13, 0x4f, - 0x18, 0xc7, 0x99, 0xf6, 0xc7, 0x0f, 0x3b, 0xb5, 0xa8, 0x23, 0x68, 0xba, 0xd6, 0x52, 0x86, 0x6a, - 0xff, 0x68, 0x67, 0x4c, 0xd3, 0x83, 0x78, 0xab, 0xa9, 0xf4, 0x12, 0x50, 0xb6, 0x88, 0xd4, 0xdb, - 0x64, 0x33, 0xdd, 0xac, 0xd9, 0xcc, 0xac, 0xbb, 0x93, 0x14, 0x91, 0x5e, 0xbc, 0x7b, 0xf2, 0xa8, - 0x78, 0xf6, 0xe2, 0x1f, 0x44, 0x7c, 0x0d, 0x1e, 0x05, 0xdf, 0x80, 0x04, 0xdf, 0x85, 0x17, 0xd9, - 0x49, 0x36, 0xfb, 0x27, 0x59, 0xba, 0xda, 0x08, 0xde, 0x66, 0xb2, 0xf3, 0x7c, 0x9f, 0xcf, 0x3c, - 0xcf, 0xc3, 0x37, 0x03, 0x89, 0xd7, 0xb2, 0x29, 0xf3, 0x1c, 0xcb, 0x75, 0xb8, 0x50, 0xd4, 0xf2, - 0xa5, 0x38, 0x94, 0x7e, 0xeb, 0xc0, 0x95, 0x87, 0x7a, 0xb3, 0x11, 0xed, 0x88, 0xe7, 0x4b, 0x25, - 0xd1, 0xe9, 0xe4, 0x09, 0x63, 0xc3, 0x76, 0x54, 0xb3, 0x53, 0x27, 0x96, 0x6c, 0x53, 0x5b, 0xda, - 0x92, 0xea, 0x43, 0xf5, 0xce, 0x81, 0xde, 0xe9, 0x8d, 0x5e, 0xf5, 0x83, 0x8d, 0x05, 0x5b, 0x4a, - 0xdb, 0xe5, 0x61, 0x3e, 0xca, 0x84, 0x90, 0x8a, 0x29, 0x47, 0x8a, 0x60, 0xf0, 0x75, 0xab, 0x75, - 0x33, 0x20, 0x8e, 0x0c, 0xbf, 0xb6, 0x99, 0xd5, 0x74, 0x04, 0xf7, 0x9f, 0xd0, 0x01, 0x5e, 0x40, - 0xdb, 0x5c, 0x31, 0xda, 0x2d, 0x53, 0x9b, 0x0b, 0xee, 0x33, 0xc5, 0x1b, 0x83, 0xa8, 0x6a, 0x02, - 0x81, 0xf9, 0x3a, 0xe9, 0x23, 0xbd, 0x88, 0x43, 0x87, 0x17, 0xea, 0x96, 0x99, 0xeb, 0x35, 0xd9, - 0xa8, 0x08, 0x8e, 0x53, 0x53, 0x4b, 0xfa, 0x7c, 0x4c, 0x22, 0xfc, 0x1a, 0xc0, 0x8b, 0x35, 0x47, - 0xa8, 0xaa, 0x2f, 0xc5, 0x83, 0x81, 0xa2, 0xc9, 0x1f, 0x77, 0x78, 0xa0, 0xd0, 0x02, 0x9c, 0x11, - 0xac, 0xcd, 0x03, 0x8f, 0x59, 0xbc, 0x04, 0x96, 0xc0, 0xea, 0x8c, 0x19, 0xff, 0x80, 0x38, 0xd4, - 0x55, 0x8b, 0x82, 0x4a, 0x53, 0x4b, 0x60, 0x75, 0x76, 0x73, 0x9b, 0xc4, 0xe4, 0x24, 0x22, 0xd7, - 0x8b, 0xb0, 0x27, 0x24, 0x24, 0x27, 0xc3, 0xe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 0x7d, 0xc6, 0x3c, 0xea, 0xea, 0xff, 0xeb, 0xd7, 0x4c, 0xe5, 0x57, 0x00, 0x00, - 0x00, 0xff, 0xff, 0x4d, 0x5f, 0x24, 0x0b, 0xf9, 0x09, 0x00, 0x00, + // 692 bytes of a gzipped FileDescriptorProto + 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xcc, 0x96, 0xcb, 0x6e, 0x13, 0x3d, + 0x14, 0xc7, 0xe5, 0xf4, 0xd3, 0x27, 0xea, 0x52, 0x01, 0x46, 0x2a, 0xe9, 0x50, 0xaa, 0xca, 0x2a, + 0xf4, 0x02, 0xb5, 0x49, 0xdb, 0x05, 0x62, 0xd7, 0x0b, 0xea, 0xa6, 0x12, 0x68, 0x2a, 0x84, 0xca, + 0xce, 0x9d, 0xb8, 0x93, 0x21, 0x13, 0x7b, 0x98, 0x71, 0x52, 0x21, 0xd4, 0x0d, 0x7b, 0x56, 0x2c, + 0x41, 0xac, 0xd9, 0x70, 0x11, 0x0b, 0xc4, 0x23, 0xb0, 0x44, 0xe2, 0x05, 0x50, 0xc4, 0x5b, 0xb0, + 0x41, 0xe3, 0x64, 0x32, 0x97, 0xcc, 0xa8, 0x03, 0x0d, 0x12, 0x3b, 0x3b, 0xe3, 0x73, 0xce, 0xcf, + 0xff, 0x73, 0xf4, 0x8f, 0x21, 0xf1, 0x9a, 0x36, 0x65, 0x9e, 0x63, 0xb9, 0x0e, 0x17, 0x8a, 0x5a, + 0xbe, 0x14, 0x47, 0xd2, 0x6f, 0x1e, 0xba, 0xf2, 0x48, 0x6f, 0x56, 0xa2, 0x1d, 0xf1, 0x7c, 0xa9, + 0x24, 0x3a, 0x9b, 0x3c, 0x61, 0xac, 0xd8, 0x8e, 0x6a, 0xb4, 0x0f, 0x88, 0x25, 0x5b, 0xd4, 0x96, + 0xb6, 0xa4, 0xfa, 0xd0, 0x41, 0xfb, 0x50, 0xef, 0xf4, 0x46, 0xaf, 0x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, 0xa0, 0x4f, 0x07, 0xda, 0x1d, 0x53, + 0xd7, 0x11, 0xea, 0x36, 0x58, 0x46, 0xef, 0x01, 0x44, 0xc3, 0xe6, 0x83, 0x16, 0xd2, 0xd0, 0x85, + 0xf6, 0x34, 0x0a, 0xec, 0x15, 0x8d, 0xbd, 0x80, 0xf1, 0xc9, 0xd8, 0x21, 0xf1, 0x3b, 0x00, 0x2f, + 0x0c, 0x19, 0x06, 0xba, 0x96, 0x55, 0x39, 0xdf, 0x51, 0x8c, 0x3b, 0xa7, 0xe6, 0x0d, 0x53, 0xe3, + 0x65, 0xcd, 0x3c, 0x8f, 0x4a, 0x30, 0xa3, 0xb7, 0x00, 0x9e, 0xcb, 0x38, 0x0a, 0x9a, 0x4f, 0xe3, + 0xe6, 0x1b, 0xce, 0x28, 0xc4, 0xad, 0x69, 0xd0, 0xeb, 0x68, 0xa9, 0xc4, 0x4c, 0xe8, 0xf5, 0x31, + 0xfa, 0x04, 0x20, 0x1a, 0xb6, 0x98, 0xec, 0x48, 0x14, 0x9a, 0xd0, 0x28, 0xa8, 0xd7, 0x35, 0x35, + 0x31, 0xca, 0x53, 0x87, 0x93, 0xf1, 0x12, 0x40, 0x34, 0x6c, 0x30, 0x59, 0xf0, 0x42, 0x0b, 0x32, + 0x96, 0xb2, 0x43, 0x5f, 0xe8, 0x00, 0x91, 0xac, 0xcb, 0xe5, 0x01, 0x37, 0x37, 0xbe, 0x74, 0x67, + 0xc1, 0xd7, 0xee, 0x2c, 0xf8, 0xde, 0x9d, 0x05, 0x0f, 0xd7, 0x4e, 0x7a, 0xfe, 0xe4, 0x3c, 0xec, + 0x0e, 0xfe, 0xd7, 0x2f, 0x9a, 0xb5, 0x5f, 0x01, 0x00, 0x00, 0xff, 0xff, 0xbe, 0x20, 0x02, 0xb7, + 0xfd, 0x09, 0x00, 0x00, } // Reference imports to suppress errors if they are not otherwise used. diff --git a/pkg/apiclient/cronworkflow/cron-workflow.proto b/pkg/apiclient/cronworkflow/cron-workflow.proto index fdec7f4d66bc..5f86f50742da 100644 --- a/pkg/apiclient/cronworkflow/cron-workflow.proto +++ b/pkg/apiclient/cronworkflow/cron-workflow.proto @@ -28,7 +28,8 @@ message GetCronWorkflowRequest { k8s.io.apimachinery.pkg.apis.meta.v1.GetOptions getOptions = 3; } message UpdateCronWorkflowRequest { - string name = 1; + // DEPRECATED: This field is ignored. + string name = 1 [deprecated=true]; string namespace = 2; github.com.argoproj.argo.pkg.apis.workflow.v1alpha1.CronWorkflow cronWorkflow = 3; } diff --git a/pkg/apiclient/cronworkflow/cron-workflow.swagger.json b/pkg/apiclient/cronworkflow/cron-workflow.swagger.json index 2c4cb5e786e4..cf9114157116 100644 --- a/pkg/apiclient/cronworkflow/cron-workflow.swagger.json +++ b/pkg/apiclient/cronworkflow/cron-workflow.swagger.json @@ -288,6 +288,7 @@ }, { "name": "name", + "description": "DEPRECATED: This field is ignored.", "in": "path", "required": true, "type": "string" @@ -340,7 +341,8 @@ "type": "object", "properties": { "name": { - "type": "string" + "type": "string", + "description": "DEPRECATED: This field is ignored." }, "namespace": { "type": "string" diff --git a/pkg/apiclient/workflow/workflow.pb.go b/pkg/apiclient/workflow/workflow.pb.go index e23a90159160..48bfe808bae1 100644 --- a/pkg/apiclient/workflow/workflow.pb.go +++ b/pkg/apiclient/workflow/workflow.pb.go @@ -36,14 +36,15 @@ var _ = math.Inf const _ = proto.GoGoProtoPackageIsVersion3 // please upgrade the proto package type WorkflowCreateRequest struct { - Namespace string `protobuf:"bytes,1,opt,name=namespace,proto3" json:"namespace,omitempty"` - Workflow *v1alpha1.Workflow `protobuf:"bytes,2,opt,name=workflow,proto3" json:"workflow,omitempty"` - InstanceID string `protobuf:"bytes,3,opt,name=instanceID,proto3" json:"instanceID,omitempty"` - ServerDryRun bool `protobuf:"varint,4,opt,name=serverDryRun,proto3" json:"serverDryRun,omitempty"` - CreateOptions *v1.CreateOptions `protobuf:"bytes,5,opt,name=createOptions,proto3" json:"createOptions,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` + Namespace string `protobuf:"bytes,1,opt,name=namespace,proto3" json:"namespace,omitempty"` + Workflow *v1alpha1.Workflow `protobuf:"bytes,2,opt,name=workflow,proto3" json:"workflow,omitempty"` + // This field is no longer used. + InstanceID string `protobuf:"bytes,3,opt,name=instanceID,proto3" json:"instanceID,omitempty"` // Deprecated: Do not use. + ServerDryRun bool `protobuf:"varint,4,opt,name=serverDryRun,proto3" json:"serverDryRun,omitempty"` + CreateOptions *v1.CreateOptions `protobuf:"bytes,5,opt,name=createOptions,proto3" json:"createOptions,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` } func (m *WorkflowCreateRequest) Reset() { *m = WorkflowCreateRequest{} } @@ -93,6 +94,7 @@ func (m *WorkflowCreateRequest) GetWorkflow() *v1alpha1.Workflow { return nil } +// Deprecated: Do not use. func (m *WorkflowCreateRequest) GetInstanceID() string { if m != nil { return m.InstanceID @@ -1119,86 +1121,87 @@ func init() { } var fileDescriptor_1f6bb75f9e833cb6 = []byte{ - // 1258 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xc4, 0x98, 0xcf, 0x6f, 0xdc, 0x44, - 0x14, 0xc7, 0x35, 0x49, 0x69, 0xd3, 0x69, 0x92, 0xd2, 0x01, 0xca, 0xca, 0x6a, 0xd3, 0x74, 0xa0, - 0x90, 0xfe, 0x88, 0x9d, 0x4d, 0x03, 0x94, 0x4a, 0x05, 0x95, 0xa4, 0x44, 0xc0, 0x0a, 0x2a, 0x2f, - 0x08, 0x95, 0x9b, 0xe3, 0x7d, 0x71, 0xdc, 0x78, 0x3d, 0xc6, 0x33, 0xbb, 0xd1, 0x52, 0x05, 0x04, - 0x47, 0x0e, 0x70, 0xe0, 0x82, 0xe0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d, 0xf0, 0x91, 0x44, 0x37, 0xf3, 0x51, 0x5f, 0xb7, 0x5c, 0xd2, - 0x1b, 0x24, 0x5f, 0xcd, 0xc4, 0x17, 0xbd, 0xaa, 0x7c, 0xad, 0x90, 0xe5, 0x4a, 0x01, 0xb9, 0x93, - 0xea, 0xaf, 0x5d, 0x2b, 0x60, 0xde, 0x12, 0x22, 0xdf, 0x23, 0x3c, 0xdb, 0x2e, 0x77, 0x9e, 0x33, - 0xa3, 0xae, 0xc7, 0x43, 0xec, 0x3b, 0x96, 0x02, 0x3e, 0x4f, 0x1f, 0xd0, 0xc4, 0x75, 0xbb, 0x79, - 0xed, 0xda, 0x9f, 0x7b, 0x73, 0xe8, 0xaf, 0xbd, 0x39, 0xf4, 0xcf, 0xde, 0x1c, 0xfa, 0xc0, 0x7a, - 0xd0, 0x3f, 0xa9, 0x7d, 0x3f, 0xd8, 0x36, 0x0e, 0xab, 0x5f, 0x4c, 0x97, 0xff, 0x0d, 0x00, 0x00, - 0xff, 0xff, 0x31, 0xe7, 0x50, 0xdd, 0x81, 0x13, 0x00, 0x00, + // 1265 bytes of a gzipped FileDescriptorProto + 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xc4, 0x98, 0x5d, 0x6f, 0xdc, 0x44, + 0x17, 0xc7, 0x35, 0x9b, 0x3e, 0x6d, 0x3a, 0x4d, 0xd2, 0xa7, 0x03, 0x94, 0x95, 0xd5, 0xa6, 0xe9, + 0x40, 0x21, 0x7d, 0x89, 0x9d, 0x4d, 0x0b, 0x94, 0x4a, 0x05, 0xb5, 0x4d, 0x89, 0x80, 0x15, 0x54, + 0x5e, 0x10, 0x2a, 0x77, 0x8e, 0xf7, 0xc4, 0x71, 0xe3, 0xf5, 0x18, 0xcf, 0xec, 0x46, 0x4b, 0x15, + 0x10, 0x5c, 0x72, 0x01, 0x17, 0xdc, 0x20, 0xb8, 0xe1, 0x55, 0x42, 0x42, 0x42, 0x45, 0x7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 0x33, 0x1f, 0xf7, 0x75, 0xcb, 0x25, 0xbd, 0x41, 0xf2, 0xd5, 0x4c, 0x7c, 0xd1, 0x2b, 0xca, 0xd7, + 0x25, 0xb2, 0x52, 0x29, 0x20, 0x77, 0x53, 0xfd, 0xb5, 0x63, 0x05, 0xcc, 0x5b, 0x46, 0xe4, 0x3b, + 0x84, 0xe7, 0x3a, 0xe5, 0xce, 0x73, 0x6a, 0xdc, 0xf5, 0x78, 0x84, 0x7d, 0xc7, 0x52, 0xc0, 0x67, + 0xe9, 0x43, 0x9a, 0xb8, 0x6e, 0x37, 0xd7, 0xaf, 0xfe, 0xb1, 0x3b, 0x8f, 0xfe, 0xdc, 0x9d, 0x47, + 0x7f, 0xef, 0xce, 0xa3, 0xf7, 0xad, 0x87, 0xfd, 0x97, 0xda, 0xf3, 0x93, 0x6d, 0xfd, 0xa0, 0xfa, + 0xcd, 0x74, 0xf1, 0x9f, 0x00, 0x00, 0x00, 0xff, 0xff, 0xb4, 0xa5, 0x06, 0x11, 0x85, 0x13, 0x00, + 0x00, } // Reference imports to suppress errors if they are not otherwise used. diff --git a/pkg/apiclient/workflow/workflow.proto b/pkg/apiclient/workflow/workflow.proto index 36a173d8efc5..2c9ec37d387e 100644 --- a/pkg/apiclient/workflow/workflow.proto +++ b/pkg/apiclient/workflow/workflow.proto @@ -15,7 +15,8 @@ package workflow; message WorkflowCreateRequest { string namespace = 1; github.com.argoproj.argo.pkg.apis.workflow.v1alpha1.Workflow workflow = 2; - string instanceID = 3; + // This field is no longer used. + string instanceID = 3 [deprecated=true]; bool serverDryRun = 4; k8s.io.apimachinery.pkg.apis.meta.v1.CreateOptions createOptions = 5; } diff --git a/pkg/apiclient/workflow/workflow.swagger.json b/pkg/apiclient/workflow/workflow.swagger.json index 6e8aa17e212e..8c1bd13b9ebe 100644 --- a/pkg/apiclient/workflow/workflow.swagger.json +++ b/pkg/apiclient/workflow/workflow.swagger.json @@ -1774,10 +1774,6 @@ "type": "string", "title": "GenerateName overrides metadata.generateName" }, - "instanceID": { - "type": "string", - "title": "InstanceID binds the Resource to the specified instance ID" - }, "entrypoint": { "type": "string", "title": "Entrypoint overrides spec.entrypoint" @@ -5001,7 +4997,8 @@ "$ref": "#/definitions/github.com.argoproj.argo.pkg.apis.workflow.v1alpha1.Workflow" }, "instanceID": { - "type": "string" + "type": "string", + "description": "This field is no longer used." }, "serverDryRun": { "type": "boolean", diff --git a/pkg/apiclient/workflowtemplate/workflow-template.pb.go b/pkg/apiclient/workflowtemplate/workflow-template.pb.go index a2a60babfc7b..d800c75fcbed 100644 --- a/pkg/apiclient/workflowtemplate/workflow-template.pb.go +++ b/pkg/apiclient/workflowtemplate/workflow-template.pb.go @@ -216,7 +216,8 @@ func (m *WorkflowTemplateListRequest) GetListOptions() *v1.ListOptions { } type WorkflowTemplateUpdateRequest struct { - Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` + // DEPRECATED: This field is ignored. + Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` // Deprecated: Do not use. Namespace string `protobuf:"bytes,2,opt,name=namespace,proto3" json:"namespace,omitempty"` Template *v1alpha1.WorkflowTemplate `protobuf:"bytes,3,opt,name=template,proto3" json:"template,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` @@ -257,6 +258,7 @@ func (m *WorkflowTemplateUpdateRequest) XXX_DiscardUnknown() { var xxx_messageInfo_WorkflowTemplateUpdateRequest proto.InternalMessageInfo +// Deprecated: Do not use. func (m *WorkflowTemplateUpdateRequest) GetName() string { if m != nil { return m.Name @@ -458,51 +460,51 @@ func init() { } var fileDescriptor_215375a0ab97a62a = []byte{ - // 689 bytes of a gzipped FileDescriptorProto + // 698 bytes of a gzipped FileDescriptorProto 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xe4, 0x96, 0xcf, 0x6e, 0xd3, 0x4e, - 0x10, 0xc7, 0xb5, 0xed, 0x4f, 0x3f, 0xd1, 0xad, 0x2a, 0xa1, 0x05, 0x4a, 0x65, 0x4a, 0x54, 0xf9, - 0x80, 0xaa, 0x96, 0xec, 0xc6, 0x29, 0x94, 0xaa, 0x47, 0xd2, 0x2a, 0x42, 0xaa, 0x04, 0x72, 0x41, - 0xa8, 0xdc, 0x36, 0xce, 0xd6, 0x31, 0x71, 0xbc, 0xc6, 0xde, 0xa4, 0x42, 0xa8, 0x17, 0x9e, 0x00, - 0x89, 0x17, 0xe0, 0x01, 0x38, 0x20, 0xc4, 0x0b, 0x20, 0x38, 0x20, 0x4e, 0x48, 0xbc, 0x00, 0x8a, - 0x78, 0x09, 0xc4, 0x05, 0x79, 0x6d, 0xc7, 0x7f, 0x92, 0x12, 0x27, 0x84, 0x13, 0xb7, 0xf5, 0x7a, - 0x67, 0xe6, 0xf3, 0x9d, 0x19, 0x8f, 0x17, 0x6e, 0xbb, 0x6d, 0x93, 0x50, 0xd7, 0x32, 0x6c, 0x8b, - 0x39, 0x82, 0x9c, 0x70, 0xaf, 0x7d, 0x6c, 0xf3, 0x13, 0xc1, 0x3a, 0xae, 0x4d, 0x05, 0x1b, 0x6c, - 0x94, 0xe3, 0x1d, 0xec, 0x7a, 0x5c, 0x70, 0x74, 0x3e, 0x7f, 0x52, 0x29, 0x9b, 0x96, 0x68, 0x75, - 0x1b, 0xd8, 0xe0, 0x1d, 0x62, 0x72, 0x93, 0x13, 0x79, 0xb0, 0xd1, 0x3d, 0x96, 0x4f, 0xf2, 0x41, - 0xae, 0x42, 0x07, 0xca, 0xaa, 0xc9, 0xb9, 0x69, 0xb3, 0x20, 0x36, 0xa1, 0x8e, 0xc3, 0x05, 0x15, - 0x16, 0x77, 0xfc, 0xe8, 0xed, 0x8d, 0xf6, 0x8e, 0x8f, 0x2d, 0x1e, 0xbc, 0xed, 0x50, 0xa3, 0x65, - 0x39, 0xcc, 0x7b, 0x4a, 0x22, 0x54, 0x9f, 0x74, 0x98, 0xa0, 0xa4, 0xa7, 0x11, 0x93, 0x39,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5, 0x09, 0xbb, 0xe8, 0x13, 0x80, 0x97, 0x83, 0xb9, 0x36, 0x84, 0x5c, 0xa8, 0x89, + 0x9c, 0x59, 0x7f, 0x0b, 0x5b, 0x52, 0xc5, 0xba, 0xba, 0x56, 0x50, 0x85, 0x6d, 0x39, 0x62, 0x07, + 0xac, 0xee, 0x1e, 0x7c, 0xee, 0x57, 0xc1, 0xd7, 0x7e, 0x15, 0x7c, 0xef, 0x57, 0xc1, 0xe3, 0x3b, + 0xe3, 0x6e, 0x70, 0xe7, 0xdc, 0x53, 0x1b, 0xff, 0xcb, 0xcb, 0xdb, 0xe6, 0xef, 0x00, 0x00, 0x00, + 0xff, 0xff, 0xa4, 0x4a, 0xb9, 0xa1, 0xd0, 0x0a, 0x00, 0x00, } // Reference imports to suppress errors if they are not otherwise used. diff --git a/pkg/apiclient/workflowtemplate/workflow-template.proto b/pkg/apiclient/workflowtemplate/workflow-template.proto index 8bb1e0d778d0..ef964c733a8c 100644 --- a/pkg/apiclient/workflowtemplate/workflow-template.proto +++ b/pkg/apiclient/workflowtemplate/workflow-template.proto @@ -30,7 +30,8 @@ message WorkflowTemplateListRequest { } message WorkflowTemplateUpdateRequest { - string name = 1; + // DEPRECATED: This field is ignored. + string name = 1 [deprecated=true]; string namespace = 2; github.com.argoproj.argo.pkg.apis.workflow.v1alpha1.WorkflowTemplate template = 3; } diff --git a/pkg/apiclient/workflowtemplate/workflow-template.swagger.json b/pkg/apiclient/workflowtemplate/workflow-template.swagger.json index 436638dcc6dc..59103320378b 100644 --- a/pkg/apiclient/workflowtemplate/workflow-template.swagger.json +++ b/pkg/apiclient/workflowtemplate/workflow-template.swagger.json @@ -289,6 +289,7 @@ }, { "name": "name", + "description": "DEPRECATED: This field is ignored.", "in": "path", "required": true, "type": "string" @@ -4246,7 +4247,8 @@ "type": "object", "properties": { "name": { - "type": "string" + "type": "string", + "description": "DEPRECATED: This field is ignored." }, "namespace": { "type": "string" diff --git a/pkg/apis/workflow/v1alpha1/common.go b/pkg/apis/workflow/v1alpha1/common.go index e0188b5a4525..c36254c6c39a 100644 --- a/pkg/apis/workflow/v1alpha1/common.go +++ b/pkg/apis/workflow/v1alpha1/common.go @@ -34,8 +34,6 @@ type SubmitOpts struct { Name string `json:"name,omitempty" protobuf:"bytes,1,opt,name=name"` // GenerateName overrides metadata.generateName GenerateName string `json:"generateName,omitempty" protobuf:"bytes,2,opt,name=generateName"` - // InstanceID binds the Resource to the specified instance ID - InstanceID string `json:"instanceID,omitempty" protobuf:"bytes,3,opt,name=instanceID"` // Entrypoint overrides spec.entrypoint Entrypoint string `json:"entryPoint,omitempty" protobuf:"bytes,4,opt,name=entrypoint"` // Parameters passes input parameters to workflow diff --git a/pkg/apis/workflow/v1alpha1/generated.pb.go b/pkg/apis/workflow/v1alpha1/generated.pb.go index 08476ba5ffb8..2d4e1b4f7066 100644 --- a/pkg/apis/workflow/v1alpha1/generated.pb.go +++ b/pkg/apis/workflow/v1alpha1/generated.pb.go @@ -2054,408 +2054,407 @@ func init() { } var fileDescriptor_c23edafa7e7ea072 = []byte{ - // 6411 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xec, 0x3c, 0x5b, 0x6c, 0x5b, 0xc9, - 0x75, 0x4b, 0x49, 0xa4, 0xc8, 0x43, 0x49, 0x96, 0xc7, 0xb2, 0xcd, 0xd5, 0x7a, 0x45, 0xe7, 0x6e, - 0x77, 0xeb, 0x6d, 0x37, 0x52, 0xd6, 0x9b, 0x6d, 0x37, 0x8f, 0x7d, 0x88, 0xa4, 0x25, 0x6b, 0x2d, - 0x4b, 0xca, 0xa1, 0x6c, 0x37, 0xd9, 0x45, 0xd2, 0x2b, 0xde, 0x21, 0x79, 0x57, 0xe4, 0xbd, 0xdc, - 0x3b, 0x97, 0xd6, 0x2a, 0xdb, 0xa2, 0xdb, 0xa0, 0x41, 0xfa, 0x40, 0x80, 0x16, 0x05, 0x82, 0x00,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d, 0xb3, 0xe1, 0xb3, 0xd2, 0x84, 0x10, 0xf9, - 0xea, 0x48, 0x22, 0x57, 0x15, 0x97, 0xca, 0x59, 0x25, 0xb1, 0x10, 0x40, 0x18, 0x86, 0x22, 0x8c, - 0x1f, 0x4f, 0x42, 0x3e, 0x40, 0x90, 0xcb, 0x30, 0xe5, 0x98, 0x5d, 0x2a, 0x46, 0xaf, 0x50, 0x99, - 0x51, 0x05, 0xa7, 0xb6, 0xcc, 0x2e, 0xef, 0x20, 0xb3, 0x4b, 0x39, 0x45, 0xcf, 0xf4, 0xdb, 0x62, - 0x04, 0x22, 0x14, 0x3b, 0xa6, 0xdf, 0x46, 0x81, 0x21, 0x97, 0x60, 0xaa, 0xeb, 0x5a, 0xb4, 0x34, - 0x79, 0x39, 0x73, 0x25, 0x2b, 0x3b, 0xf8, 0xa6, 0x6b, 0x51, 0x14, 0x50, 0x5e, 0xbe, 0xe9, 0xb9, - 0xdd, 0xd2, 0x54, 0xbc, 0xfc, 0x9a, 0xe7, 0x76, 0x51, 0x60, 0xc8, 0x1f, 0x64, 0x60, 0x3e, 0xa8, - 0xde, 0xa6, 0xdb, 0x30, 0x7d, 0xdb, 0x75, 0x4a, 0x59, 0x31, 0xe0, 0xd7, 0xc6, 0xea, 0x88, 0x80, - 0x59, 0xa5, 0xa4, 0xa4, 0xce, 0x27, 0x31, 0x38, 0x20, 0x98, 0x5c, 0x05, 0x68, 0x75, 0xdc, 0x3d, - 0xb3, 0xc3, 0xfb, 0xa0, 0x94, 0x13, 0xb5, 0xd6, 0x43, 0xb8, 0xae, 0x31, 0x18, 0xa1, 0x22, 0xfb, - 0x30, 0x6d, 0xca, 0x59, 0x51, 0x9a, 0x16, 0xf5, 0xae, 0x8d, 0x58, 0xef, 0xd8, 0xcc, 0xaa, 0x14, - 0x8f, 0x8f, 0xca, 0xd3, 0x0a, 0x88, 0x81, 0x04, 0xf2, 0x02, 0xe4, 0xdd, 0x1e, 0xaf, 0xaa, 0xd9, - 0x29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x04, 0x77, 0x15, - 0x1c, 0x35, 0x05, 0x79, 0x27, 0x54, 0x3e, 0x3e, 0x29, 0x94, 0x93, 0xf8, 0xf0, 0xd6, 0x6a, 0x81, - 0xef, 0x28, 0xef, 0x44, 0x38, 0xf1, 0x89, 0x85, 0x31, 0xde, 0xc6, 0xdf, 0x65, 0x80, 0x0c, 0x1a, - 0x02, 0x72, 0x03, 0x72, 0x66, 0xc3, 0xe7, 0xfb, 0x45, 0x19, 0x63, 0x78, 0x26, 0xcd, 0x31, 0x91, - 0xa2, 0x90, 0x36, 0x29, 0xd7, 0x10, 0x1a, 0x5a, 0x8f, 0x55, 0x51, 0x14, 0x15, 0x0b, 0xe2, 0xc2, - 0xd9, 0x8e, 0xc9, 0xfc, 0x40, 0x57, 0x2d, 0xde, 0x64, 0x65, 0x24, 0x7f, 0xe9, 0x64, 0x8d, 0xe2, - 0x25, 0x2a, 0xe7, 0xb9, 0xe6, 0x6e, 0x26, 0x19, 0xe1, 0x20, 0x6f, 0xe3, 0xdb, 0x39, 0x98, 0xae, - 0xad, 0xae, 0xef, 0x9a, 0x6c, 0xff, 0x04, 0x01, 0x04, 0x3e, 0x38, 0x6a, 0x59, 0x4b, 0x4e, 0xaf, - 0x60, 0xb9, 0x43, 0x4d, 0x41, 0x5c, 0x28, 0x98, 0x41, 0x38, 0x46, 0x99, 0xdf, 0xd7, 0x46, 0x74, - 0x5a, 0x15, 0x97, 0x68, 0x38, 0x44, 0x81, 0x30, 0x94, 0x41, 0x18, 0x14, 0x03, 0xe1, 0x48, 0x9b, - 0x6a, 0xa7, 0x38, 0x62, 0x18, 0x2b, 0xe4, 0x23, 0x77, 0x6e, 0x11, 0x00, 0x46, 0xa5, 0x90, 0x8f, - 0xc3, 0x8c, 0x45, 0xf9, 0x2c, 0xa6, 0x4e, 0xc3, 0xa6, 0x7c, 0xc2, 0x4e, 0xf2, 0x7e, 0xe1, 0x86, - 0xab, 0x16, 0x81, 0x63, 0x8c, 0x8a, 0xbc, 0x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a, 0xb0, 0x29, 0x78, 0x25, - 0x46, 0x5f, 0x02, 0x51, 0x09, 0x5a, 0x7c, 0x0d, 0xe6, 0x93, 0x15, 0x7d, 0x98, 0xf1, 0xe3, 0x43, - 0x1f, 0x11, 0xf3, 0x30, 0x45, 0x8d, 0xcf, 0x40, 0xf1, 0x26, 0xf5, 0x3d, 0xbb, 0x21, 0x18, 0x04, - 0x3b, 0xd1, 0x4c, 0xfa, 0x4e, 0x34, 0x5c, 0x45, 0x27, 0xee, 0x73, 0x64, 0xf3, 0x45, 0x98, 0x96, - 0x2c, 0x19, 0x71, 0x01, 0x7a, 0x9e, 0xdb, 0xa5, 0x7e, 0x9b, 0xf6, 0x83, 0x11, 0x1d, 0xcd, 0xd1, - 0xde, 0xd1, 0x6c, 0x64, 0x54, 0x24, 0xfc, 0xc6, 0x88, 0x08, 0xe3, 0x5f, 0x67, 0x00, 0xb6, 0x5c, - 0x8b, 0xaa, 0xf8, 0xe7, 0x22, 0x4c, 0xd8, 0x96, 0x6a, 0x0d, 0xa8, 0xca, 0x4e, 0x6c, 0xd4, 0x70, - 0xc2, 0xb6, 0xb4, 0x8a, 0x4f, 0x0c, 0x55, 0xf1, 0x97, 0xa1, 0x68, 0xd9, 0xac, 0xd7, 0x31, 0x0f, - 0xb7, 0x52, 0x3c, 0xb4, 0x5a, 0x88, 0xc2, 0x28, 0x1d, 0x79, 0x41, 0x19, 0x3f, 0x69, 0x65, 0x4a, - 0x09, 0xe3, 0x97, 0xe7, 0xd5, 0x8b, 0x18, 0xc0, 0x57, 0x60, 0x26, 0x88, 0xd8, 0x09, 0x29, 0x59, - 0x51, 0x2a, 0x30, 0x99, 0x33, 0xbb, 0x11, 0x1c, 0xc6, 0x28, 0x93, 0x11, 0xc5, 0xdc, 0x63, 0x89, - 0x28, 0xd6, 0x60, 0x9e, 0xf9, 0xae, 0x47, 0xad, 0x80, 0x62, 0xa3, 0x56, 0x22, 0xb1, 0x86, 0xce, - 0xd7, 0x13, 0x78, 0x1c, 0x28, 0x41, 0x76, 0x60, 0xe1, 0x20, 0x71, 0x14, 0x29, 0x1a, 0x7f, 0x4e, - 0x70, 0xba, 0xa4, 0x38, 0x2d, 0xdc, 0x49, 0xa1, 0xc1, 0xd4, 0x92, 0xe4, 0x53, 0x30, 0x1b, 0x54, - 0x53, 0x58, 0xa0, 0xd2, 0x82, 0x60, 0xa5, 0xf7, 0x30, 0xbb, 0x51, 0x24, 0xc6, 0x69, 0xc9, 0xc7, - 0x20, 0xdb, 0x6b, 0x9b, 0x8c, 0xaa, 0x00, 0x64, 0x10, 0x3f, 0xca, 0xee, 0x70, 0xe0, 0xbd, 0xa3, - 0x72, 0x81, 0x8f, 0x99, 0xf8, 0x40, 0x49, 0x48, 0xae, 0x02, 0xec, 0xb9, 0x7d, 0xc7, 0x32, 0xbd, - 0xc3, 0x8d, 0x9a, 0x3a, 0x0b, 0xd0, 0x7e, 0x5b, 0x45, 0x63, 0x30, 0x42, 0xc5, 0x97, 0xaa, 0xae, - 0x34, 0xda, 0x2a, 0x8e, 0xa8, 0x97, 0x2a, 0x6d, 0xcb, 0x15, 0x9e, 0xbc, 0x05, 0x05, 0x71, 0x6e, - 0x42, 0xad, 0x55, 0x5f, 0x05, 0x13, 0x1f, 0x26, 0xc4, 0xae, 0xfd, 0xb9, 0x7a, 0xc0, 0x04, 0x43, - 0x7e, 0xe4, 0xf3, 0x00, 0x4d, 0xdb, 0xb1, 0x59, 0x5b, 0x70, 0x2f, 0x3e, 0x34, 0x77, 0xdd, 0xce, - 0x35, 0xcd, 0x05, 0x23, 0x1c, 0xc9, 0x8f, 0x33, 0x70, 0xd6, 0xa3, 0xcc, 0xed, 0x7b, 0x0d, 0xca, - 0x74, 0x5e, 0xc1, 0x79, 0x31, 0xf9, 0x6f, 0x8f, 0x98, 0x59, 0x19, 0xcc, 0xe8, 0x65, 0x4c, 0x32, - 0x96, 0x96, 0x95, 0x06, 0x47, 0x62, 0x03, 0xf8, 0x7b, 0x69, 0xc0, 0x2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x20, 0x72, 0x24, 0x4f, 0x8c, 0xb8, 0x50, 0x70, 0xeb, 0xa7, 0x11, 0x44, 0xde, 0xae, 0x0f, - 0x04, 0x91, 0x35, 0x08, 0x43, 0x19, 0x0f, 0x0a, 0x22, 0xff, 0xc5, 0x04, 0x84, 0xe5, 0xc8, 0x0b, - 0x90, 0xa7, 0x8e, 0xd5, 0x73, 0x6d, 0xc7, 0x4f, 0xa6, 0x12, 0x5d, 0x53, 0x70, 0xd4, 0x14, 0x91, - 0x90, 0xf3, 0xc4, 0x7d, 0x43, 0xce, 0x6d, 0x38, 0x63, 0x8a, 0x03, 0xd9, 0x30, 0x56, 0x38, 0xf9, - 0x50, 0xb1, 0x42, 0x9d, 0xf0, 0x15, 0xe7, 0x82, 0x49, 0xb6, 0x5c, 0x12, 0x0b, 0x8b, 0x0b, 0x49, - 0x53, 0x23, 0x49, 0xaa, 0xc7, 0xb9, 0x60, 0x92, 0xad, 0xf1, 0x57, 0x13, 0x10, 0xe8, 0xf7, 0xcf, - 0xc2, 0x6e, 0x9f, 0x18, 0x90, 0xf3, 0x28, 0xeb, 0x77, 0x7c, 0xe5, 0xef, 0x08, 0x1b, 0x82, 0x02, - 0x82, 0x0a, 0xc3, 0xa7, 0x37, 0x7d, 0xcf, 0xf6, 0xab, 0xae, 0x15, 0x78, 0x39, 0x62, 0x7a, 0x5f, - 0x53, 0x30, 0xd4, 0x58, 0xe3, 0x00, 0x66, 0x79, 0xbb, 0x3a, 0x1d, 0xda, 0xa9, 0xfb, 0xb4, 0xc7, - 0x48, 0x13, 0xb2, 0x8c, 0xff, 0x51, 0xbd, 0x37, 0x66, 0x2a, 0x86, 0x4f, 0x7b, 0x91, 0x9d, 0x07, - 0xe7, 0x8b, 0x92, 0xbd, 0xf1, 0xb5, 0x09, 0x28, 0xe8, 0x1e, 0x3d, 0xc1, 0x76, 0xe6, 0x59, 0x98, - 0xb6, 0x68, 0xd3, 0xe4, 0xed, 0x56, 0x33, 0x88, 0x1b, 0xb6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d, 0x1d, 0x64, 0xcc, 0x8e, 0x1f, 0x64, - 0xd4, 0xb3, 0x34, 0x11, 0x68, 0x6c, 0x85, 0x81, 0xc6, 0xdc, 0x29, 0x04, 0x1a, 0xf5, 0xc2, 0x3b, - 0x10, 0x6c, 0xfc, 0xbd, 0x0c, 0xcc, 0x38, 0xae, 0x45, 0x83, 0xe5, 0x5d, 0x78, 0xb6, 0xc5, 0xab, - 0xdb, 0x63, 0x75, 0xa2, 0x8c, 0x39, 0x2b, 0x8e, 0x32, 0xc6, 0xac, 0x4d, 0x58, 0x14, 0x85, 0x31, - 0xd1, 0x64, 0x0d, 0xf2, 0x66, 0xb3, 0x69, 0x3b, 0xb6, 0x7f, 0xa8, 0x32, 0x93, 0x2f, 0xa5, 0xad, - 0xdc, 0xab, 0x8a, 0x46, 0xfa, 0x52, 0xc1, 0x17, 0xea, 0xb2, 0xdc, 0x19, 0xd5, 0x97, 0x72, 0x0a, - 0x63, 0x38, 0xa3, 0xc1, 0x31, 0x64, 0x64, 0x9f, 0x13, 0x5c, 0x20, 0x08, 0xef, 0xe8, 0x18, 0x90, - 0x93, 0xf1, 0x67, 0x61, 0x77, 0xf3, 0x72, 0x5f, 0x2d, 0x63, 0xd3, 0xa8, 0x30, 0xa4, 0x15, 0xc4, - 0x6d, 0x8a, 0xa2, 0x73, 0x2b, 0x23, 0x47, 0xbd, 0x74, 0x28, 0x28, 0x3d, 0x70, 0x43, 0xde, 0x8c, - 0x3a, 0x3f, 0x33, 0x27, 0x71, 0x7e, 0x66, 0x87, 0x3a, 0x3e, 0x2d, 0xc8, 0x31, 0xe1, 0x5a, 0x89, - 0xa0, 0x7b, 0xf1, 0x6a, 0x75, 0x34, 0x87, 0x3e, 0xe6, 0x9d, 0xc9, 0xde, 0x91, 0x30, 0x54, 0xec, - 0x89, 0x0b, 0xf9, 0xe0, 0x64, 0x40, 0xc5, 0xed, 0x47, 0x4b, 0x2f, 0x49, 0xee, 0x8a, 0x83, 0x0c, - 0x58, 0x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x55, 0xcb, 0x54, - 0x44, 0x2c, 0xac, 0x52, 0x80, 0xc0, 0x90, 0x86, 0x8f, 0x58, 0xc3, 0xed, 0xf6, 0xec, 0x8e, 0x3a, - 0x16, 0x8b, 0x8c, 0x58, 0x55, 0xc1, 0x51, 0x53, 0x70, 0x6a, 0x3e, 0xe7, 0x9a, 0xae, 0xd7, 0x4d, - 0x5e, 0xfa, 0xde, 0x51, 0x70, 0xd4, 0x14, 0xc6, 0xb7, 0x26, 0x20, 0xff, 0x18, 0xdf, 0xaa, 0x68, - 0xc4, 0xde, 0xaa, 0x38, 0x85, 0x87, 0x0d, 0xd2, 0xde, 0xa9, 0xd8, 0x4f, 0xbc, 0x53, 0x51, 0x1d, - 0xf3, 0xd0, 0xfe, 0xbe, 0x6f, 0x54, 0xfc, 0x43, 0x06, 0xce, 0x06, 0xa4, 0xe1, 0xa9, 0xd5, 0x27, - 0x22, 0x09, 0xe5, 0x85, 0xca, 0xb3, 0x89, 0x9c, 0xca, 0xf3, 0x03, 0x05, 0x22, 0x09, 0x96, 0x9f, - 0xd7, 0xb5, 0x97, 0xfa, 0xbd, 0x16, 0x17, 0x7c, 0xef, 0xa8, 0x7c, 0xa2, 0xc7, 0x10, 0x97, 0x35, - 0xef, 0x78, 0x85, 0xa3, 0x69, 0x7d, 0x93, 0xf7, 0x4f, 0xeb, 0x33, 0xbe, 0x97, 0x81, 0x99, 0xc7, - 0xf8, 0xf6, 0xc6, 0x5e, 0xfc, 0xed, 0x8d, 0x57, 0xc7, 0x1a, 0xb6, 0x21, 0xef, 0x6e, 0xfc, 0xe3, - 0x05, 0x88, 0xbd, 0x79, 0x41, 0x1c, 0x28, 0x04, 0xab, 0x54, 0x90, 0xe4, 0xf1, 0xea, 0x58, 0x91, - 0x98, 0x70, 0x32, 0x07, 0x10, 0x86, 0xa1, 0x88, 0x44, 0xdc, 0x7d, 0xe2, 0x44, 0x71, 0xf7, 0xc7, - 0x1e, 0xe5, 0x4b, 0xf7, 0x8b, 0x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x84, 0x57, - 0x14, 0xa7, 0x1f, 0xe7, 0x2b, 0x8a, 0xf9, 0x13, 0xbe, 0xa2, 0x58, 0xf8, 0xe9, 0x79, 0x45, 0xf1, - 0xc3, 0x0c, 0xcc, 0xff, 0x7f, 0x7f, 0xe6, 0xfc, 0x87, 0x19, 0x58, 0xf8, 0x5f, 0x78, 0xdf, 0xfc, - 0x9d, 0x78, 0x94, 0xfa, 0xda, 0xa9, 0x34, 0x72, 0x48, 0xb4, 0xfa, 0x8f, 0x53, 0x9a, 0x28, 0xa2, - 0xd6, 0xef, 0x3f, 0xaa, 0x87, 0xa2, 0x17, 0xd2, 0x1e, 0x8a, 0x8e, 0x3f, 0x0c, 0x5d, 0x59, 0xfe, - 0xce, 0x87, 0x4b, 0x4f, 0x7c, 0xef, 0xc3, 0xa5, 0x27, 0xbe, 0xff, 0xe1, 0xd2, 0x13, 0x1f, 0x1c, - 0x2f, 0x65, 0xbe, 0x73, 0xbc, 0x94, 0xf9, 0xde, 0xf1, 0x52, 0xe6, 0xfb, 0xc7, 0x4b, 0x99, 0x1f, - 0x1e, 0x2f, 0x65, 0xfe, 0xf0, 0x9f, 0x97, 0x9e, 0xf8, 0x5c, 0x3e, 0x10, 0xf0, 0x3f, 0x01, 0x00, - 0x00, 0xff, 0xff, 0xe5, 0xc8, 0xc7, 0xe2, 0xb5, 0x6a, 0x00, 0x00, + // 6391 bytes of a gzipped FileDescriptorProto + 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xec, 0x3c, 0x5b, 0x6c, 0x5c, 0xc7, + 0x75, 0x5e, 0x92, 0xbb, 0xdc, 0x3d, 0x4b, 0x4a, 0xd4, 0x88, 0x92, 0xd6, 0xb4, 0xcc, 0x55, 0xae, + 0x6b, 0x57, 0x6e, 0x1d, 0x32, 0x96, 0xe3, 0xd6, 0x79, 0xf8, 0xc1, 0x25, 0x45, 0x4a, 0x16, 0x45, + 0x32, 0x67, 0x29, 0xa9,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0x6e, 0x69, 0x36, 0x35, 0xf2, 0x9d, 0xc3, 0xea, 0x13, 0x47, 0x87, 0x55, 0x30, 0x20, 0x86, 0x31, + 0x29, 0xc4, 0x83, 0x92, 0x1d, 0x84, 0xee, 0xae, 0xdd, 0x08, 0x59, 0x65, 0x4c, 0x88, 0x7c, 0x75, + 0x28, 0x91, 0x4b, 0x8a, 0x4b, 0xed, 0x8c, 0x92, 0x58, 0xd2, 0x10, 0x86, 0x91, 0x08, 0xeb, 0xc7, + 0xe3, 0x50, 0xd4, 0x08, 0x72, 0x09, 0x26, 0x3c, 0xbb, 0x43, 0xc5, 0xe8, 0x95, 0x6a, 0x53, 0xaa, + 0xe0, 0xc4, 0x86, 0xdd, 0xe1, 0x1d, 0x64, 0x77, 0x28, 0xa7, 0xe8, 0xda, 0x61, 0x4b, 0x8c, 0x40, + 0x8c, 0x62, 0xcb, 0x0e, 0x5b, 0x28, 0x30, 0xe4, 0x22, 0x4c, 0x74, 0x7c, 0x87, 0x56, 0xc6, 0x2f, + 0xe5, 0x2e, 0xe7, 0x65, 0x07, 0xdf, 0xf4, 0x1d, 0x8a, 0x02, 0xca, 0xcb, 0xef, 0x06, 0x7e, 0xa7, + 0x32, 0x91, 0x2c, 0xbf, 0x1a, 0xf8, 0x1d, 0x14, 0x18, 0xf2, 0x07, 0x39, 0x98, 0xd1, 0xd5, 0x5b, + 0xf7, 0x1b, 0x76, 0xe8, 0xfa, 0x5e, 0x25, 0x2f, 0x06, 0xfc, 0xea, 0x48, 0x1d, 0xa1, 0x99, 0xd5, + 0x2a, 0x4a, 0xea, 0x4c, 0x1a, 0x83, 0x7d, 0x82, 0xc9, 0x15, 0x80, 0x66, 0xdb, 0xdf, 0xb1, 0xdb, + 0xbc, 0x0f, 0x2a, 0x05, 0x51, 0x6b, 0x33, 0x84, 0x6b, 0x06, 0x83, 0x31, 0x2a, 0xb2, 0x07, 0x93, + 0xb6, 0x9c, 0x15, 0x95, 0x49, 0x51, 0xef, 0x95, 0x21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, 0x30, 0x38, 0x88, 0xc4, 0x49, + 0x20, 0x2a, 0x21, 0xc4, 0x85, 0xc9, 0xb6, 0xcb, 0x42, 0x2e, 0xaf, 0x30, 0x82, 0x56, 0x70, 0x79, + 0x42, 0x45, 0xa3, 0x1e, 0x58, 0x97, 0x6c, 0x51, 0xf3, 0x9f, 0x3b, 0x80, 0x72, 0xac, 0x46, 0x64, + 0x46, 0x3a, 0x93, 0x62, 0x56, 0x08, 0xff, 0x91, 0x6c, 0x6b, 0xdd, 0x1f, 0x1b, 0xc1, 0x97, 0x35, + 0x35, 0x51, 0x93, 0xe5, 0x93, 0x63, 0xaf, 0xe4, 0x3e, 0x59, 0xfc, 0xfa, 0x9f, 0x56, 0x9f, 0xf8, + 0xe0, 0x9f, 0x2f, 0x3d, 0x61, 0xfd, 0xf5, 0x38, 0x94, 0x0c, 0xc9, 0xff, 0x6d, 0x4d, 0x09, 0x52, + 0x9a, 0xf2, 0xe6, 0x68, 0xfd, 0x75, 0x2c, 0x75, 0x59, 0x4a, 0xaa, 0xcb, 0x54, 0xed, 0x17, 0x63, + 0x43, 0x7d, 0xef, 0xb0, 0x5a, 0x49, 0x76, 0x02, 0xda, 0xfb, 0x37, 0x29, 0x63, 0x76, 0x93, 0x46, + 0x6a, 0xf0, 0x89, 0x07, 0xa9, 0xc1, 0x6c, 0x5c, 0x0d, 0x4a, 0xd9, 0xc3, 0xd8, 0x86, 0x89, 0x75, + 0xd7, 0x3b, 0x4e, 0xb8, 0xe5, 0x19, 0xc8, 0xb3, 0x86, 0xdf, 0xd5, 0xb1, 0x16, 0x63, 0x50, 0xeb, + 0x1c, 0x88, 0x12, 0xa7, 0x2d, 0xf4, 0xf8, 0x00, 0x0b, 0xfd, 0xc1, 0x38, 0x14, 0x75, 0x40, 0x8b, + 0x7c, 0x39, 0x07, 0x65, 0xdb, 0xf3, 0xfc, 0x50, 0x9c, 0x2f, 0x69, 0x63, 0xba, 0x31, 0x54, 0xe7, + 0x6b, 0xa6, 0x0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, 0xfc, 0x70, 0xa9, 0x22, 0xe9, 0x1d, 0xae, 0xce, 0x66, 0x95, 0x50, + 0x34, 0x42, 0xc8, 0x5b, 0x30, 0xee, 0xd8, 0x4d, 0x15, 0x8d, 0x7f, 0x63, 0xe8, 0x3c, 0x6b, 0x2d, + 0x46, 0xdc, 0x21, 0x5e, 0x59, 0x5a, 0x43, 0xce, 0x95, 0xec, 0x45, 0x17, 0x7d, 0x66, 0x46, 0xb8, + 0x9a, 0x9b, 0x5a, 0x31, 0x65, 0x24, 0xa0, 0xef, 0xaa, 0xd0, 0x55, 0x98, 0xbc, 0xeb, 0xb7, 0x7b, + 0x1d, 0x15, 0xc6, 0x2f, 0x5f, 0x99, 0xcb, 0x1a, 0xed, 0xdb, 0x82, 0x24, 0x32, 0x02, 0xf2, 0x9b, + 0xa1, 0x2e, 0x4b, 0xbe, 0x94, 0x83, 0x53, 0x7c, 0xea, 0x18, 0x3d, 0x60, 0x15, 0x32, 0x82, 0xa6, + 0xde, 0x62, 0x7c, 0x69, 0xd5, 0x1a, 0x66, 0x5c, 0xa4, 0xeb, 0x09, 0x09, 0x98, 0x92, 0x48, 0xba, + 0x50, 0x64, 0xae, 0x43, 0x1b, 0x76, 0xc0, 0x2a, 0x67, 0x4f, 0x4c, 0x7a, 0xb4, 0x27, 0x54, 0xbc, + 0xd1, 0x48, 0x21, 0xbf, 0x23, 0xae, 0x53, 0xab, 0xa7, 0x10, 0xd4, 0xf3, 0x14, 0xb3, 0x27, 0xf9, + 0x3c, 0xc5, 0x59, 0x79, 0x97, 0x3a, 0x21, 0x01, 0xd3, 0x22, 0xc9, 0x26, 0x9c, 0x93, 0x17, 0x7e, + 0xd2, 0xb7, 0xbd, 0xce, 0x89, 0x64, 0x9e, 0x27, 0x8f, 0x0e, 0xab, 0xe7, 0x96, 0xb2, 0x08, 0x30, + 0xbb, 0x1c, 0x79, 0x1f, 0xa6, 0x83, 0x78, 0x3c, 0x41, 0x1c, 0xd5, 0x0c, 0xdb, 0x9d, 0x89, 0xc8, + 0x84, 0x3c, 0x26, 0x4a, 0x80, 0x30, 0x29, 0x8b, 0xbc, 0x08, 0xe5, 0xae, 0xb2, 0x54, 0x2e, 0xeb, + 0x54, 0x2e, 0x88, 0x36, 0x88, 0x15, 0x75, 0x2b, 0x02, 0x63, 0x9c, 0x86, 0xdc, 0x82, 0x72, 0xe8, + 0xb7, 0x69, 0xa0, 0xf2, 0x50, 0x2a, 0x62, 0xf0, 0xe7, 0xb3, 0x34, 0x79, 0xdb, 0x90, 0x45, 0x1b, + 0xbd, 0x08, 0xc6, 0x30, 0xce, 0x87, 0x3b, 0xfc, 0xfa, 0x72, 0x5f, 0x20, 0xf6, 0x23, 0x4f, 0x26, + 0x1d, 0xfe, 0x7a, 0x1c, 0x89, 0x49, 0x5a, 0xb2, 0x06, 0x67, 0xba, 0x81, 0xeb, 0x07, 0x6e, 0x78, + 0xb0, 0xdc, 0xb6, 0x19, 0x13, 0x0c, 0xe6, 0x04, 0x03, 0x13, 0x8a, 0xda, 0x4a, 0x13, 0x60, 0x7f, + 0x19, 0xbe, 0x9d, 0xd7, 0xc0, 0xca, 0x53, 0xc2, 0x57, 0x13, 0x66, 0x49, 0x97, 0x45, 0x83, 0x1d, + 0x70, 0xc3, 0xe2, 0xe2, 0x30, 0x37, 0x2c, 0x88, 0x03, 0x17, 0xed, 0x5e, 0xe8, 0x77, 0x38, 0x20, + 0x59, 0x64, 0xdb, 0xdf, 0xa3, 0x5e, 0xe5, 0x92, 0x58, 0xab, 0x2e, 0x1d, 0x1d, 0x56, 0x2f, 0x2e, + 0xdd, 0x87, 0x0e, 0xef, 0xcb, 0x85, 0x74, 0xa0, 0x48, 0xd5, 0x2d, 0x91, 0xca, 0x47, 0x46, 0x58, + 0x24, 0x92, 0x57, 0x4d, 0xf4, 0xd9, 0x86, 0x84, 0xa1, 0x11, 0x41, 0xb6, 0xa1, 0xdc, 0xf2, 0x59, + 0xb8, 0xd4, 0x76, 0x6d, 0x46, 0x59, 0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 0x76, 0x7f, 0x9e, 0x64, 0x35, 0x54, 0x92, + 0x55, 0xe2, 0x45, 0xc4, 0xfc, 0x63, 0x7c, 0x11, 0xb1, 0x30, 0xc4, 0x8b, 0x88, 0x93, 0x8f, 0xf3, + 0x45, 0xc4, 0xe2, 0x31, 0x5f, 0x44, 0x2c, 0xfd, 0xf4, 0xbc, 0x88, 0xf8, 0x61, 0x0e, 0x66, 0xfe, + 0xbf, 0x3f, 0x59, 0xfe, 0xc3, 0x1c, 0xcc, 0xfe, 0x2f, 0xbc, 0x55, 0xfe, 0x4e, 0x32, 0x4a, 0x7d, + 0xf5, 0x44, 0x1a, 0x39, 0x20, 0x5a, 0xfd, 0xc7, 0x19, 0x4d, 0x14, 0x51, 0xeb, 0xf7, 0x1f, 0xd5, + 0xa3, 0xcf, 0xb3, 0x59, 0x8f, 0x3e, 0x27, 0x1f, 0x79, 0xae, 0x2d, 0x7c, 0xe7, 0xc3, 0xf9, 0x27, + 0xbe, 0xf7, 0xe1, 0xfc, 0x13, 0xdf, 0xff, 0x70, 0xfe, 0x89, 0x0f, 0x8e, 0xe6, 0x73, 0xdf, 0x39, + 0x9a, 0xcf, 0x7d, 0xef, 0x68, 0x3e, 0xf7, 0xfd, 0xa3, 0xf9, 0xdc, 0x0f, 0x8f, 0xe6, 0x73, 0x7f, + 0xf8, 0x2f, 0xf3, 0x4f, 0x7c, 0xae, 0xa8, 0x05, 0xfc, 0x4f, 0x00, 0x00, 0x00, 0xff, 0xff, 0x37, + 0xb0, 0xc2, 0x2b, 0x81, 0x6a, 0x00, 0x00, } func (m *ArchiveStrategy) Marshal() (dAtA []byte, err error) { @@ -5348,11 +5347,6 @@ func (m *SubmitOpts) MarshalToSizedBuffer(dAtA []byte) (int, error) { i = encodeVarintGenerated(dAtA, i, uint64(len(m.Entrypoint))) i-- dAtA[i] = 0x22 - i -= len(m.InstanceID) - copy(dAtA[i:], m.InstanceID) - i = encodeVarintGenerated(dAtA, i, uint64(len(m.InstanceID))) - i-- - dAtA[i] = 0x1a i -= len(m.GenerateName) copy(dAtA[i:], m.GenerateName) i = encodeVarintGenerated(dAtA, i, uint64(len(m.GenerateName))) @@ -8083,8 +8077,6 @@ func (m *SubmitOpts) Size() (n int) { n += 1 + l + sovGenerated(uint64(l)) l = len(m.GenerateName) n += 1 + l + sovGenerated(uint64(l)) - l = len(m.InstanceID) - n += 1 + l + sovGenerated(uint64(l)) l = len(m.Entrypoint) n += 1 + l + sovGenerated(uint64(l)) if len(m.Parameters) > 0 { @@ -9420,7 +9412,6 @@ func (this *SubmitOpts) String() string { s := strings.Join([]string{`&SubmitOpts{`, `Name:` + fmt.Sprintf("%v", this.Name) + `,`, `GenerateName:` + fmt.Sprintf("%v", this.GenerateName) + `,`, - `InstanceID:` + fmt.Sprintf("%v", this.InstanceID) + `,`, `Entrypoint:` + fmt.Sprintf("%v", this.Entrypoint) + `,`, `Parameters:` + fmt.Sprintf("%v", this.Parameters) + `,`, `ParameterFile:` + fmt.Sprintf("%v", this.ParameterFile) + `,`, @@ -19181,38 +19172,6 @@ func (m *SubmitOpts) Unmarshal(dAtA []byte) error { } m.GenerateName = string(dAtA[iNdEx:postIndex]) iNdEx = postIndex - case 3: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field InstanceID", wireType) - } - var stringLen uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowGenerated - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - stringLen |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - intStringLen := int(stringLen) - if intStringLen < 0 { - return ErrInvalidLengthGenerated - } - postIndex := iNdEx + intStringLen - if postIndex < 0 { - return ErrInvalidLengthGenerated - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - m.InstanceID = string(dAtA[iNdEx:postIndex]) - iNdEx = postIndex case 4: if wireType != 2 { return fmt.Errorf("proto: wrong wireType = %d for field Entrypoint", wireType) diff --git a/pkg/apis/workflow/v1alpha1/generated.proto b/pkg/apis/workflow/v1alpha1/generated.proto index 17963ec23ae9..3304ebc8f294 100644 --- a/pkg/apis/workflow/v1alpha1/generated.proto +++ b/pkg/apis/workflow/v1alpha1/generated.proto @@ -799,9 +799,6 @@ message SubmitOpts { // GenerateName overrides metadata.generateName optional string generateName = 2; - // InstanceID binds the Resource to the specified instance ID - optional string instanceID = 3; - // Entrypoint overrides spec.entrypoint optional string entrypoint = 4; diff --git a/server/apiserver/argoserver.go b/server/apiserver/argoserver.go index 0db3d03c663e..22740ddd4100 100644 --- a/server/apiserver/argoserver.go +++ b/server/apiserver/argoserver.go @@ -41,6 +41,7 @@ import ( "github.com/argoproj/argo/server/workflowarchive" "github.com/argoproj/argo/server/workflowtemplate" grpcutil "github.com/argoproj/argo/util/grpc" + "github.com/argoproj/argo/util/instanceid" "github.com/argoproj/argo/util/json" ) @@ -119,6 +120,7 @@ func (as *argoServer) Run(ctx context.Context, port int, browserOpenFunc func(st if err != nil { log.Fatal(err) } + instanceIDService := instanceid.NewService(configMap.InstanceID) var offloadRepo = sqldb.ExplosiveOffloadNodeStatusRepo var wfArchive = sqldb.NullWorkflowArchive persistence := configMap.Persistence @@ -135,10 +137,10 @@ func (as *argoServer) Run(ctx context.Context, port int, browserOpenFunc func(st } // we always enable the archive for the Argo Server, as the Argo Server does not write records, so you can // disable the archiving - and still read old records - wfArchive = sqldb.NewWorkflowArchive(session, persistence.GetClusterName(), as.managedNamespace, configMap.InstanceID) + wfArchive = sqldb.NewWorkflowArchive(session, persistence.GetClusterName(), as.managedNamespace, instanceIDService) } - artifactServer := artifacts.NewArtifactServer(as.authenticator, offloadRepo, wfArchive) - grpcServer := as.newGRPCServer(configMap.InstanceID, offloadRepo, wfArchive, configMap.Links) + artifactServer := artifacts.NewArtifactServer(as.authenticator, offloadRepo, wfArchive, instanceIDService) + grpcServer := as.newGRPCServer(instanceIDService, offloadRepo, wfArchive, configMap.Links) httpServer := as.newHTTPServer(ctx, port, artifactServer) // Start listener @@ -181,7 +183,7 @@ func (as *argoServer) Run(ctx context.Context, port int, browserOpenFunc func(st <-as.stopCh } -func (as *argoServer) newGRPCServer(instanceID string, offloadNodeStatusRepo sqldb.OffloadNodeStatusRepo, wfArchive sqldb.WorkflowArchive, links []*v1alpha1.Link) *grpc.Server { +func (as *argoServer) newGRPCServer(instanceIDService instanceid.Service, offloadNodeStatusRepo sqldb.OffloadNodeStatusRepo, wfArchive sqldb.WorkflowArchive, links []*v1alpha1.Link) *grpc.Server { serverLog := log.NewEntry(log.StandardLogger()) sOpts := []grpc.ServerOption{ @@ -208,11 +210,11 @@ func (as *argoServer) newGRPCServer(instanceID string, offloadNodeStatusRepo sql grpcServer := grpc.NewServer(sOpts...) infopkg.RegisterInfoServiceServer(grpcServer, info.NewInfoServer(as.managedNamespace, links)) - workflowpkg.RegisterWorkflowServiceServer(grpcServer, workflow.NewWorkflowServer(instanceID, offloadNodeStatusRepo)) - workflowtemplatepkg.RegisterWorkflowTemplateServiceServer(grpcServer, workflowtemplate.NewWorkflowTemplateServer()) - cronworkflowpkg.RegisterCronWorkflowServiceServer(grpcServer, cronworkflow.NewCronWorkflowServer(instanceID)) + workflowpkg.RegisterWorkflowServiceServer(grpcServer, workflow.NewWorkflowServer(instanceIDService, offloadNodeStatusRepo)) + workflowtemplatepkg.RegisterWorkflowTemplateServiceServer(grpcServer, workflowtemplate.NewWorkflowTemplateServer(instanceIDService)) + cronworkflowpkg.RegisterCronWorkflowServiceServer(grpcServer, cronworkflow.NewCronWorkflowServer(instanceIDService)) workflowarchivepkg.RegisterArchivedWorkflowServiceServer(grpcServer, workflowarchive.NewWorkflowArchiveServer(wfArchive)) - clusterwftemplatepkg.RegisterClusterWorkflowTemplateServiceServer(grpcServer, clusterworkflowtemplate.NewClusterWorkflowTemplateServer()) + clusterwftemplatepkg.RegisterClusterWorkflowTemplateServiceServer(grpcServer, clusterworkflowtemplate.NewClusterWorkflowTemplateServer(instanceIDService)) return grpcServer } diff --git a/server/artifacts/artifact_server.go b/server/artifacts/artifact_server.go index af787fcf712d..bb6b14332fc0 100644 --- a/server/artifacts/artifact_server.go +++ b/server/artifacts/artifact_server.go @@ -17,6 +17,7 @@ import ( "github.com/argoproj/argo/persist/sqldb" wfv1 "github.com/argoproj/argo/pkg/apis/workflow/v1alpha1" "github.com/argoproj/argo/server/auth" + "github.com/argoproj/argo/util/instanceid" artifact "github.com/argoproj/argo/workflow/artifacts" "github.com/argoproj/argo/workflow/packer" ) @@ -25,10 +26,11 @@ type ArtifactServer struct { authN auth.Gatekeeper offloadNodeStatusRepo sqldb.OffloadNodeStatusRepo wfArchive sqldb.WorkflowArchive + instanceIDService instanceid.Service } -func NewArtifactServer(authN auth.Gatekeeper, offloadNodeStatusRepo sqldb.OffloadNodeStatusRepo, wfArchive sqldb.WorkflowArchive) *ArtifactServer { - return &ArtifactServer{authN, offloadNodeStatusRepo, wfArchive} +func NewArtifactServer(authN auth.Gatekeeper, offloadNodeStatusRepo sqldb.OffloadNodeStatusRepo, wfArchive sqldb.WorkflowArchive, instanceIDService instanceid.Service) *ArtifactServer { + return &ArtifactServer{authN, offloadNodeStatusRepo, wfArchive, instanceIDService} } func (a *ArtifactServer) GetArtifact(w http.ResponseWriter, r *http.Request) { @@ -48,7 +50,7 @@ func (a *ArtifactServer) GetArtifact(w http.ResponseWriter, r *http.Request) { log.WithFields(log.Fields{"namespace": namespace, "workflowName": workflowName, "nodeId": nodeId, "artifactName": artifactName}).Info("Download artifact") - wf, err := a.getWorkflow(ctx, namespace, workflowName) + wf, err := a.getWorkflowAndValidate(ctx, namespace, workflowName) if err != nil { a.serverInternalError(err, w) return @@ -70,6 +72,7 @@ func (a *ArtifactServer) GetArtifactByUID(w http.ResponseWriter, r *http.Request _, _ = w.Write([]byte(err.Error())) return } + path := strings.SplitN(r.URL.Path, "/", 6) uid := path[2] @@ -158,12 +161,16 @@ func (a *ArtifactServer) getArtifact(ctx context.Context, wf *wfv1.Workflow, nod return file, nil } -func (a *ArtifactServer) getWorkflow(ctx context.Context, namespace string, workflowName string) (*wfv1.Workflow, error) { +func (a *ArtifactServer) getWorkflowAndValidate(ctx context.Context, namespace string, workflowName string) (*wfv1.Workflow, error) { wfClient := auth.GetWfClient(ctx) wf, err := wfClient.ArgoprojV1alpha1().Workflows(namespace).Get(workflowName, metav1.GetOptions{}) if err != nil { return nil, err } + err = a.instanceIDService.Validate(wf) + if err != nil { + return nil, err + } err = packer.DecompressWorkflow(wf) if err != nil { return nil, err diff --git a/server/clusterworkflowtemplate/cluster_workflow_template_server.go b/server/clusterworkflowtemplate/cluster_workflow_template_server.go index c724ea056ae1..75abdc0369b8 100644 --- a/server/clusterworkflowtemplate/cluster_workflow_template_server.go +++ b/server/clusterworkflowtemplate/cluster_workflow_template_server.go @@ -10,15 +10,17 @@ import ( clusterwftmplpkg "github.com/argoproj/argo/pkg/apiclient/clusterworkflowtemplate" "github.com/argoproj/argo/pkg/apis/workflow/v1alpha1" "github.com/argoproj/argo/server/auth" + "github.com/argoproj/argo/util/instanceid" "github.com/argoproj/argo/workflow/templateresolution" "github.com/argoproj/argo/workflow/validate" ) type ClusterWorkflowTemplateServer struct { + instanceIDService instanceid.Service } -func NewClusterWorkflowTemplateServer() clusterwftmplpkg.ClusterWorkflowTemplateServiceServer { - return &ClusterWorkflowTemplateServer{} +func NewClusterWorkflowTemplateServer(instanceID instanceid.Service) clusterwftmplpkg.ClusterWorkflowTemplateServiceServer { + return &ClusterWorkflowTemplateServer{instanceID} } func (cwts *ClusterWorkflowTemplateServer) CreateClusterWorkflowTemplate(ctx context.Context, req *clusterwftmplpkg.ClusterWorkflowTemplateCreateRequest) (*v1alpha1.ClusterWorkflowTemplate, error) { @@ -26,37 +28,44 @@ func (cwts *ClusterWorkflowTemplateServer) CreateClusterWorkflowTemplate(ctx con if req.Template == nil { return nil, fmt.Errorf("cluster workflow template was not found in the request body") } - + cwts.instanceIDService.Label(req.Template) cwftmplGetter := templateresolution.WrapClusterWorkflowTemplateInterface(wfClient.ArgoprojV1alpha1().ClusterWorkflowTemplates()) - _, err := validate.ValidateClusterWorkflowTemplate(nil, cwftmplGetter, req.Template) if err != nil { return nil, err } - return wfClient.ArgoprojV1alpha1().ClusterWorkflowTemplates().Create(req.Template) - } func (cwts *ClusterWorkflowTemplateServer) GetClusterWorkflowTemplate(ctx context.Context, req *clusterwftmplpkg.ClusterWorkflowTemplateGetRequest) (*v1alpha1.ClusterWorkflowTemplate, error) { - wfClient := auth.GetWfClient(ctx) - - wfTmpl, err := wfClient.ArgoprojV1alpha1().ClusterWorkflowTemplates().Get(req.Name, v1.GetOptions{}) - + wfTmpl, err := cwts.getTemplateAndValidate(ctx, req.Name) if err != nil { return nil, err } + return wfTmpl, nil +} - return wfTmpl, err +func (cwts *ClusterWorkflowTemplateServer) getTemplateAndValidate(ctx context.Context, name string) (*v1alpha1.ClusterWorkflowTemplate, error) { + wfClient := auth.GetWfClient(ctx) + wfTmpl, err := wfClient.ArgoprojV1alpha1().ClusterWorkflowTemplates().Get(name, v1.GetOptions{}) + if err != nil { + return nil, err + } + err = cwts.instanceIDService.Validate(wfTmpl) + if err != nil { + return nil, err + } + return wfTmpl, nil } func (cwts *ClusterWorkflowTemplateServer) ListClusterWorkflowTemplates(ctx context.Context, req *clusterwftmplpkg.ClusterWorkflowTemplateListRequest) (*v1alpha1.ClusterWorkflowTemplateList, error) { wfClient := auth.GetWfClient(ctx) - options := v1.ListOptions{} + options := &v1.ListOptions{} if req.ListOptions != nil { - options = *req.ListOptions + options = req.ListOptions } - cwfList, err := wfClient.ArgoprojV1alpha1().ClusterWorkflowTemplates().List(options) + cwts.instanceIDService.With(options) + cwfList, err := wfClient.ArgoprojV1alpha1().ClusterWorkflowTemplates().List(*options) if err != nil { return nil, err } @@ -68,8 +77,11 @@ func (cwts *ClusterWorkflowTemplateServer) ListClusterWorkflowTemplates(ctx cont func (cwts *ClusterWorkflowTemplateServer) DeleteClusterWorkflowTemplate(ctx context.Context, req *clusterwftmplpkg.ClusterWorkflowTemplateDeleteRequest) (*clusterwftmplpkg.ClusterWorkflowTemplateDeleteResponse, error) { wfClient := auth.GetWfClient(ctx) - - err := wfClient.ArgoprojV1alpha1().ClusterWorkflowTemplates().Delete(req.Name, &v1.DeleteOptions{}) + _, err := cwts.getTemplateAndValidate(ctx, req.Name) + if err != nil { + return nil, err + } + err = wfClient.ArgoprojV1alpha1().ClusterWorkflowTemplates().Delete(req.Name, &v1.DeleteOptions{}) if err != nil { return nil, err } @@ -78,8 +90,8 @@ func (cwts *ClusterWorkflowTemplateServer) DeleteClusterWorkflowTemplate(ctx con } func (cwts *ClusterWorkflowTemplateServer) LintClusterWorkflowTemplate(ctx context.Context, req *clusterwftmplpkg.ClusterWorkflowTemplateLintRequest) (*v1alpha1.ClusterWorkflowTemplate, error) { + cwts.instanceIDService.Label(req.Template) wfClient := auth.GetWfClient(ctx) - cwftmplGetter := templateresolution.WrapClusterWorkflowTemplateInterface(wfClient.ArgoprojV1alpha1().ClusterWorkflowTemplates()) _, err := validate.ValidateClusterWorkflowTemplate(nil, cwftmplGetter, req.Template) @@ -94,10 +106,14 @@ func (cwts *ClusterWorkflowTemplateServer) UpdateClusterWorkflowTemplate(ctx con if req.Template == nil { return nil, fmt.Errorf("ClusterWorkflowTemplate is not found in Request body") } + err := cwts.instanceIDService.Validate(req.Template) + if err != nil { + return nil, err + } wfClient := auth.GetWfClient(ctx) cwftmplGetter := templateresolution.WrapClusterWorkflowTemplateInterface(wfClient.ArgoprojV1alpha1().ClusterWorkflowTemplates()) - _, err := validate.ValidateClusterWorkflowTemplate(nil, cwftmplGetter, req.Template) + _, err = validate.ValidateClusterWorkflowTemplate(nil, cwftmplGetter, req.Template) if err != nil { return nil, err } diff --git a/server/clusterworkflowtemplate/cluster_workflow_template_server_test.go b/server/clusterworkflowtemplate/cluster_workflow_template_server_test.go index 750a21c399d1..f11cb92834d5 100644 --- a/server/clusterworkflowtemplate/cluster_workflow_template_server_test.go +++ b/server/clusterworkflowtemplate/cluster_workflow_template_server_test.go @@ -2,21 +2,24 @@ package clusterworkflowtemplate import ( "context" - "encoding/json" "testing" - clusterwftmplpkg "github.com/argoproj/argo/pkg/apiclient/clusterworkflowtemplate" - "github.com/argoproj/argo/server/auth" - "github.com/stretchr/testify/assert" "k8s.io/client-go/kubernetes/fake" + clusterwftmplpkg "github.com/argoproj/argo/pkg/apiclient/clusterworkflowtemplate" "github.com/argoproj/argo/pkg/apis/workflow/v1alpha1" wftFake "github.com/argoproj/argo/pkg/client/clientset/versioned/fake" + "github.com/argoproj/argo/server/auth" + testutil "github.com/argoproj/argo/test/util" + "github.com/argoproj/argo/util/instanceid" + "github.com/argoproj/argo/workflow/common" ) -const cwftStr1 = `{ - "template": { +var unlabelled, cwftObj2, cwftObj3 v1alpha1.ClusterWorkflowTemplate + +func init() { + testutil.MustUnmarshallJSON(`{ "apiVersion": "argoproj.io/v1alpha1", "kind": "ClusterWorkflowTemplate", "metadata": { @@ -53,14 +56,16 @@ const cwftStr1 = `{ } ] } - } -}` +}`, &unlabelled) -const cwftStr2 = `{ + testutil.MustUnmarshallJSON(`{ "apiVersion": "argoproj.io/v1alpha1", "kind": "ClusterWorkflowTemplate", "metadata": { - "name": "cluster-workflow-template-whalesay-template2" + "name": "cluster-workflow-template-whalesay-template2", + "labels": { + "workflows.argoproj.io/controller-instanceid": "my-instanceid" + } }, "spec": { "arguments": { @@ -94,13 +99,16 @@ const cwftStr2 = `{ } ] } -}` +}`, &cwftObj2) -const cwftStr3 = `{ + testutil.MustUnmarshallJSON(`{ "apiVersion": "argoproj.io/v1alpha1", "kind": "ClusterWorkflowTemplate", "metadata": { - "name": "cluster-workflow-template-whalesay-template3" + "name": "cluster-workflow-template-whalesay-template3", + "labels": { + "workflows.argoproj.io/controller-instanceid": "my-instanceid" + } }, "spec": { "arguments": { @@ -133,47 +141,49 @@ const cwftStr3 = `{ } ] } -}` +}`, &cwftObj3) +} func getClusterWorkflowTemplateServer() (clusterwftmplpkg.ClusterWorkflowTemplateServiceServer, context.Context) { - var cwftObj1, cwftObj2 v1alpha1.ClusterWorkflowTemplate - err := json.Unmarshal([]byte(cwftStr2), &cwftObj1) - if err != nil { - panic(err) - } - err = json.Unmarshal([]byte(cwftStr3), &cwftObj2) - if err != nil { - panic(err) - } kubeClientSet := fake.NewSimpleClientset() - wfClientset := wftFake.NewSimpleClientset(&cwftObj1, &cwftObj2) + wfClientset := wftFake.NewSimpleClientset(&unlabelled, &cwftObj2, &cwftObj3) ctx := context.WithValue(context.WithValue(context.TODO(), auth.WfKey, wfClientset), auth.KubeKey, kubeClientSet) - return NewClusterWorkflowTemplateServer(), ctx + return NewClusterWorkflowTemplateServer(instanceid.NewService("my-instanceid")), ctx } func TestWorkflowTemplateServer_CreateClusterWorkflowTemplate(t *testing.T) { server, ctx := getClusterWorkflowTemplateServer() - var cwftReq clusterwftmplpkg.ClusterWorkflowTemplateCreateRequest - err := json.Unmarshal([]byte(cwftStr1), &cwftReq) - if err != nil { - panic(err) + cwftReq := clusterwftmplpkg.ClusterWorkflowTemplateCreateRequest{ + Template: unlabelled.DeepCopy(), } + cwftReq.Template.Name = "foo" + assert.NotContains(t, cwftReq.Template.Labels, common.LabelKeyControllerInstanceID) cwftRsp, err := server.CreateClusterWorkflowTemplate(ctx, &cwftReq) if assert.NoError(t, err) { assert.NotNil(t, cwftRsp) + // ensure the label is added + assert.Contains(t, cwftRsp.Labels, common.LabelKeyControllerInstanceID) } } func TestWorkflowTemplateServer_GetClusterWorkflowTemplate(t *testing.T) { server, ctx := getClusterWorkflowTemplateServer() - cwftReq := clusterwftmplpkg.ClusterWorkflowTemplateGetRequest{ - Name: "cluster-workflow-template-whalesay-template2", - } - cwftRsp, err := server.GetClusterWorkflowTemplate(ctx, &cwftReq) - if assert.NoError(t, err) { - assert.NotNil(t, cwftRsp) - assert.Equal(t, "cluster-workflow-template-whalesay-template2", cwftRsp.Name) - } + t.Run("Labelled", func(t *testing.T) { + cwftRsp, err := server.GetClusterWorkflowTemplate(ctx, &clusterwftmplpkg.ClusterWorkflowTemplateGetRequest{ + Name: "cluster-workflow-template-whalesay-template2", + }) + if assert.NoError(t, err) { + assert.NotNil(t, cwftRsp) + assert.Equal(t, "cluster-workflow-template-whalesay-template2", cwftRsp.Name) + assert.Contains(t, cwftRsp.Labels, common.LabelKeyControllerInstanceID) + } + }) + t.Run("Unlabelled", func(t *testing.T) { + _, err := server.GetClusterWorkflowTemplate(ctx, &clusterwftmplpkg.ClusterWorkflowTemplateGetRequest{ + Name: "cluster-workflow-template-whalesay-template", + }) + assert.Error(t, err) + }) } func TestWorkflowTemplateServer_ListClusterWorkflowTemplates(t *testing.T) { @@ -182,34 +192,57 @@ func TestWorkflowTemplateServer_ListClusterWorkflowTemplates(t *testing.T) { cwftRsp, err := server.ListClusterWorkflowTemplates(ctx, &cwftReq) if assert.NoError(t, err) { assert.Len(t, cwftRsp.Items, 2) + for _, item := range cwftRsp.Items { + assert.Contains(t, item.Labels, common.LabelKeyControllerInstanceID) + } } } func TestWorkflowTemplateServer_DeleteClusterWorkflowTemplate(t *testing.T) { server, ctx := getClusterWorkflowTemplateServer() - cwftReq := clusterwftmplpkg.ClusterWorkflowTemplateDeleteRequest{ - Name: "cluster-workflow-template-whalesay-template2", - } - _, err := server.DeleteClusterWorkflowTemplate(ctx, &cwftReq) - assert.NoError(t, err) + t.Run("Labelled", func(t *testing.T) { + _, err := server.DeleteClusterWorkflowTemplate(ctx, &clusterwftmplpkg.ClusterWorkflowTemplateDeleteRequest{ + Name: "cluster-workflow-template-whalesay-template2", + }) + assert.NoError(t, err) + }) + t.Run("Unlabelled", func(t *testing.T) { + _, err := server.DeleteClusterWorkflowTemplate(ctx, &clusterwftmplpkg.ClusterWorkflowTemplateDeleteRequest{ + Name: "cluster-workflow-template-whalesay-template", + }) + assert.Error(t, err) + }) +} +func TestWorkflowTemplateServer_LintClusterWorkflowTemplate(t *testing.T) { + server, ctx := getClusterWorkflowTemplateServer() + t.Run("Labelled", func(t *testing.T) { + var cwftObj1 v1alpha1.ClusterWorkflowTemplate + resp, err := server.LintClusterWorkflowTemplate(ctx, &clusterwftmplpkg.ClusterWorkflowTemplateLintRequest{ + Template: &cwftObj1, + }) + if assert.NoError(t, err) { + assert.Contains(t, resp.Labels, common.LabelKeyControllerInstanceID) + } + }) } func TestWorkflowTemplateServer_UpdateClusterWorkflowTemplate(t *testing.T) { server, ctx := getClusterWorkflowTemplateServer() - var cwftObj1 v1alpha1.ClusterWorkflowTemplate - err := json.Unmarshal([]byte(cwftStr2), &cwftObj1) - if err != nil { - panic(err) - } - cwftObj1.Spec.Templates[0].Container.Image = "alpine:latest" - cwftReq := clusterwftmplpkg.ClusterWorkflowTemplateUpdateRequest{ - Name: "cluster-workflow-template-whalesay-template2", - Template: &cwftObj1, - } - cwftRsp, err := server.UpdateClusterWorkflowTemplate(ctx, &cwftReq) - - if assert.NoError(t, err) { - assert.Equal(t, "alpine:latest", cwftRsp.Spec.Templates[0].Container.Image) - } + t.Run("Labelled", func(t *testing.T) { + req := &clusterwftmplpkg.ClusterWorkflowTemplateUpdateRequest{ + Template: cwftObj2.DeepCopy(), + } + req.Template.Spec.Templates[0].Container.Image = "alpine:latest" + cwftRsp, err := server.UpdateClusterWorkflowTemplate(ctx, req) + if assert.NoError(t, err) { + assert.Equal(t, "alpine:latest", cwftRsp.Spec.Templates[0].Container.Image) + } + }) + t.Run("Unlabelled", func(t *testing.T) { + _, err := server.UpdateClusterWorkflowTemplate(ctx, &clusterwftmplpkg.ClusterWorkflowTemplateUpdateRequest{ + Template: &unlabelled, + }) + assert.Error(t, err) + }) } diff --git a/server/cronworkflow/cron_workflow_server.go b/server/cronworkflow/cron_workflow_server.go index aa4d52941c12..74c27695de32 100644 --- a/server/cronworkflow/cron_workflow_server.go +++ b/server/cronworkflow/cron_workflow_server.go @@ -9,24 +9,25 @@ import ( cronworkflowpkg "github.com/argoproj/argo/pkg/apiclient/cronworkflow" "github.com/argoproj/argo/pkg/apis/workflow/v1alpha1" "github.com/argoproj/argo/server/auth" - "github.com/argoproj/argo/workflow/common" + "github.com/argoproj/argo/util/instanceid" "github.com/argoproj/argo/workflow/templateresolution" "github.com/argoproj/argo/workflow/validate" ) type cronWorkflowServiceServer struct { - instanceID string + instanceIDService instanceid.Service } // NewCronWorkflowServer returns a new cronWorkflowServiceServer -func NewCronWorkflowServer(instanceID string) cronworkflowpkg.CronWorkflowServiceServer { - return &cronWorkflowServiceServer{instanceID: instanceID} +func NewCronWorkflowServer(instanceIDService instanceid.Service) cronworkflowpkg.CronWorkflowServiceServer { + return &cronWorkflowServiceServer{instanceIDService} } func (c *cronWorkflowServiceServer) LintCronWorkflow(ctx context.Context, req *cronworkflowpkg.LintCronWorkflowRequest) (*v1alpha1.CronWorkflow, error) { wfClient := auth.GetWfClient(ctx) wftmplGetter := templateresolution.WrapWorkflowTemplateInterface(wfClient.ArgoprojV1alpha1().WorkflowTemplates(req.Namespace)) cwftmplGetter := templateresolution.WrapClusterWorkflowTemplateInterface(wfClient.ArgoprojV1alpha1().ClusterWorkflowTemplates()) + c.instanceIDService.Label(req.CronWorkflow) err := validate.ValidateCronWorkflow(wftmplGetter, cwftmplGetter, req.CronWorkflow) if err != nil { return nil, err @@ -35,12 +36,12 @@ func (c *cronWorkflowServiceServer) LintCronWorkflow(ctx context.Context, req *c } func (c *cronWorkflowServiceServer) ListCronWorkflows(ctx context.Context, req *cronworkflowpkg.ListCronWorkflowsRequest) (*v1alpha1.CronWorkflowList, error) { - options := metav1.ListOptions{} + options := &metav1.ListOptions{} if req.ListOptions != nil { - options = *req.ListOptions + options = req.ListOptions } - optsWithInstanceId := c.withInstanceID(options) - return auth.GetWfClient(ctx).ArgoprojV1alpha1().CronWorkflows(req.Namespace).List(optsWithInstanceId) + c.instanceIDService.With(options) + return auth.GetWfClient(ctx).ArgoprojV1alpha1().CronWorkflows(req.Namespace).List(*options) } func (c *cronWorkflowServiceServer) CreateCronWorkflow(ctx context.Context, req *cronworkflowpkg.CreateCronWorkflowRequest) (*v1alpha1.CronWorkflow, error) { @@ -48,24 +49,13 @@ func (c *cronWorkflowServiceServer) CreateCronWorkflow(ctx context.Context, req if req.CronWorkflow == nil { return nil, fmt.Errorf("cron workflow was not found in the request body") } - + c.instanceIDService.Label(req.CronWorkflow) wftmplGetter := templateresolution.WrapWorkflowTemplateInterface(wfClient.ArgoprojV1alpha1().WorkflowTemplates(req.Namespace)) cwftmplGetter := templateresolution.WrapClusterWorkflowTemplateInterface(wfClient.ArgoprojV1alpha1().ClusterWorkflowTemplates()) - err := validate.ValidateCronWorkflow(wftmplGetter, cwftmplGetter, req.CronWorkflow) if err != nil { return nil, err } - - if len(c.instanceID) > 0 { - labels := req.CronWorkflow.GetLabels() - if labels == nil { - labels = make(map[string]string) - } - labels[common.LabelKeyControllerInstanceID] = c.instanceID - req.CronWorkflow.SetLabels(labels) - } - return wfClient.ArgoprojV1alpha1().CronWorkflows(req.Namespace).Create(req.CronWorkflow) } @@ -74,11 +64,11 @@ func (c *cronWorkflowServiceServer) GetCronWorkflow(ctx context.Context, req *cr if req.GetOptions != nil { options = *req.GetOptions } - return c.getCronWorkflow(ctx, req.Namespace, req.Name, options) + return c.getCronWorkflowAndValidate(ctx, req.Namespace, req.Name, options) } func (c *cronWorkflowServiceServer) UpdateCronWorkflow(ctx context.Context, req *cronworkflowpkg.UpdateCronWorkflowRequest) (*v1alpha1.CronWorkflow, error) { - _, err := c.getCronWorkflow(ctx, req.Namespace, req.Name, metav1.GetOptions{}) + _, err := c.getCronWorkflowAndValidate(ctx, req.Namespace, req.CronWorkflow.Name, metav1.GetOptions{}) if err != nil { return nil, err } @@ -86,7 +76,7 @@ func (c *cronWorkflowServiceServer) UpdateCronWorkflow(ctx context.Context, req } func (c *cronWorkflowServiceServer) DeleteCronWorkflow(ctx context.Context, req *cronworkflowpkg.DeleteCronWorkflowRequest) (*cronworkflowpkg.CronWorkflowDeletedResponse, error) { - _, err := c.getCronWorkflow(ctx, req.Namespace, req.Name, metav1.GetOptions{}) + _, err := c.getCronWorkflowAndValidate(ctx, req.Namespace, req.Name, metav1.GetOptions{}) if err != nil { return nil, err } @@ -97,45 +87,15 @@ func (c *cronWorkflowServiceServer) DeleteCronWorkflow(ctx context.Context, req return &cronworkflowpkg.CronWorkflowDeletedResponse{}, nil } -func (c *cronWorkflowServiceServer) withInstanceID(opt metav1.ListOptions) metav1.ListOptions { - if len(opt.LabelSelector) > 0 { - opt.LabelSelector += "," - } - if len(c.instanceID) == 0 { - opt.LabelSelector += fmt.Sprintf("!%s", common.LabelKeyControllerInstanceID) - return opt - } - opt.LabelSelector += fmt.Sprintf("%s=%s", common.LabelKeyControllerInstanceID, c.instanceID) - return opt -} - -func (c *cronWorkflowServiceServer) getCronWorkflow(ctx context.Context, namespace string, name string, options metav1.GetOptions) (*v1alpha1.CronWorkflow, error) { +func (c *cronWorkflowServiceServer) getCronWorkflowAndValidate(ctx context.Context, namespace string, name string, options metav1.GetOptions) (*v1alpha1.CronWorkflow, error) { wfClient := auth.GetWfClient(ctx) cronWf, err := wfClient.ArgoprojV1alpha1().CronWorkflows(namespace).Get(name, options) if err != nil { return nil, err } - ok := c.validateInstanceID(cronWf) - if !ok { - return nil, fmt.Errorf("CronWorkflow '%s' is not managed by the current Argo server", cronWf.Name) + err = c.instanceIDService.Validate(cronWf) + if err != nil { + return nil, err } return cronWf, nil } - -func (c *cronWorkflowServiceServer) validateInstanceID(cronWf *v1alpha1.CronWorkflow) bool { - if len(c.instanceID) == 0 { - if len(cronWf.Labels) == 0 { - return true - } - if _, ok := cronWf.Labels[common.LabelKeyControllerInstanceID]; !ok { - return true - } - } else if len(cronWf.Labels) > 0 { - if val, ok := cronWf.Labels[common.LabelKeyControllerInstanceID]; ok { - if val == c.instanceID { - return true - } - } - } - return false -} diff --git a/server/cronworkflow/cron_workflow_server_test.go b/server/cronworkflow/cron_workflow_server_test.go index 3fbf4cd3a0af..e6280973d069 100644 --- a/server/cronworkflow/cron_workflow_server_test.go +++ b/server/cronworkflow/cron_workflow_server_test.go @@ -4,21 +4,26 @@ import ( "context" "testing" - "github.com/ghodss/yaml" "github.com/stretchr/testify/assert" cronworkflowpkg "github.com/argoproj/argo/pkg/apiclient/cronworkflow" wfv1 "github.com/argoproj/argo/pkg/apis/workflow/v1alpha1" wftFake "github.com/argoproj/argo/pkg/client/clientset/versioned/fake" "github.com/argoproj/argo/server/auth" + testutil "github.com/argoproj/argo/test/util" + "github.com/argoproj/argo/util/instanceid" + "github.com/argoproj/argo/workflow/common" ) func Test_cronWorkflowServiceServer(t *testing.T) { - cronWfRaw := `apiVersion: argoproj.io/v1alpha1 + var unlabelled, cronWf wfv1.CronWorkflow + testutil.MustUnmarshallYAML(`apiVersion: argoproj.io/v1alpha1 kind: CronWorkflow metadata: name: my-name namespace: my-ns + labels: + workflows.argoproj.io/controller-instanceid: my-instanceid spec: schedule: "* * * * *" concurrencyPolicy: "Allow" @@ -35,15 +40,17 @@ spec: image: python:alpine3.6 imagePullPolicy: IfNotPresent command: ["sh", -c] - args: ["echo hello"]` + args: ["echo hello"]`, &cronWf) - var cronWf wfv1.CronWorkflow - err := yaml.Unmarshal([]byte(cronWfRaw), &cronWf) - if err != nil { - panic(err) - } - wfClientset := wftFake.NewSimpleClientset() - server := NewCronWorkflowServer("testinstanceid001") + testutil.MustUnmarshallYAML(`apiVersion: argoproj.io/v1alpha1 +kind: CronWorkflow +metadata: + name: unlabelled + namespace: my-ns +`, &unlabelled) + + wfClientset := wftFake.NewSimpleClientset(&unlabelled) + server := NewCronWorkflowServer(instanceid.NewService("my-instanceid")) ctx := context.WithValue(context.TODO(), auth.WfKey, wfClientset) t.Run("CreateCronWorkflow", func(t *testing.T) { @@ -53,6 +60,17 @@ spec: }) if assert.NoError(t, err) { assert.NotNil(t, created) + assert.Contains(t, created.Labels, common.LabelKeyControllerInstanceID) + } + }) + t.Run("LintWorkflow", func(t *testing.T) { + wf, err := server.LintCronWorkflow(ctx, &cronworkflowpkg.LintCronWorkflowRequest{ + Namespace: "my-ns", + CronWorkflow: &cronWf, + }) + if assert.NoError(t, err) { + assert.NotNil(t, wf) + assert.Contains(t, wf.Labels, common.LabelKeyControllerInstanceID) } }) t.Run("ListCronWorkflows", func(t *testing.T) { @@ -62,19 +80,37 @@ spec: } }) t.Run("GetCronWorkflow", func(t *testing.T) { - cronWf, err := server.GetCronWorkflow(ctx, &cronworkflowpkg.GetCronWorkflowRequest{Namespace: "my-ns", Name: "my-name"}) - if assert.NoError(t, err) { - assert.NotNil(t, cronWf) - } + t.Run("Labelled", func(t *testing.T) { + cronWf, err := server.GetCronWorkflow(ctx, &cronworkflowpkg.GetCronWorkflowRequest{Namespace: "my-ns", Name: "my-name"}) + if assert.NoError(t, err) { + assert.NotNil(t, cronWf) + } + }) + t.Run("Unlabelled", func(t *testing.T) { + _, err := server.GetCronWorkflow(ctx, &cronworkflowpkg.GetCronWorkflowRequest{Namespace: "my-ns", Name: "unlabelled"}) + assert.Error(t, err) + }) }) t.Run("UpdateCronWorkflow", func(t *testing.T) { - cronWf, err := server.UpdateCronWorkflow(ctx, &cronworkflowpkg.UpdateCronWorkflowRequest{Namespace: "my-ns", Name: "my-name", CronWorkflow: &cronWf}) - if assert.NoError(t, err) { - assert.NotNil(t, cronWf) - } + t.Run("Labelled", func(t *testing.T) { + cronWf, err := server.UpdateCronWorkflow(ctx, &cronworkflowpkg.UpdateCronWorkflowRequest{Namespace: "my-ns", CronWorkflow: &cronWf}) + if assert.NoError(t, err) { + assert.NotNil(t, cronWf) + } + }) + t.Run("Unlabelled", func(t *testing.T) { + _, err := server.UpdateCronWorkflow(ctx, &cronworkflowpkg.UpdateCronWorkflowRequest{Namespace: "my-ns", CronWorkflow: &unlabelled}) + assert.Error(t, err) + }) }) t.Run("DeleteCronWorkflow", func(t *testing.T) { - _, err := server.DeleteCronWorkflow(ctx, &cronworkflowpkg.DeleteCronWorkflowRequest{Name: "my-name", Namespace: "my-ns"}) - assert.NoError(t, err) + t.Run("Labelled", func(t *testing.T) { + _, err := server.DeleteCronWorkflow(ctx, &cronworkflowpkg.DeleteCronWorkflowRequest{Name: "my-name", Namespace: "my-ns"}) + assert.NoError(t, err) + }) + t.Run("Unlabelled", func(t *testing.T) { + _, err := server.DeleteCronWorkflow(ctx, &cronworkflowpkg.DeleteCronWorkflowRequest{Name: "unlabelled", Namespace: "my-ns"}) + assert.Error(t, err) + }) }) } diff --git a/server/workflow/test_server_stream_test.go b/server/workflow/test_server_stream_test.go new file mode 100644 index 000000000000..6f7211d351f5 --- /dev/null +++ b/server/workflow/test_server_stream_test.go @@ -0,0 +1,38 @@ +package workflow + +import ( + "context" + + "google.golang.org/grpc" + "google.golang.org/grpc/metadata" +) + +type testServerStream struct { + ctx context.Context +} + +var _ grpc.ServerStream = &testServerStream{} + +func (t testServerStream) SetHeader(md metadata.MD) error { + panic("implement me") +} + +func (t testServerStream) SendHeader(md metadata.MD) error { + panic("implement me") +} + +func (t testServerStream) SetTrailer(md metadata.MD) { + panic("implement me") +} + +func (t testServerStream) Context() context.Context { + return t.ctx +} + +func (t testServerStream) SendMsg(interface{}) error { + panic("implement me") +} + +func (t testServerStream) RecvMsg(interface{}) error { + panic("implement me") +} diff --git a/server/workflow/workflow_server.go b/server/workflow/workflow_server.go index fb12e055ce4b..571ced8883e5 100644 --- a/server/workflow/workflow_server.go +++ b/server/workflow/workflow_server.go @@ -14,6 +14,7 @@ import ( "github.com/argoproj/argo/pkg/apis/workflow" "github.com/argoproj/argo/pkg/apis/workflow/v1alpha1" "github.com/argoproj/argo/server/auth" + "github.com/argoproj/argo/util/instanceid" "github.com/argoproj/argo/util/logs" "github.com/argoproj/argo/workflow/common" "github.com/argoproj/argo/workflow/packer" @@ -23,31 +24,13 @@ import ( ) type workflowServer struct { - instanceID string + instanceIDService instanceid.Service offloadNodeStatusRepo sqldb.OffloadNodeStatusRepo } // NewWorkflowServer returns a new workflowServer -func NewWorkflowServer(instanceID string, offloadNodeStatusRepo sqldb.OffloadNodeStatusRepo) workflowpkg.WorkflowServiceServer { - return &workflowServer{ - instanceID: instanceID, - offloadNodeStatusRepo: offloadNodeStatusRepo, - } -} - -func (s *workflowServer) setInstanceID(instanceID string, wf *v1alpha1.Workflow) { - if instanceID != "" || s.instanceID != "" { - labels := wf.GetLabels() - if labels == nil { - labels = make(map[string]string) - } - if instanceID != "" { - labels[common.LabelKeyControllerInstanceID] = instanceID - } else { - labels[common.LabelKeyControllerInstanceID] = s.instanceID - } - wf.SetLabels(labels) - } +func NewWorkflowServer(instanceIDService instanceid.Service, offloadNodeStatusRepo sqldb.OffloadNodeStatusRepo) workflowpkg.WorkflowServiceServer { + return &workflowServer{instanceIDService, offloadNodeStatusRepo} } func (s *workflowServer) CreateWorkflow(ctx context.Context, req *workflowpkg.WorkflowCreateRequest) (*v1alpha1.Workflow, error) { @@ -61,7 +44,7 @@ func (s *workflowServer) CreateWorkflow(ctx context.Context, req *workflowpkg.Wo req.Workflow.Namespace = req.Namespace } - s.setInstanceID(req.InstanceID, req.Workflow) + s.instanceIDService.Label(req.Workflow) wftmplGetter := templateresolution.WrapWorkflowTemplateInterface(wfClient.ArgoprojV1alpha1().WorkflowTemplates(req.Namespace)) cwftmplGetter := templateresolution.WrapClusterWorkflowTemplateInterface(wfClient.ArgoprojV1alpha1().ClusterWorkflowTemplates()) @@ -95,7 +78,7 @@ func (s *workflowServer) GetWorkflow(ctx context.Context, req *workflowpkg.Workf if req.GetOptions != nil { wfGetOption = *req.GetOptions } - wf, err := s.getWorkflow(ctx, req.Namespace, req.Name, wfGetOption) + wf, err := s.getWorkflowAndValidate(ctx, req.Namespace, req.Name, wfGetOption) if err != nil { return nil, err } @@ -121,12 +104,12 @@ func (s *workflowServer) GetWorkflow(ctx context.Context, req *workflowpkg.Workf func (s *workflowServer) ListWorkflows(ctx context.Context, req *workflowpkg.WorkflowListRequest) (*v1alpha1.WorkflowList, error) { wfClient := auth.GetWfClient(ctx) - var listOption = metav1.ListOptions{} + var listOption = &metav1.ListOptions{} if req.ListOptions != nil { - listOption = *req.ListOptions + listOption = req.ListOptions } - - wfList, err := wfClient.ArgoprojV1alpha1().Workflows(req.Namespace).List(s.withInstanceID(listOption)) + s.instanceIDService.With(listOption) + wfList, err := wfClient.ArgoprojV1alpha1().Workflows(req.Namespace).List(*listOption) if err != nil { return nil, err } @@ -150,19 +133,19 @@ func (s *workflowServer) ListWorkflows(ctx context.Context, req *workflowpkg.Wor } func (s *workflowServer) WatchWorkflows(req *workflowpkg.WatchWorkflowsRequest, ws workflowpkg.WorkflowService_WatchWorkflowsServer) error { - wfClient := auth.GetWfClient(ws.Context()) - opts := metav1.ListOptions{} + ctx := ws.Context() + wfClient := auth.GetWfClient(ctx) + opts := &metav1.ListOptions{} if req.ListOptions != nil { - opts = *req.ListOptions + opts = req.ListOptions } - opts = s.withInstanceID(opts) + s.instanceIDService.With(opts) wfIf := wfClient.ArgoprojV1alpha1().Workflows(req.Namespace) - watch, err := wfIf.Watch(opts) + watch, err := wfIf.Watch(*opts) if err != nil { return err } defer watch.Stop() - ctx := ws.Context() log.Debug("Piping events to channel") defer log.Debug("Result channel done") @@ -174,7 +157,7 @@ func (s *workflowServer) WatchWorkflows(req *workflowpkg.WatchWorkflowsRequest, case event, open := <-watch.ResultChan(): if !open { log.Info("Re-establishing workflow watch") - watch, err = wfIf.Watch(opts) + watch, err = wfIf.Watch(*opts) if err != nil { return err } @@ -211,11 +194,10 @@ func (s *workflowServer) WatchWorkflows(req *workflowpkg.WatchWorkflowsRequest, } func (s *workflowServer) DeleteWorkflow(ctx context.Context, req *workflowpkg.WorkflowDeleteRequest) (*workflowpkg.WorkflowDeleteResponse, error) { - _, err := s.getWorkflow(ctx, req.Namespace, req.Name, metav1.GetOptions{}) + _, err := s.getWorkflowAndValidate(ctx, req.Namespace, req.Name, metav1.GetOptions{}) if err != nil { return nil, err } - err = auth.GetWfClient(ctx).ArgoprojV1alpha1().Workflows(req.Namespace).Delete(req.Name, &metav1.DeleteOptions{}) if err != nil { return nil, err @@ -227,7 +209,7 @@ func (s *workflowServer) RetryWorkflow(ctx context.Context, req *workflowpkg.Wor wfClient := auth.GetWfClient(ctx) kubeClient := auth.GetKubeClient(ctx) - wf, err := s.getWorkflow(ctx, req.Namespace, req.Name, metav1.GetOptions{}) + wf, err := s.getWorkflowAndValidate(ctx, req.Namespace, req.Name, metav1.GetOptions{}) if err != nil { return nil, err } @@ -241,7 +223,7 @@ func (s *workflowServer) RetryWorkflow(ctx context.Context, req *workflowpkg.Wor func (s *workflowServer) ResubmitWorkflow(ctx context.Context, req *workflowpkg.WorkflowResubmitRequest) (*v1alpha1.Workflow, error) { wfClient := auth.GetWfClient(ctx) - wf, err := s.getWorkflow(ctx, req.Namespace, req.Name, metav1.GetOptions{}) + wf, err := s.getWorkflowAndValidate(ctx, req.Namespace, req.Name, metav1.GetOptions{}) if err != nil { return nil, err } @@ -260,8 +242,7 @@ func (s *workflowServer) ResubmitWorkflow(ctx context.Context, req *workflowpkg. func (s *workflowServer) ResumeWorkflow(ctx context.Context, req *workflowpkg.WorkflowResumeRequest) (*v1alpha1.Workflow, error) { wfClient := auth.GetWfClient(ctx) - - _, err := s.getWorkflow(ctx, req.Namespace, req.Name, metav1.GetOptions{}) + _, err := s.getWorkflowAndValidate(ctx, req.Namespace, req.Name, metav1.GetOptions{}) if err != nil { return nil, err } @@ -283,7 +264,7 @@ func (s *workflowServer) ResumeWorkflow(ctx context.Context, req *workflowpkg.Wo func (s *workflowServer) SuspendWorkflow(ctx context.Context, req *workflowpkg.WorkflowSuspendRequest) (*v1alpha1.Workflow, error) { wfClient := auth.GetWfClient(ctx) - _, err := s.getWorkflow(ctx, req.Namespace, req.Name, metav1.GetOptions{}) + _, err := s.getWorkflowAndValidate(ctx, req.Namespace, req.Name, metav1.GetOptions{}) if err != nil { return nil, err } @@ -304,7 +285,7 @@ func (s *workflowServer) SuspendWorkflow(ctx context.Context, req *workflowpkg.W func (s *workflowServer) TerminateWorkflow(ctx context.Context, req *workflowpkg.WorkflowTerminateRequest) (*v1alpha1.Workflow, error) { wfClient := auth.GetWfClient(ctx) - _, err := s.getWorkflow(ctx, req.Namespace, req.Name, metav1.GetOptions{}) + _, err := s.getWorkflowAndValidate(ctx, req.Namespace, req.Name, metav1.GetOptions{}) if err != nil { return nil, err } @@ -323,7 +304,11 @@ func (s *workflowServer) TerminateWorkflow(ctx context.Context, req *workflowpkg func (s *workflowServer) StopWorkflow(ctx context.Context, req *workflowpkg.WorkflowStopRequest) (*v1alpha1.Workflow, error) { wfClient := auth.GetWfClient(ctx) - err := util.StopWorkflow(wfClient.ArgoprojV1alpha1().Workflows(req.Namespace), s.offloadNodeStatusRepo, req.Name, req.NodeFieldSelector, req.Message) + _, err := s.getWorkflowAndValidate(ctx, req.Namespace, req.Name, metav1.GetOptions{}) + if err != nil { + return nil, err + } + err = util.StopWorkflow(wfClient.ArgoprojV1alpha1().Workflows(req.Namespace), s.offloadNodeStatusRepo, req.Name, req.NodeFieldSelector, req.Message) if err != nil { return nil, err } @@ -337,9 +322,9 @@ func (s *workflowServer) StopWorkflow(ctx context.Context, req *workflowpkg.Work func (s *workflowServer) LintWorkflow(ctx context.Context, req *workflowpkg.WorkflowLintRequest) (*v1alpha1.Workflow, error) { wfClient := auth.GetWfClient(ctx) - wftmplGetter := templateresolution.WrapWorkflowTemplateInterface(wfClient.ArgoprojV1alpha1().WorkflowTemplates(req.Namespace)) cwftmplGetter := templateresolution.WrapClusterWorkflowTemplateInterface(wfClient.ArgoprojV1alpha1().ClusterWorkflowTemplates()) + s.instanceIDService.Label(req.Workflow) _, err := validate.ValidateWorkflow(wftmplGetter, cwftmplGetter, req.Workflow, validate.ValidateOpts{Lint: true}) @@ -354,52 +339,26 @@ func (s *workflowServer) PodLogs(req *workflowpkg.WorkflowLogRequest, ws workflo ctx := ws.Context() wfClient := auth.GetWfClient(ctx) kubeClient := auth.GetKubeClient(ctx) - return logs.WorkflowLogs(ctx, wfClient, kubeClient, req, ws) -} - -func (s *workflowServer) withInstanceID(opt metav1.ListOptions) metav1.ListOptions { - if len(opt.LabelSelector) > 0 { - opt.LabelSelector += "," - } - if len(s.instanceID) == 0 { - opt.LabelSelector += fmt.Sprintf("!%s", common.LabelKeyControllerInstanceID) - return opt + _, err := s.getWorkflowAndValidate(ctx, req.Namespace, req.Name, metav1.GetOptions{}) + if err != nil { + return err } - opt.LabelSelector += fmt.Sprintf("%s=%s", common.LabelKeyControllerInstanceID, s.instanceID) - return opt + return logs.WorkflowLogs(ctx, wfClient, kubeClient, req, ws) } -func (s *workflowServer) getWorkflow(ctx context.Context, namespace string, name string, options metav1.GetOptions) (*v1alpha1.Workflow, error) { +func (s *workflowServer) getWorkflowAndValidate(ctx context.Context, namespace string, name string, options metav1.GetOptions) (*v1alpha1.Workflow, error) { wfClient := auth.GetWfClient(ctx) wf, err := wfClient.ArgoprojV1alpha1().Workflows(namespace).Get(name, options) if err != nil { return nil, err } - ok := s.validateInstanceID(wf) - if !ok { - return nil, fmt.Errorf("Workflow '%s' is not managed by the current Argo server", wf.Name) + err = s.instanceIDService.Validate(wf) + if err != nil { + return nil, err } return wf, nil } -func (s *workflowServer) validateInstanceID(wf *v1alpha1.Workflow) bool { - if len(s.instanceID) == 0 { - if len(wf.Labels) == 0 { - return true - } - if _, ok := wf.Labels[common.LabelKeyControllerInstanceID]; !ok { - return true - } - } else if len(wf.Labels) > 0 { - if val, ok := wf.Labels[common.LabelKeyControllerInstanceID]; ok { - if val == s.instanceID { - return true - } - } - } - return false -} - func (s *workflowServer) SubmitWorkflow(ctx context.Context, req *workflowpkg.WorkflowSubmitRequest) (*v1alpha1.Workflow, error) { wfClient := auth.GetWfClient(ctx) var wf *v1alpha1.Workflow @@ -428,6 +387,7 @@ func (s *workflowServer) SubmitWorkflow(ctx context.Context, req *workflowpkg.Wo } + s.instanceIDService.Label(wf) err := util.ApplySubmitOpts(wf, req.SubmitOptions) if err != nil { return nil, err diff --git a/server/workflow/workflow_server_test.go b/server/workflow/workflow_server_test.go index c592ec65eb2f..b78fafcc6091 100644 --- a/server/workflow/workflow_server_test.go +++ b/server/workflow/workflow_server_test.go @@ -8,6 +8,7 @@ import ( "github.com/stretchr/testify/assert" "github.com/stretchr/testify/mock" + corev1 "k8s.io/api/core/v1" "k8s.io/apimachinery/pkg/runtime" "k8s.io/apimachinery/pkg/util/rand" "k8s.io/client-go/kubernetes/fake" @@ -19,8 +20,38 @@ import ( "github.com/argoproj/argo/pkg/apis/workflow/v1alpha1" v1alpha "github.com/argoproj/argo/pkg/client/clientset/versioned/fake" "github.com/argoproj/argo/server/auth" + testutil "github.com/argoproj/argo/test/util" + "github.com/argoproj/argo/util/instanceid" + "github.com/argoproj/argo/workflow/common" ) +const unlabelled = `{ + "apiVersion": "argoproj.io/v1alpha1", + "kind": "Workflow", + "metadata": { + "namespace": "workflows", + "name": "unlabelled", + "labels": { + "workflows.argoproj.io/phase": "Failed" + } + }, + "spec": { + "entrypoint": "whalesay", + "templates": [ + { + "container": { + "image": "docker/whalesay:latest" + }, + "name": "whalesay" + } + ] + }, + "status": { + "phase": "Failed" + } +} +` + const wf1 = ` { "apiVersion": "argoproj.io/v1alpha1", @@ -30,7 +61,7 @@ const wf1 = ` "generateName": "hello-world-", "generation": 5, "labels": { - "workflows.argoproj.io/controller-instanceid": "testinstanceid001", + "workflows.argoproj.io/controller-instanceid": "my-instanceid", "workflows.argoproj.io/completed": "true", "workflows.argoproj.io/phase": "Succeeded" }, @@ -92,7 +123,7 @@ const wf2 = ` "generateName": "hello-world-", "generation": 5, "labels": { - "workflows.argoproj.io/controller-instanceid": "testinstanceid001", + "workflows.argoproj.io/controller-instanceid": "my-instanceid", "workflows.argoproj.io/completed": "true", "workflows.argoproj.io/phase": "Succeeded" }, @@ -154,7 +185,7 @@ const wf3 = ` "generateName": "hello-world-", "generation": 5, "labels": { - "workflows.argoproj.io/controller-instanceid": "testinstanceid001", + "workflows.argoproj.io/controller-instanceid": "my-instanceid", "workflows.argoproj.io/completed": "true", "workflows.argoproj.io/phase": "Succeeded" }, @@ -216,7 +247,7 @@ const wf4 = ` "generateName": "hello-world-", "generation": 5, "labels": { - "workflows.argoproj.io/controller-instanceid": "testinstanceid001", + "workflows.argoproj.io/controller-instanceid": "my-instanceid", "workflows.argoproj.io/completed": "true", "workflows.argoproj.io/phase": "Succeeded" }, @@ -278,7 +309,7 @@ const wf5 = ` "generateName": "hello-world-", "generation": 5, "labels": { - "workflows.argoproj.io/controller-instanceid": "testinstanceid001", + "workflows.argoproj.io/controller-instanceid": "my-instanceid", "workflows.argoproj.io/completed": "false", "workflows.argoproj.io/phase": "Running" }, @@ -331,6 +362,34 @@ const wf5 = ` } } ` + +const failedWf = ` +{ + "apiVersion": "argoproj.io/v1alpha1", + "kind": "Workflow", + "metadata": { + "name": "failed", + "namespace": "workflows", + "labels": { + "workflows.argoproj.io/controller-instanceid": "my-instanceid" + } + }, + "spec": { + "entrypoint": "whalesay", + "templates": [ + { + "container": { + "image": "docker/whalesay:latest" + }, + "name": "whalesay" + } + ] + }, + "status": { + "phase": "Failed" + } +} +` const workflow1 = ` { "namespace": "default", @@ -338,10 +397,7 @@ const workflow1 = ` "apiVersion": "argoproj.io/v1alpha1", "kind": "Workflow", "metadata": { - "generateName": "hello-world-", - "labels": { - "workflows.argoproj.io/controller-instanceid": "testinstanceid001" - } + "generateName": "hello-world-" }, "spec": { "entrypoint": "whalesay", @@ -363,7 +419,6 @@ const workflow1 = ` } } ` - const workflowtmpl = ` { "apiVersion": "argoproj.io/v1alpha1", @@ -485,30 +540,31 @@ const clusterworkflowtmpl = ` } ` -const testInstanceID = "testinstanceid001" - func getWorkflowServer() (workflowpkg.WorkflowServiceServer, context.Context) { - var wfObj1, wfObj2, wfObj3, wfObj4, wfObj5 v1alpha1.Workflow + var unlabelledObj, wfObj1, wfObj2, wfObj3, wfObj4, wfObj5, failedWfObj v1alpha1.Workflow var wftmpl v1alpha1.WorkflowTemplate var cwfTmpl v1alpha1.ClusterWorkflowTemplate var cronwfObj v1alpha1.CronWorkflow - _ = json.Unmarshal([]byte(wf1), &wfObj1) - _ = json.Unmarshal([]byte(wf2), &wfObj2) - _ = json.Unmarshal([]byte(wf3), &wfObj3) - _ = json.Unmarshal([]byte(wf4), &wfObj4) - _ = json.Unmarshal([]byte(wf5), &wfObj5) - _ = json.Unmarshal([]byte(workflowtmpl), &wftmpl) - _ = json.Unmarshal([]byte(cronwf), &cronwfObj) - _ = json.Unmarshal([]byte(clusterworkflowtmpl), &cwfTmpl) + testutil.MustUnmarshallJSON(unlabelled, &unlabelledObj) + testutil.MustUnmarshallJSON(wf1, &wfObj1) + testutil.MustUnmarshallJSON(wf1, &wfObj1) + testutil.MustUnmarshallJSON(wf2, &wfObj2) + testutil.MustUnmarshallJSON(wf3, &wfObj3) + testutil.MustUnmarshallJSON(wf4, &wfObj4) + testutil.MustUnmarshallJSON(wf5, &wfObj5) + testutil.MustUnmarshallJSON(failedWf, &failedWfObj) + testutil.MustUnmarshallJSON(workflowtmpl, &wftmpl) + testutil.MustUnmarshallJSON(cronwf, &cronwfObj) + testutil.MustUnmarshallJSON(clusterworkflowtmpl, &cwfTmpl) offloadNodeStatusRepo := &mocks.OffloadNodeStatusRepo{} offloadNodeStatusRepo.On("IsEnabled", mock.Anything).Return(true) offloadNodeStatusRepo.On("List", mock.Anything).Return(map[sqldb.UUIDVersion]v1alpha1.Nodes{}, nil) - server := NewWorkflowServer(testInstanceID, offloadNodeStatusRepo) + server := NewWorkflowServer(instanceid.NewService("my-instanceid"), offloadNodeStatusRepo) kubeClientSet := fake.NewSimpleClientset() - wfClientset := v1alpha.NewSimpleClientset(&wfObj1, &wfObj2, &wfObj3, &wfObj4, &wfObj5, &wftmpl, &cronwfObj, &cwfTmpl) + wfClientset := v1alpha.NewSimpleClientset(&unlabelledObj, &wfObj1, &wfObj2, &wfObj3, &wfObj4, &wfObj5, &failedWfObj, &wftmpl, &cronwfObj, &cwfTmpl) wfClientset.PrependReactor("create", "workflows", generateNameReactor) ctx := context.WithValue(context.WithValue(context.TODO(), auth.WfKey, wfClientset), auth.KubeKey, kubeClientSet) return server, ctx @@ -525,115 +581,117 @@ func generateNameReactor(action ktesting.Action) (handled bool, ret runtime.Obje } func getWorkflow(ctx context.Context, server workflowpkg.WorkflowServiceServer, namespace string, wfName string) (*v1alpha1.Workflow, error) { - - req := workflowpkg.WorkflowGetRequest{ + return server.GetWorkflow(ctx, &workflowpkg.WorkflowGetRequest{ Name: wfName, Namespace: namespace, - } - - return server.GetWorkflow(ctx, &req) + }) } func getWorkflowList(ctx context.Context, server workflowpkg.WorkflowServiceServer, namespace string) (*v1alpha1.WorkflowList, error) { return server.ListWorkflows(ctx, &workflowpkg.WorkflowListRequest{Namespace: namespace}) - } func TestCreateWorkflow(t *testing.T) { - server, ctx := getWorkflowServer() var req workflowpkg.WorkflowCreateRequest - _ = json.Unmarshal([]byte(workflow1), &req) - + testutil.MustUnmarshallJSON(workflow1, &req) wf, err := server.CreateWorkflow(ctx, &req) + if assert.NoError(t, err) { + assert.NotNil(t, wf) + assert.Contains(t, wf.Labels, common.LabelKeyControllerInstanceID) + } +} - assert.NotNil(t, wf) - assert.Nil(t, err) - +type testWatchWorkflowServer struct { + testServerStream } -func TestGetWorkflowWithFound(t *testing.T) { +func (t testWatchWorkflowServer) Send(*workflowpkg.WorkflowWatchEvent) error { + panic("implement me") +} +func TestWatchWorkflows(t *testing.T) { server, ctx := getWorkflowServer() - - wf, err := getWorkflow(ctx, server, "workflows", "hello-world-b6h5m") - assert.NotNil(t, wf) - assert.Nil(t, err) - - wf, err = getWorkflow(ctx, server, "test", "hello-world-b6h5m-test") - assert.NotNil(t, wf) - assert.Nil(t, err) + wf := &v1alpha1.Workflow{ + Status: v1alpha1.WorkflowStatus{Phase: v1alpha1.NodeSucceeded}, + } + assert.NoError(t, json.Unmarshal([]byte(wf1), &wf)) + ctx, cancel := context.WithCancel(ctx) + go func() { + err := server.WatchWorkflows(&workflowpkg.WatchWorkflowsRequest{}, &testWatchWorkflowServer{testServerStream{ctx}}) + assert.EqualError(t, err, "context canceled") + }() + cancel() } func TestGetWorkflowWithNotFound(t *testing.T) { - server, ctx := getWorkflowServer() - - wf, err := getWorkflow(ctx, server, "test", "NotFound") - assert.Nil(t, wf) - assert.NotNil(t, err) - + t.Run("Labelled", func(t *testing.T) { + wf, err := getWorkflow(ctx, server, "test", "NotFound") + if assert.Error(t, err) { + assert.Nil(t, wf) + } + }) + t.Run("Unlabelled", func(t *testing.T) { + _, err := getWorkflow(ctx, server, "test", "unlabelled") + assert.Error(t, err) + }) } func TestListWorkflow(t *testing.T) { - server, ctx := getWorkflowServer() - wfl, err := getWorkflowList(ctx, server, "workflows") - assert.NotNil(t, wfl) - assert.Equal(t, 3, len(wfl.Items)) - assert.Nil(t, err) - + if assert.NoError(t, err) { + assert.NotNil(t, wfl) + assert.Equal(t, 4, len(wfl.Items)) + } wfl, err = getWorkflowList(ctx, server, "test") - assert.NotNil(t, wfl) - assert.Equal(t, 2, len(wfl.Items)) - assert.Nil(t, err) + if assert.NoError(t, err) { + assert.NotNil(t, wfl) + assert.Equal(t, 2, len(wfl.Items)) + } } func TestDeleteWorkflow(t *testing.T) { - server, ctx := getWorkflowServer() + t.Run("Labelled", func(t *testing.T) { + delRsp, err := server.DeleteWorkflow(ctx, &workflowpkg.WorkflowDeleteRequest{Name: "hello-world-b6h5m", Namespace: "workflows"}) + if assert.NoError(t, err) { + assert.NotNil(t, delRsp) + } + }) + t.Run("Unlabelled", func(t *testing.T) { + _, err := server.DeleteWorkflow(ctx, &workflowpkg.WorkflowDeleteRequest{Name: "unlabelled", Namespace: "workflows"}) + assert.Error(t, err) + }) +} - wf, err := getWorkflow(ctx, server, "workflows", "hello-world-b6h5m") - assert.Nil(t, err) - delReq := workflowpkg.WorkflowDeleteRequest{ - Name: wf.Name, - Namespace: wf.Namespace, - } - - delRsp, err := server.DeleteWorkflow(ctx, &delReq) - - assert.NoError(t, err) - assert.NotNil(t, delRsp) - - wfl, err := getWorkflowList(ctx, server, "workflows") - if assert.NoError(t, err) { - assert.Len(t, wfl.Items, 2) - } +func TestRetryWorkflow(t *testing.T) { + server, ctx := getWorkflowServer() + t.Run("Labelled", func(t *testing.T) { + retried, err := server.RetryWorkflow(ctx, &workflowpkg.WorkflowRetryRequest{Name: "failed", Namespace: "workflows"}) + if assert.NoError(t, err) { + assert.NotNil(t, retried) + } + }) + t.Run("Unlabelled", func(t *testing.T) { + _, err := server.RetryWorkflow(ctx, &workflowpkg.WorkflowRetryRequest{Name: "unlabelled", Namespace: "workflows"}) + assert.Error(t, err) + }) } func TestSuspendResumeWorkflow(t *testing.T) { server, ctx := getWorkflowServer() - - wf, err := getWorkflow(ctx, server, "workflows", "hello-world-9tql2-run") - assert.Nil(t, err) - susWfReq := workflowpkg.WorkflowSuspendRequest{ - Name: wf.Name, - Namespace: wf.Namespace, - } - wf, err = server.SuspendWorkflow(ctx, &susWfReq) - assert.NotNil(t, wf) - assert.Equal(t, true, *wf.Spec.Suspend) - assert.Nil(t, err) - rsmWfReq := workflowpkg.WorkflowResumeRequest{ - Name: wf.Name, - Namespace: wf.Namespace, + wf, err := server.SuspendWorkflow(ctx, &workflowpkg.WorkflowSuspendRequest{Name: "hello-world-9tql2-run", Namespace: "workflows"}) + if assert.NoError(t, err) { + assert.NotNil(t, wf) + assert.Equal(t, true, *wf.Spec.Suspend) + wf, err = server.ResumeWorkflow(ctx, &workflowpkg.WorkflowResumeRequest{Name: wf.Name, Namespace: wf.Namespace}) + if assert.NoError(t, err) { + assert.NotNil(t, wf) + assert.Nil(t, wf.Spec.Suspend) + } } - wf, err = server.ResumeWorkflow(ctx, &rsmWfReq) - - assert.NotNil(t, wf) - assert.Nil(t, wf.Spec.Suspend) - assert.Nil(t, err) } func TestSuspendResumeWorkflowWithNotFound(t *testing.T) { @@ -678,22 +736,66 @@ func TestTerminateWorkflow(t *testing.T) { assert.NotNil(t, err) } -func TestResubmitWorkflow(t *testing.T) { +func TestStopWorkflow(t *testing.T) { + server, ctx := getWorkflowServer() + wf, err := getWorkflow(ctx, server, "workflows", "hello-world-9tql2-run") + assert.NoError(t, err) + rsmWfReq := workflowpkg.WorkflowStopRequest{Name: wf.Name, Namespace: wf.Namespace} + wf, err = server.StopWorkflow(ctx, &rsmWfReq) + if assert.NoError(t, err) { + assert.NotNil(t, wf) + assert.Equal(t, v1alpha1.NodeRunning, wf.Status.Phase) + } +} +func TestResubmitWorkflow(t *testing.T) { server, ctx := getWorkflowServer() - wf, err := getWorkflow(ctx, server, "workflows", "hello-world-9tql2") - assert.Nil(t, err) - wf, err = server.ResubmitWorkflow(ctx, &workflowpkg.WorkflowResubmitRequest{ - Name: wf.Name, - Namespace: wf.Namespace, + t.Run("Labelled", func(t *testing.T) { + wf, err := server.ResubmitWorkflow(ctx, &workflowpkg.WorkflowResubmitRequest{Name: "hello-world-9tql2", Namespace: "workflows"}) + if assert.NoError(t, err) { + assert.NotNil(t, wf) + } + }) + t.Run("Unlabelled", func(t *testing.T) { + _, err := server.ResubmitWorkflow(ctx, &workflowpkg.WorkflowResubmitRequest{Name: "unlabelled", Namespace: "workflows"}) + assert.Error(t, err) }) +} + +func TestLintWorkflow(t *testing.T) { + server, ctx := getWorkflowServer() + wf := &v1alpha1.Workflow{} + testutil.MustUnmarshallJSON(unlabelled, &wf) + linted, err := server.LintWorkflow(ctx, &workflowpkg.WorkflowLintRequest{Workflow: wf}) if assert.NoError(t, err) { - assert.NotNil(t, wf) + assert.NotNil(t, linted) + assert.Contains(t, linted.Labels, common.LabelKeyControllerInstanceID) } } -func TestSubmitWorkflowFromResource(t *testing.T) { +type testPodLogsServer struct { + testServerStream +} +func (t testPodLogsServer) Send(*workflowpkg.LogEntry) error { + panic("implement me") +} + +func TestPodLogs(t *testing.T) { + server, ctx := getWorkflowServer() + ctx, cancel := context.WithCancel(ctx) + go func() { + err := server.PodLogs(&workflowpkg.WorkflowLogRequest{ + Name: "hello-world-9tql2", + Namespace: "workflows", + LogOptions: &corev1.PodLogOptions{}, + }, &testPodLogsServer{testServerStream{ctx}}) + assert.NoError(t, err) + }() + cancel() +} + +func TestSubmitWorkflowFromResource(t *testing.T) { server, ctx := getWorkflowServer() t.Run("SubmitFromWorkflowTemplate", func(t *testing.T) { wf, err := server.SubmitWorkflow(ctx, &workflowpkg.WorkflowSubmitRequest{ @@ -703,6 +805,7 @@ func TestSubmitWorkflowFromResource(t *testing.T) { }) if assert.NoError(t, err) { assert.NotNil(t, wf) + assert.Contains(t, wf.Labels, common.LabelKeyControllerInstanceID) } }) t.Run("SubmitFromCronWorkflow", func(t *testing.T) { @@ -713,6 +816,7 @@ func TestSubmitWorkflowFromResource(t *testing.T) { }) if assert.NoError(t, err) { assert.NotNil(t, wf) + assert.Contains(t, wf.Labels, common.LabelKeyControllerInstanceID) } }) t.Run("SubmitFromClusterWorkflowTemplate", func(t *testing.T) { @@ -723,7 +827,7 @@ func TestSubmitWorkflowFromResource(t *testing.T) { }) if assert.NoError(t, err) { assert.NotNil(t, wf) + assert.Contains(t, wf.Labels, common.LabelKeyControllerInstanceID) } }) - } diff --git a/server/workflowtemplate/workflow_template_server.go b/server/workflowtemplate/workflow_template_server.go index 6fc2b8ab952a..7e4b8fbee843 100644 --- a/server/workflowtemplate/workflow_template_server.go +++ b/server/workflowtemplate/workflow_template_server.go @@ -10,15 +10,17 @@ import ( workflowtemplatepkg "github.com/argoproj/argo/pkg/apiclient/workflowtemplate" "github.com/argoproj/argo/pkg/apis/workflow/v1alpha1" "github.com/argoproj/argo/server/auth" + "github.com/argoproj/argo/util/instanceid" "github.com/argoproj/argo/workflow/templateresolution" "github.com/argoproj/argo/workflow/validate" ) type WorkflowTemplateServer struct { + instanceIDService instanceid.Service } -func NewWorkflowTemplateServer() workflowtemplatepkg.WorkflowTemplateServiceServer { - return &WorkflowTemplateServer{} +func NewWorkflowTemplateServer(instanceIDService instanceid.Service) workflowtemplatepkg.WorkflowTemplateServiceServer { + return &WorkflowTemplateServer{instanceIDService} } func (wts *WorkflowTemplateServer) CreateWorkflowTemplate(ctx context.Context, req *workflowtemplatepkg.WorkflowTemplateCreateRequest) (*v1alpha1.WorkflowTemplate, error) { @@ -26,38 +28,41 @@ func (wts *WorkflowTemplateServer) CreateWorkflowTemplate(ctx context.Context, r if req.Template == nil { return nil, fmt.Errorf("workflow template was not found in the request body") } + wts.instanceIDService.Label(req.Template) wftmplGetter := templateresolution.WrapWorkflowTemplateInterface(wfClient.ArgoprojV1alpha1().WorkflowTemplates(req.Namespace)) - cwftmplGetter := templateresolution.WrapClusterWorkflowTemplateInterface(wfClient.ArgoprojV1alpha1().ClusterWorkflowTemplates()) - _, err := validate.ValidateWorkflowTemplate(wftmplGetter, cwftmplGetter, req.Template) if err != nil { return nil, err } - return wfClient.ArgoprojV1alpha1().WorkflowTemplates(req.Namespace).Create(req.Template) - } func (wts *WorkflowTemplateServer) GetWorkflowTemplate(ctx context.Context, req *workflowtemplatepkg.WorkflowTemplateGetRequest) (*v1alpha1.WorkflowTemplate, error) { - wfClient := auth.GetWfClient(ctx) - - wfTmpl, err := wfClient.ArgoprojV1alpha1().WorkflowTemplates(req.Namespace).Get(req.Name, v1.GetOptions{}) + return wts.getTemplateAndValidate(ctx, req.Namespace, req.Name) +} +func (wts *WorkflowTemplateServer) getTemplateAndValidate(ctx context.Context, namespace string, name string) (*v1alpha1.WorkflowTemplate, error) { + wfClient := auth.GetWfClient(ctx) + wfTmpl, err := wfClient.ArgoprojV1alpha1().WorkflowTemplates(namespace).Get(name, v1.GetOptions{}) if err != nil { return nil, err } - - return wfTmpl, err + err = wts.instanceIDService.Validate(wfTmpl) + if err != nil { + return nil, err + } + return wfTmpl, nil } func (wts *WorkflowTemplateServer) ListWorkflowTemplates(ctx context.Context, req *workflowtemplatepkg.WorkflowTemplateListRequest) (*v1alpha1.WorkflowTemplateList, error) { wfClient := auth.GetWfClient(ctx) - options := v1.ListOptions{} + options := &v1.ListOptions{} if req.ListOptions != nil { - options = *req.ListOptions + options = req.ListOptions } - wfList, err := wfClient.ArgoprojV1alpha1().WorkflowTemplates(req.Namespace).List(options) + wts.instanceIDService.With(options) + wfList, err := wfClient.ArgoprojV1alpha1().WorkflowTemplates(req.Namespace).List(*options) if err != nil { return nil, err } @@ -69,27 +74,26 @@ func (wts *WorkflowTemplateServer) ListWorkflowTemplates(ctx context.Context, re func (wts *WorkflowTemplateServer) DeleteWorkflowTemplate(ctx context.Context, req *workflowtemplatepkg.WorkflowTemplateDeleteRequest) (*workflowtemplatepkg.WorkflowTemplateDeleteResponse, error) { wfClient := auth.GetWfClient(ctx) - - err := wfClient.ArgoprojV1alpha1().WorkflowTemplates(req.Namespace).Delete(req.Name, &v1.DeleteOptions{}) + _, err := wts.getTemplateAndValidate(ctx, req.Namespace, req.Name) + if err != nil { + return nil, err + } + err = wfClient.ArgoprojV1alpha1().WorkflowTemplates(req.Namespace).Delete(req.Name, &v1.DeleteOptions{}) if err != nil { return nil, err } - return &workflowtemplatepkg.WorkflowTemplateDeleteResponse{}, nil } func (wts *WorkflowTemplateServer) LintWorkflowTemplate(ctx context.Context, req *workflowtemplatepkg.WorkflowTemplateLintRequest) (*v1alpha1.WorkflowTemplate, error) { wfClient := auth.GetWfClient(ctx) - + wts.instanceIDService.Label(req.Template) wftmplGetter := templateresolution.WrapWorkflowTemplateInterface(wfClient.ArgoprojV1alpha1().WorkflowTemplates(req.Namespace)) - cwftmplGetter := templateresolution.WrapClusterWorkflowTemplateInterface(wfClient.ArgoprojV1alpha1().ClusterWorkflowTemplates()) - _, err := validate.ValidateWorkflowTemplate(wftmplGetter, cwftmplGetter, req.Template) if err != nil { return nil, err } - return req.Template, nil } @@ -97,16 +101,17 @@ func (wts *WorkflowTemplateServer) UpdateWorkflowTemplate(ctx context.Context, r if req.Template == nil { return nil, fmt.Errorf("WorkflowTemplate is not found in Request body") } + err := wts.instanceIDService.Validate(req.Template) + if err != nil { + return nil, err + } wfClient := auth.GetWfClient(ctx) wftmplGetter := templateresolution.WrapWorkflowTemplateInterface(wfClient.ArgoprojV1alpha1().WorkflowTemplates(req.Namespace)) - cwftmplGetter := templateresolution.WrapClusterWorkflowTemplateInterface(wfClient.ArgoprojV1alpha1().ClusterWorkflowTemplates()) - - _, err := validate.ValidateWorkflowTemplate(wftmplGetter, cwftmplGetter, req.Template) + _, err = validate.ValidateWorkflowTemplate(wftmplGetter, cwftmplGetter, req.Template) if err != nil { return nil, err } - res, err := wfClient.ArgoprojV1alpha1().WorkflowTemplates(req.Namespace).Update(req.Template) return res, err } diff --git a/server/workflowtemplate/workflow_template_server_test.go b/server/workflowtemplate/workflow_template_server_test.go index ba2e2089138c..539d5624d4dc 100644 --- a/server/workflowtemplate/workflow_template_server_test.go +++ b/server/workflowtemplate/workflow_template_server_test.go @@ -2,26 +2,40 @@ package workflowtemplate import ( "context" - "encoding/json" "testing" - workflowtemplatepkg "github.com/argoproj/argo/pkg/apiclient/workflowtemplate" - "github.com/argoproj/argo/server/auth" - "github.com/stretchr/testify/assert" + metav1 "k8s.io/apimachinery/pkg/apis/meta/v1" "k8s.io/client-go/kubernetes/fake" + workflowtemplatepkg "github.com/argoproj/argo/pkg/apiclient/workflowtemplate" "github.com/argoproj/argo/pkg/apis/workflow/v1alpha1" wftFake "github.com/argoproj/argo/pkg/client/clientset/versioned/fake" + "github.com/argoproj/argo/server/auth" + testutil "github.com/argoproj/argo/test/util" + "github.com/argoproj/argo/util/instanceid" + "github.com/argoproj/argo/workflow/common" ) +const unlabelled = `{ + "apiVersion": "argoproj.io/v1alpha1", + "kind": "WorkflowTemplate", + "metadata": { + "name": "unlabelled", + "namespace": "default" + } +}` + const wftStr1 = `{ "namespace": "default", "template": { "apiVersion": "argoproj.io/v1alpha1", "kind": "WorkflowTemplate", "metadata": { - "name": "workflow-template-whalesay-template" + "name": "workflow-template-whalesay-template", + "labels": { + "workflows.argoproj.io/controller-instanceid": "my-instanceid" + } }, "spec": { "arguments": { @@ -62,7 +76,10 @@ const wftStr2 = `{ "kind": "WorkflowTemplate", "metadata": { "name": "workflow-template-whalesay-template2", - "namespace": "default" + "namespace": "default", + "labels": { + "workflows.argoproj.io/controller-instanceid": "my-instanceid" + } }, "spec": { "arguments": { @@ -103,7 +120,10 @@ const wftStr3 = `{ "kind": "WorkflowTemplate", "metadata": { "name": "workflow-template-whalesay-template3", - "namespace": "default" + "namespace": "default", + "labels": { + "workflows.argoproj.io/controller-instanceid": "my-instanceid" + } }, "spec": { "arguments": { @@ -139,61 +159,61 @@ const wftStr3 = `{ }` func getWorkflowTemplateServer() (workflowtemplatepkg.WorkflowTemplateServiceServer, context.Context) { - var wftObj1, wftObj2 v1alpha1.WorkflowTemplate - err := json.Unmarshal([]byte(wftStr2), &wftObj1) - if err != nil { - panic(err) - } - err = json.Unmarshal([]byte(wftStr3), &wftObj2) - if err != nil { - panic(err) - } + var unlabelledObj, wftObj1, wftObj2 v1alpha1.WorkflowTemplate + testutil.MustUnmarshallJSON(unlabelled, &unlabelledObj) + testutil.MustUnmarshallJSON(wftStr2, &wftObj1) + testutil.MustUnmarshallJSON(wftStr3, &wftObj2) kubeClientSet := fake.NewSimpleClientset() - wfClientset := wftFake.NewSimpleClientset(&wftObj1, &wftObj2) + wfClientset := wftFake.NewSimpleClientset(&unlabelledObj, &wftObj1, &wftObj2) ctx := context.WithValue(context.WithValue(context.TODO(), auth.WfKey, wfClientset), auth.KubeKey, kubeClientSet) - return NewWorkflowTemplateServer(), ctx + return NewWorkflowTemplateServer(instanceid.NewService("my-instanceid")), ctx } func TestWorkflowTemplateServer_CreateWorkflowTemplate(t *testing.T) { server, ctx := getWorkflowTemplateServer() - var wftReq workflowtemplatepkg.WorkflowTemplateCreateRequest - err := json.Unmarshal([]byte(wftStr1), &wftReq) - if err != nil { - panic(err) - } - wftRsp, err := server.CreateWorkflowTemplate(ctx, &wftReq) - if assert.NoError(t, err) { - assert.NotNil(t, wftRsp) - } + t.Run("Labelled", func(t *testing.T) { + var wftReq workflowtemplatepkg.WorkflowTemplateCreateRequest + testutil.MustUnmarshallJSON(wftStr1, &wftReq) + wftRsp, err := server.CreateWorkflowTemplate(ctx, &wftReq) + if assert.NoError(t, err) { + assert.NotNil(t, wftRsp) + } + }) + t.Run("Unlabelled", func(t *testing.T) { + var wftReq workflowtemplatepkg.WorkflowTemplateCreateRequest + testutil.MustUnmarshallJSON(unlabelled, &wftReq.Template) + wftReq.Namespace = "default" + wftReq.Template.Name = "foo" + wftRsp, err := server.CreateWorkflowTemplate(ctx, &wftReq) + if assert.NoError(t, err) { + assert.NotNil(t, wftRsp) + assert.Contains(t, wftRsp.Labels, common.LabelKeyControllerInstanceID) + } + }) } func TestWorkflowTemplateServer_GetWorkflowTemplate(t *testing.T) { server, ctx := getWorkflowTemplateServer() - wftReq := workflowtemplatepkg.WorkflowTemplateGetRequest{ - Name: "workflow-template-whalesay-template2", - Namespace: "default", - } - wftRsp, err := server.GetWorkflowTemplate(ctx, &wftReq) - if assert.NoError(t, err) { - assert.NotNil(t, wftRsp) - assert.Equal(t, "workflow-template-whalesay-template2", wftRsp.Name) - } + t.Run("Labelled", func(t *testing.T) { + wftRsp, err := server.GetWorkflowTemplate(ctx, &workflowtemplatepkg.WorkflowTemplateGetRequest{Name: "workflow-template-whalesay-template2", Namespace: "default"}) + if assert.NoError(t, err) { + assert.NotNil(t, wftRsp) + assert.Equal(t, "workflow-template-whalesay-template2", wftRsp.Name) + } + }) + t.Run("Unlabelled", func(t *testing.T) { + _, err := server.GetWorkflowTemplate(ctx, &workflowtemplatepkg.WorkflowTemplateGetRequest{Name: "unlabelled", Namespace: "default"}) + assert.Error(t, err) + }) } func TestWorkflowTemplateServer_ListWorkflowTemplates(t *testing.T) { server, ctx := getWorkflowTemplateServer() - wftReq := workflowtemplatepkg.WorkflowTemplateListRequest{ - Namespace: "default", - } - wftRsp, err := server.ListWorkflowTemplates(ctx, &wftReq) + wftRsp, err := server.ListWorkflowTemplates(ctx, &workflowtemplatepkg.WorkflowTemplateListRequest{Namespace: "default"}) if assert.NoError(t, err) { assert.Len(t, wftRsp.Items, 2) } - - wftReq = workflowtemplatepkg.WorkflowTemplateListRequest{ - Namespace: "test", - } - wftRsp, err = server.ListWorkflowTemplates(ctx, &wftReq) + wftRsp, err = server.ListWorkflowTemplates(ctx, &workflowtemplatepkg.WorkflowTemplateListRequest{Namespace: "test"}) if assert.NoError(t, err) { assert.Empty(t, wftRsp.Items) } @@ -201,31 +221,46 @@ func TestWorkflowTemplateServer_ListWorkflowTemplates(t *testing.T) { func TestWorkflowTemplateServer_DeleteWorkflowTemplate(t *testing.T) { server, ctx := getWorkflowTemplateServer() - wftReq := workflowtemplatepkg.WorkflowTemplateDeleteRequest{ - Namespace: "default", - Name: "workflow-template-whalesay-template2", - } - _, err := server.DeleteWorkflowTemplate(ctx, &wftReq) - assert.NoError(t, err) - + t.Run("Labelled", func(t *testing.T) { + _, err := server.DeleteWorkflowTemplate(ctx, &workflowtemplatepkg.WorkflowTemplateDeleteRequest{Namespace: "default", Name: "workflow-template-whalesay-template2"}) + assert.NoError(t, err) + }) + t.Run("Unlabelled", func(t *testing.T) { + _, err := server.DeleteWorkflowTemplate(ctx, &workflowtemplatepkg.WorkflowTemplateDeleteRequest{Namespace: "default", Name: "unlabelled"}) + assert.Error(t, err) + }) } -func TestWorkflowTemplateServer_UpdateWorkflowTemplate(t *testing.T) { +func TestWorkflowTemplateServer_LintWorkflowTemplate(t *testing.T) { server, ctx := getWorkflowTemplateServer() - var wftObj1 v1alpha1.WorkflowTemplate - err := json.Unmarshal([]byte(wftStr2), &wftObj1) - if err != nil { - panic(err) - } - wftObj1.Spec.Templates[0].Container.Image = "alpine:latest" - wftReq := workflowtemplatepkg.WorkflowTemplateUpdateRequest{ - Namespace: "default", - Name: "workflow-template-whalesay-template2", - Template: &wftObj1, - } - wftRsp, err := server.UpdateWorkflowTemplate(ctx, &wftReq) - + tmpl, err := server.LintWorkflowTemplate(ctx, &workflowtemplatepkg.WorkflowTemplateLintRequest{ + Template: &v1alpha1.WorkflowTemplate{}, + }) if assert.NoError(t, err) { - assert.Equal(t, "alpine:latest", wftRsp.Spec.Templates[0].Container.Image) + assert.Contains(t, tmpl.Labels, common.LabelKeyControllerInstanceID) } } + +func TestWorkflowTemplateServer_UpdateWorkflowTemplate(t *testing.T) { + server, ctx := getWorkflowTemplateServer() + t.Run("Labelled", func(t *testing.T) { + var wftObj1 v1alpha1.WorkflowTemplate + testutil.MustUnmarshallJSON(wftStr2, &wftObj1) + wftObj1.Spec.Templates[0].Container.Image = "alpine:latest" + wftRsp, err := server.UpdateWorkflowTemplate(ctx, &workflowtemplatepkg.WorkflowTemplateUpdateRequest{ + Namespace: "default", + Template: &wftObj1, + }) + if assert.NoError(t, err) { + assert.Equal(t, "alpine:latest", wftRsp.Spec.Templates[0].Container.Image) + } + }) + t.Run("Unlabelled", func(t *testing.T) { + _, err := server.UpdateWorkflowTemplate(ctx, &workflowtemplatepkg.WorkflowTemplateUpdateRequest{ + Template: &v1alpha1.WorkflowTemplate{ + ObjectMeta: metav1.ObjectMeta{Name: "unlabelled"}, + }, + }) + assert.Error(t, err) + }) +} diff --git a/test/e2e/argo_server_test.go b/test/e2e/argo_server_test.go index a3e026458003..840df403b71e 100644 --- a/test/e2e/argo_server_test.go +++ b/test/e2e/argo_server_test.go @@ -783,36 +783,37 @@ func (s *ArgoServerSuite) TestWorkflowServiceStream() { // use the watch to make sure that the workflow has succeeded s.Run("Watch", func() { + t := s.T() req, err := http.NewRequest("GET", baseUrl+"/api/v1/workflow-events/argo?listOptions.fieldSelector=metadata.name=basic", nil) - assert.NoError(s.T(), err) + assert.NoError(t, err) req.Header.Set("Accept", "text/event-stream") req.Header.Set("Authorization", "Bearer "+s.bearerToken) req.Close = true resp, err := httpClient.Do(req) - assert.NoError(s.T(), err) - assert.NotNil(s.T(), resp) defer func() { - if resp != nil { + if resp != nil && resp.Body != nil { _ = resp.Body.Close() } }() - if assert.Equal(s.T(), 200, resp.StatusCode) { - assert.Equal(s.T(), resp.Header.Get("Content-Type"), "text/event-stream") - scanner := bufio.NewScanner(resp.Body) - for scanner.Scan() { - line := scanner.Text() - log.WithField("line", line).Debug() - // make sure we have this enabled - if line == "" { - continue - } - if strings.Contains(line, `status:`) { - assert.Contains(s.T(), line, `"offloadNodeStatus":true`) - // so that we get this - assert.Contains(s.T(), line, `"nodes":`) - } - if strings.Contains(line, "Succeeded") { - break + if assert.NoError(t, err) && assert.NotNil(t, resp) { + if assert.Equal(t, 200, resp.StatusCode) { + assert.Equal(t, resp.Header.Get("Content-Type"), "text/event-stream") + scanner := bufio.NewScanner(resp.Body) + for scanner.Scan() { + line := scanner.Text() + log.WithField("line", line).Debug() + // make sure we have this enabled + if line == "" { + continue + } + if strings.Contains(line, `status:`) { + assert.Contains(t, line, `"offloadNodeStatus":true`) + // so that we get this + assert.Contains(t, line, `"nodes":`) + } + if strings.Contains(line, "Succeeded") { + break + } } } } @@ -820,16 +821,21 @@ func (s *ArgoServerSuite) TestWorkflowServiceStream() { // then, lets check the logs s.Run("PodLogs", func() { + t := s.T() req, err := http.NewRequest("GET", baseUrl+"/api/v1/workflows/argo/basic/basic/log?logOptions.container=main&logOptions.tailLines=3", nil) - assert.NoError(s.T(), err) + assert.NoError(t, err) req.Header.Set("Accept", "text/event-stream") req.Header.Set("Authorization", "Bearer "+s.bearerToken) req.Close = true resp, err := httpClient.Do(req) - if assert.NoError(s.T(), err) { - defer func() { _ = resp.Body.Close() }() - if assert.Equal(s.T(), 200, resp.StatusCode) { - assert.Equal(s.T(), resp.Header.Get("Content-Type"), "text/event-stream") + defer func() { + if resp != nil && resp.Body != nil { + _ = resp.Body.Close() + } + }() + if assert.NoError(t, err) && assert.NotNil(t, resp) { + if assert.Equal(t, 200, resp.StatusCode) { + assert.Equal(t, resp.Header.Get("Content-Type"), "text/event-stream") s := bufio.NewScanner(resp.Body) for s.Scan() { line := s.Text() diff --git a/test/e2e/fixtures/persistence.go b/test/e2e/fixtures/persistence.go index 07e7cb101b98..aa81a5d700a5 100644 --- a/test/e2e/fixtures/persistence.go +++ b/test/e2e/fixtures/persistence.go @@ -6,6 +6,7 @@ import ( "github.com/argoproj/argo/config" "github.com/argoproj/argo/persist/sqldb" + "github.com/argoproj/argo/util/instanceid" ) type Persistence struct { @@ -36,7 +37,8 @@ func newPersistence(kubeClient kubernetes.Interface) *Persistence { if err != nil { panic(err) } - workflowArchive := sqldb.NewWorkflowArchive(session, persistence.GetClusterName(), Namespace, wcConfig.InstanceID) + instanceIDService := instanceid.NewService(wcConfig.InstanceID) + workflowArchive := sqldb.NewWorkflowArchive(session, persistence.GetClusterName(), Namespace, instanceIDService) return &Persistence{session, offloadNodeStatusRepo, workflowArchive} } else { return &Persistence{offloadNodeStatusRepo: sqldb.ExplosiveOffloadNodeStatusRepo, workflowArchive: sqldb.NullWorkflowArchive} diff --git a/test/util/json.go b/test/util/json.go new file mode 100644 index 000000000000..86857fd60518 --- /dev/null +++ b/test/util/json.go @@ -0,0 +1,10 @@ +package util + +import "encoding/json" + +func MustUnmarshallJSON(text string, v interface{}) { + err := json.Unmarshal([]byte(text), v) + if err != nil { + panic(err) + } +} diff --git a/test/util/yaml.go b/test/util/yaml.go new file mode 100644 index 000000000000..ec44000b3e50 --- /dev/null +++ b/test/util/yaml.go @@ -0,0 +1,10 @@ +package util + +import "sigs.k8s.io/yaml" + +func MustUnmarshallYAML(text string, v interface{}) { + err := yaml.Unmarshal([]byte(text), v) + if err != nil { + panic(err) + } +} diff --git a/util/instanceid/service.go b/util/instanceid/service.go new file mode 100644 index 000000000000..6a1c894fbe0b --- /dev/null +++ b/util/instanceid/service.go @@ -0,0 +1,61 @@ +package instanceid + +import ( + "fmt" + + metav1 "k8s.io/apimachinery/pkg/apis/meta/v1" + + "github.com/argoproj/argo/util/labels" + "github.com/argoproj/argo/workflow/common" +) + +type Service interface { + Label(obj metav1.Object) + With(options *metav1.ListOptions) + Validate(obj metav1.Object) error + InstanceID() string +} + +func NewService(instanceID string) Service { + return &service{instanceID} +} + +type service struct { + instanceID string +} + +func (s *service) InstanceID() string { + return s.instanceID +} + +func (s *service) Label(obj metav1.Object) { + if s.instanceID != "" { + labels.Label(obj, common.LabelKeyControllerInstanceID, s.instanceID) + } else { + labels.UnLabel(obj, common.LabelKeyControllerInstanceID) + } +} + +func (s *service) With(opts *metav1.ListOptions) { + if len(opts.LabelSelector) > 0 { + opts.LabelSelector += "," + } + if s.instanceID == "" { + opts.LabelSelector += fmt.Sprintf("!%s", common.LabelKeyControllerInstanceID) + } else { + opts.LabelSelector += fmt.Sprintf("%s=%s", common.LabelKeyControllerInstanceID, s.instanceID) + } +} + +func (s *service) Validate(obj metav1.Object) error { + l := obj.GetLabels() + if s.instanceID == "" { + if _, ok := l[common.LabelKeyControllerInstanceID]; !ok { + return nil + } + } else if val, ok := l[common.LabelKeyControllerInstanceID]; ok && val == s.instanceID { + return nil + + } + return fmt.Errorf("'%s' is not managed by the current Argo Server", obj.GetName()) +} diff --git a/util/instanceid/service_test.go b/util/instanceid/service_test.go new file mode 100644 index 000000000000..a787a6add623 --- /dev/null +++ b/util/instanceid/service_test.go @@ -0,0 +1,66 @@ +package instanceid + +import ( + "testing" + + "github.com/stretchr/testify/assert" + metav1 "k8s.io/apimachinery/pkg/apis/meta/v1" + + wfv1 "github.com/argoproj/argo/pkg/apis/workflow/v1alpha1" + "github.com/argoproj/argo/workflow/common" +) + +func TestLabel(t *testing.T) { + t.Run("Empty", func(t *testing.T) { + obj := &wfv1.Workflow{} + NewService("").Label(obj) + assert.Empty(t, obj.GetLabels()) + }) + t.Run("Add", func(t *testing.T) { + obj := &wfv1.Workflow{} + NewService("foo").Label(obj) + assert.Len(t, obj.GetLabels(), 1) + assert.Equal(t, "foo", obj.GetLabels()[common.LabelKeyControllerInstanceID]) + }) + t.Run("Remove", func(t *testing.T) { + obj := &wfv1.Workflow{ObjectMeta: metav1.ObjectMeta{Labels: map[string]string{common.LabelKeyControllerInstanceID: "bar"}}} + NewService("").Label(obj) + assert.Empty(t, obj.GetLabels()) + }) +} + +func TestWith(t *testing.T) { + t.Run("Empty", func(t *testing.T) { + opts := &metav1.ListOptions{} + NewService("").With(opts) + assert.Equal(t, "!workflows.argoproj.io/controller-instanceid", opts.LabelSelector) + }) + t.Run("EmptyExistingSelector", func(t *testing.T) { + opts := &metav1.ListOptions{LabelSelector: "foo"} + NewService("").With(opts) + assert.Equal(t, "foo,!workflows.argoproj.io/controller-instanceid", opts.LabelSelector) + }) + t.Run("ExistingSelector", func(t *testing.T) { + opts := &metav1.ListOptions{LabelSelector: "foo"} + NewService("foo").With(opts) + assert.Equal(t, "foo,workflows.argoproj.io/controller-instanceid=foo", opts.LabelSelector) + }) +} + +func TestValidate(t *testing.T) { + t.Run("NoInstanceID", func(t *testing.T) { + s := NewService("") + assert.NoError(t, s.Validate(&wfv1.Workflow{})) + assert.Error(t, s.Validate(&wfv1.Workflow{ObjectMeta: metav1.ObjectMeta{Labels: map[string]string{common.LabelKeyControllerInstanceID: "bar"}}})) + }) + t.Run("InstanceID", func(t *testing.T) { + s := NewService("foo") + assert.Error(t, s.Validate(&wfv1.Workflow{})) + assert.Error(t, s.Validate(&wfv1.Workflow{ObjectMeta: metav1.ObjectMeta{Labels: map[string]string{common.LabelKeyControllerInstanceID: "bar"}}})) + assert.NoError(t, s.Validate(&wfv1.Workflow{ObjectMeta: metav1.ObjectMeta{Labels: map[string]string{common.LabelKeyControllerInstanceID: "foo"}}})) + }) +} + +func Test_service_InstanceID(t *testing.T) { + assert.Equal(t, "foo", NewService("foo").InstanceID()) +} \ No newline at end of file diff --git a/util/labels/labeler.go b/util/labels/labeler.go new file mode 100644 index 000000000000..99f80b01836d --- /dev/null +++ b/util/labels/labeler.go @@ -0,0 +1,29 @@ +package labels + +import ( + metav1 "k8s.io/apimachinery/pkg/apis/meta/v1" +) + +// label the object with the first non-empty value, if all value are empty, it is not set at all +func Label(obj metav1.Object, name string, values ...string) { + for _, value := range values { + if value == "" { + continue + } + labels := obj.GetLabels() + if labels == nil { + labels = map[string]string{} + } + labels[name] = value + obj.SetLabels(labels) + return + } +} + +func UnLabel(obj metav1.Object, name string) { + labels := obj.GetLabels() + if labels == nil { + return + } + delete(labels, name) +} diff --git a/util/labels/labeler_test.go b/util/labels/labeler_test.go new file mode 100644 index 000000000000..3735ffe6b20b --- /dev/null +++ b/util/labels/labeler_test.go @@ -0,0 +1,54 @@ +package labels + +import ( + "testing" + + "github.com/stretchr/testify/assert" + metav1 "k8s.io/apimachinery/pkg/apis/meta/v1" + + wfv1 "github.com/argoproj/argo/pkg/apis/workflow/v1alpha1" +) + +func TestLabel(t *testing.T) { + t.Run("Empty", func(t *testing.T) { + obj := &wfv1.Workflow{} + Label(obj, "foo") + assert.Empty(t, obj.Labels) + }) + t.Run("One", func(t *testing.T) { + obj := &wfv1.Workflow{} + Label(obj, "foo", "bar") + assert.Len(t, obj.Labels, 1) + assert.Equal(t, "bar", obj.Labels["foo"]) + }) + t.Run("Two", func(t *testing.T) { + obj := &wfv1.Workflow{} + Label(obj, "foo", "bar", "baz") + assert.Len(t, obj.Labels, 1) + assert.Equal(t, "bar", obj.Labels["foo"]) + }) +} + +func TestUnLabel(t *testing.T) { + t.Run("nil", func(t *testing.T) { + obj := &wfv1.Workflow{} + UnLabel(obj, "foo") + assert.Empty(t, obj.Labels) + }) + t.Run("Empty", func(t *testing.T) { + obj := &wfv1.Workflow{ObjectMeta: metav1.ObjectMeta{Labels: map[string]string{}}} + UnLabel(obj, "foo") + assert.Empty(t, obj.Labels) + }) + t.Run("One", func(t *testing.T) { + obj := &wfv1.Workflow{ObjectMeta: metav1.ObjectMeta{Labels: map[string]string{"foo": ""}}} + UnLabel(obj, "foo") + assert.Empty(t, obj.Labels) + }) + t.Run("Two", func(t *testing.T) { + obj := &wfv1.Workflow{ObjectMeta: metav1.ObjectMeta{Labels: map[string]string{"bar": ""}}} + UnLabel(obj, "foo") + assert.Len(t, obj.Labels, 1) + assert.Contains(t, obj.Labels, "bar") + }) +} diff --git a/workflow/controller/config.go b/workflow/controller/config.go index 6886aea81415..1f58b72aedff 100644 --- a/workflow/controller/config.go +++ b/workflow/controller/config.go @@ -12,6 +12,7 @@ import ( "github.com/argoproj/argo/config" "github.com/argoproj/argo/errors" "github.com/argoproj/argo/persist/sqldb" + "github.com/argoproj/argo/util/instanceid" ) func (wfc *WorkflowController) updateConfig(config config.Config) error { @@ -57,7 +58,8 @@ func (wfc *WorkflowController) updateConfig(config config.Config) error { log.Info("Node status offloading is disabled") } if persistence.Archive { - wfc.wfArchive = sqldb.NewWorkflowArchive(session, persistence.GetClusterName(), wfc.managedNamespace, wfc.Config.InstanceID) + instanceIDService := instanceid.NewService(wfc.Config.InstanceID) + wfc.wfArchive = sqldb.NewWorkflowArchive(session, persistence.GetClusterName(), wfc.managedNamespace, instanceIDService) log.Info("Workflow archiving is enabled") } else { log.Info("Workflow archiving is disabled") diff --git a/workflow/util/util.go b/workflow/util/util.go index 3a5cea0ed1b5..3158060c6291 100644 --- a/workflow/util/util.go +++ b/workflow/util/util.go @@ -217,9 +217,6 @@ func ApplySubmitOpts(wf *wfv1.Workflow, opts *wfv1.SubmitOpts) error { labels[k] = v } } - if opts.InstanceID != "" { - labels[common.LabelKeyControllerInstanceID] = opts.InstanceID - } wf.SetLabels(labels) if len(opts.Parameters) > 0 || opts.ParameterFile != "" { newParams := make([]wfv1.Parameter, 0)