[ARVADOS] updated: 2.1.0-437-g1b79e315b

Git user git at public.arvados.org
Fri Feb 12 03:29:04 UTC 2021


Summary of changes:
 sdk/go/arvados/{pipeline_template.go => trait.go} | 11 +++++------
 1 file changed, 5 insertions(+), 6 deletions(-)
 copy sdk/go/arvados/{pipeline_template.go => trait.go} (72%)

  discards  0d4097db558891cb641cbf6d29f528b3c6c10b66 (commit)
       via  1b79e315b0adf2744e1df1781c198cf698b1c181 (commit)

This update added new revisions after undoing existing revisions.  That is
to say, the old revision is not a strict subset of the new revision.  This
situation occurs when you --force push a change and generate a repository
containing something like this:

 * -- * -- B -- O -- O -- O (0d4097db558891cb641cbf6d29f528b3c6c10b66)
            \
             N -- N -- N (1b79e315b0adf2744e1df1781c198cf698b1c181)

When this happens we assume that you've already had alert emails for all
of the O revisions, and so we here report only the revisions in the N
branch from the common base, B.

Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.


commit 1b79e315b0adf2744e1df1781c198cf698b1c181
Author: Ward Vandewege <ward at curii.com>
Date:   Thu Feb 11 22:08:21 2021 -0500

    17119: make the controller group/contents endpoint conform more
           completely with the Rails implementation.
    
    Arvados-DCO-1.1-Signed-off-by: Ward Vandewege <ward at curii.com>

diff --git a/lib/controller/router/response.go b/lib/controller/router/response.go
index 656e73170..2a7bd9e67 100644
--- a/lib/controller/router/response.go
+++ b/lib/controller/router/response.go
@@ -127,7 +127,15 @@ func (rtr *router) sendError(w http.ResponseWriter, err error) {
 
 var infixMap = map[string]interface{}{
 	"4zz18": arvados.Collection{},
+	"xvhdp": arvados.ContainerRequest{},
+	"dz642": arvados.Container{},
 	"j7d0g": arvados.Group{},
+	"8i9sb": arvados.Job{},
+	"d1hrv": arvados.PipelineInstance{},
+	"p5p6p": arvados.PipelineTemplate{},
+	"j58dm": arvados.Specimen{},
+	"q1cn2": arvados.Trait{},
+	"7fd4e": arvados.Workflow{},
 }
 
 var mungeKind = regexp.MustCompile(`\..`)
diff --git a/sdk/go/arvados/job.go b/sdk/go/arvados/job.go
new file mode 100644
index 000000000..7b287b599
--- /dev/null
+++ b/sdk/go/arvados/job.go
@@ -0,0 +1,49 @@
+// Copyright (C) The Arvados Authors. All rights reserved.
+//
+// SPDX-License-Identifier: Apache-2.0
+
+package arvados
+
+import "time"
+
+// Job is an arvados#job record
+type Job struct {
+	UUID                   string    `json:"uuid"`
+	Etag                   string    `json:"etag"`
+	OwnerUUID              string    `json:"owner_uuid"`
+	ModifiedByClientUUID   string    `json:"modified_by_client_uuid"`
+	ModifiedByUserUUID     string    `json:"modified_by_user_uuid"`
+	ModifiedAt             time.Time `json:"modified_at"`
+	SubmitID               string    `json:"submit_id"`
+	Script                 string    `json:"script"`
+	CancelledByClientUUID  string    `json:"cancelled_by_client_uuid"`
+	CancelledByUserUUID    string    `json:"cancelled_by_user_uuid"`
+	CancelledAt            time.Time `json:"cancelled_at"`
+	StartedAt              time.Time `json:"started_at"`
+	FinishedAt             time.Time `json:"finished_at"`
+	Running                bool      `json:"running"`
+	Success                bool      `json:"success"`
+	Output                 string    `json:"output"`
+	CreatedAt              time.Time `json:"created_at"`
+	UpdatedAt              time.Time `json:"updated_at"`
+	IsLockedByUUID         string    `json:"is_locked_by_uuid"`
+	Log                    string    `json:"log"`
+	TasksSummary           string    `json:"tasks_summary"`
+	RuntimeConstraints     string    `json:"runtime_constraints"`
+	Nondeterministic       bool      `json:"nondeterministic"`
+	Repository             string    `json:"repository"`
+	SuppliedScriptVersion  string    `json:"supplied_script_version"`
+	DockerImageLocator     string    `json:"docker_image_locator"`
+	Priority               int       `json:"priority"`
+	Description            string    `json:"description"`
+	State                  string    `json:"state"`
+	ArvadosSDKVersion      string    `json:"arvados_sdk_version"`
+	Kind                   string    `json:"kind"`
+	Components             string    `json:"components"`
+	ScriptParametersDigest string    `json:"script_parameters_digest"`
+	WritableBy             []string  `json:"writable_by,omitempty"`
+}
+
+func (g Job) resourceName() string {
+	return "job"
+}
diff --git a/sdk/go/arvados/pipeline_instance.go b/sdk/go/arvados/pipeline_instance.go
new file mode 100644
index 000000000..f2c0c81a0
--- /dev/null
+++ b/sdk/go/arvados/pipeline_instance.go
@@ -0,0 +1,34 @@
+// Copyright (C) The Arvados Authors. All rights reserved.
+//
+// SPDX-License-Identifier: Apache-2.0
+
+package arvados
+
+import "time"
+
+// PipelineInstance is an arvados#pipelineInstance record
+type PipelineInstance struct {
+	UUID                 string    `json:"uuid"`
+	Etag                 string    `json:"etag"`
+	OwnerUUID            string    `json:"owner_uuid"`
+	CreatedAt            time.Time `json:"created_at"`
+	ModifiedByClientUUID string    `json:"modified_by_client_uuid"`
+	ModifiedByUserUUID   string    `json:"modified_by_user_uuid"`
+	ModifiedAt           time.Time `json:"modified_at"`
+	PipelineTemplateUUID string    `json:"pipeline_template_uuid"`
+	Name                 string    `json:"name"`
+	Components           string    `json:"components"`
+	UpdatedAt            time.Time `json:"updated_at"`
+	Properties           string    `json:"properties"`
+	State                string    `json:"state"`
+	ComponentsSummary    string    `json:"components_summary"`
+	StartedAt            time.Time `json:"started_at"`
+	FinishedAt           time.Time `json:"finished_at"`
+	Description          string    `json:"description"`
+	Kind                 string    `json:"kind"`
+	WritableBy           []string  `json:"writable_by,omitempty"`
+}
+
+func (g PipelineInstance) resourceName() string {
+	return "pipelineInstance"
+}
diff --git a/sdk/go/arvados/pipeline_template.go b/sdk/go/arvados/pipeline_template.go
new file mode 100644
index 000000000..d4677164c
--- /dev/null
+++ b/sdk/go/arvados/pipeline_template.go
@@ -0,0 +1,28 @@
+// Copyright (C) The Arvados Authors. All rights reserved.
+//
+// SPDX-License-Identifier: Apache-2.0
+
+package arvados
+
+import "time"
+
+// PipelineTemplate is an arvados#pipelineTemplate record
+type PipelineTemplate struct {
+	UUID                 string    `json:"uuid"`
+	Etag                 string    `json:"etag"`
+	OwnerUUID            string    `json:"owner_uuid"`
+	CreatedAt            time.Time `json:"created_at"`
+	ModifiedByClientUUID string    `json:"modified_by_client_uuid"`
+	ModifiedByUserUUID   string    `json:"modified_by_user_uuid"`
+	ModifiedAt           time.Time `json:"modified_at"`
+	Name                 string    `json:"name"`
+	Components           string    `json:"components"`
+	UpdatedAt            time.Time `json:"updated_at"`
+	Description          string    `json:"description"`
+	Kind                 string    `json:"kind"`
+	WritableBy           []string  `json:"writable_by,omitempty"`
+}
+
+func (g PipelineTemplate) resourceName() string {
+	return "pipelineTemplate"
+}
diff --git a/sdk/go/arvados/trait.go b/sdk/go/arvados/trait.go
new file mode 100644
index 000000000..3195958f5
--- /dev/null
+++ b/sdk/go/arvados/trait.go
@@ -0,0 +1,27 @@
+// Copyright (C) The Arvados Authors. All rights reserved.
+//
+// SPDX-License-Identifier: Apache-2.0
+
+package arvados
+
+import "time"
+
+// Trait is an arvados#trait record
+type Trait struct {
+	UUID                 string    `json:"uuid"`
+	Etag                 string    `json:"etag"`
+	OwnerUUID            string    `json:"owner_uuid"`
+	CreatedAt            time.Time `json:"created_at"`
+	ModifiedByClientUUID string    `json:"modified_by_client_uuid"`
+	ModifiedByUserUUID   string    `json:"modified_by_user_uuid"`
+	ModifiedAt           time.Time `json:"modified_at"`
+	Name                 string    `json:"name"`
+	Properties           string    `json:"properties"`
+	UpdatedAt            time.Time `json:"updated_at"`
+	Kind                 string    `json:"kind"`
+	WritableBy           []string  `json:"writable_by,omitempty"`
+}
+
+func (g Trait) resourceName() string {
+	return "trait"
+}

-----------------------------------------------------------------------


hooks/post-receive
-- 




More information about the arvados-commits mailing list