[ARVADOS] updated: 1.3.0-2371-gd55916d62

Git user git at public.arvados.org
Wed Mar 25 17:55:12 UTC 2020


Summary of changes:
 .../arvados/client/api/client/LinksApiClient.java  | 36 +++++++++++++
 .../java/org/arvados/client/api/model/Link.java    | 62 ++++++++++++++++++++++
 .../api/model/{UserList.java => LinkList.java}     |  8 +--
 3 files changed, 102 insertions(+), 4 deletions(-)
 create mode 100644 sdk/java-v2/src/main/java/org/arvados/client/api/client/LinksApiClient.java
 create mode 100644 sdk/java-v2/src/main/java/org/arvados/client/api/model/Link.java
 copy sdk/java-v2/src/main/java/org/arvados/client/api/model/{UserList.java => LinkList.java} (80%)

       via  d55916d62f4cb6ab04dcea64aea5498e6dec4f33 (commit)
       via  c87d343391acec59a988de8d693c9ae5911a65c7 (commit)
       via  b6d7efab2c4bffa3fabd55b166e44cca8ac1391f (commit)
      from  50a4212ec9319d9a700ba5cdde12b6f72e3a96f9 (commit)

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 d55916d62f4cb6ab04dcea64aea5498e6dec4f33
Merge: 50a4212ec c87d34339
Author: Peter Amstutz <peter.amstutz at curii.com>
Date:   Wed Mar 25 13:53:25 2020 -0400

    Merge branch 'Majewski/feature/links-client' refs #16260
    
    Arvados-DCO-1.1-Signed-off-by: Peter Amstutz <peter.amstutz at curii.com>


commit c87d343391acec59a988de8d693c9ae5911a65c7
Author: Krzysztof Majewski <krzysztof.majewski.km1 at contractors.roche.com>
Date:   Tue Mar 17 08:52:50 2020 +0100

    Add Links API client.
    Arvados-DCO-1.1-Signed-off-by: Krzysztof Majewski <majewski.kielce at gmail.com>

diff --git a/sdk/java-v2/src/main/java/org/arvados/client/api/client/LinksApiClient.java b/sdk/java-v2/src/main/java/org/arvados/client/api/client/LinksApiClient.java
new file mode 100644
index 000000000..c64e1fb04
--- /dev/null
+++ b/sdk/java-v2/src/main/java/org/arvados/client/api/client/LinksApiClient.java
@@ -0,0 +1,36 @@
+/*
+ * Copyright (C) The Arvados Authors. All rights reserved.
+ *
+ * SPDX-License-Identifier: AGPL-3.0 OR Apache-2.0
+ *
+ */
+
+package org.arvados.client.api.client;
+
+import org.arvados.client.api.model.Link;
+import org.arvados.client.api.model.LinkList;
+import org.arvados.client.config.ConfigProvider;
+
+public class LinksApiClient extends BaseStandardApiClient<Link, LinkList> {
+
+    private static final String RESOURCE = "links";
+
+    public LinksApiClient(ConfigProvider config) {
+        super(config);
+    }
+
+    @Override
+    String getResource() {
+        return RESOURCE;
+    }
+
+    @Override
+    Class<Link> getType() {
+        return Link.class;
+    }
+
+    @Override
+    Class<LinkList> getListType() {
+        return LinkList.class;
+    }
+}
diff --git a/sdk/java-v2/src/main/java/org/arvados/client/api/model/Link.java b/sdk/java-v2/src/main/java/org/arvados/client/api/model/Link.java
new file mode 100644
index 000000000..a24f02a01
--- /dev/null
+++ b/sdk/java-v2/src/main/java/org/arvados/client/api/model/Link.java
@@ -0,0 +1,62 @@
+/*
+ * Copyright (C) The Arvados Authors. All rights reserved.
+ *
+ * SPDX-License-Identifier: AGPL-3.0 OR Apache-2.0
+ *
+ */
+
+package org.arvados.client.api.model;
+
+import com.fasterxml.jackson.annotation.JsonIgnoreProperties;
+import com.fasterxml.jackson.annotation.JsonInclude;
+import com.fasterxml.jackson.annotation.JsonProperty;
+import com.fasterxml.jackson.annotation.JsonPropertyOrder;
+
+
+ at JsonInclude(JsonInclude.Include.NON_NULL)
+ at JsonIgnoreProperties(ignoreUnknown = true)
+ at JsonPropertyOrder({ "name", "head_kind", "head_uuid", "link_class" })
+public class Link extends Item {
+
+    @JsonProperty("name")
+    private String name;
+    @JsonProperty("head_kind")
+    private String headKind;
+    @JsonProperty("head_uuid")
+    private String headUuid;
+    @JsonProperty("link_class")
+    private String linkClass;
+
+    public String getName() {
+        return name;
+    }
+
+    public String getHeadKind() {
+        return headKind;
+    }
+
+    public String getHeadUuid() {
+        return headUuid;
+    }
+
+    public String getLinkClass() {
+        return linkClass;
+    }
+
+    public void setName(String name) {
+        this.name = name;
+    }
+
+    public void setHeadKind(String headKind) {
+        this.headKind = headKind;
+    }
+
+    public void setHeadUuid(String headUuid) {
+        this.headUuid = headUuid;
+    }
+
+    public void setLinkClass(String linkClass) {
+        this.linkClass = linkClass;
+    }
+
+}
diff --git a/sdk/java-v2/src/main/java/org/arvados/client/api/model/LinkList.java b/sdk/java-v2/src/main/java/org/arvados/client/api/model/LinkList.java
new file mode 100644
index 000000000..5bccbe5bf
--- /dev/null
+++ b/sdk/java-v2/src/main/java/org/arvados/client/api/model/LinkList.java
@@ -0,0 +1,32 @@
+/*
+ * Copyright (C) The Arvados Authors. All rights reserved.
+ *
+ * SPDX-License-Identifier: AGPL-3.0 OR Apache-2.0
+ *
+ */
+
+package org.arvados.client.api.model;
+
+import com.fasterxml.jackson.annotation.JsonIgnoreProperties;
+import com.fasterxml.jackson.annotation.JsonInclude;
+import com.fasterxml.jackson.annotation.JsonProperty;
+import com.fasterxml.jackson.annotation.JsonPropertyOrder;
+
+import java.util.List;
+
+ at JsonInclude(JsonInclude.Include.NON_NULL)
+ at JsonIgnoreProperties(ignoreUnknown = true)
+ at JsonPropertyOrder({ "items" })
+public class LinkList extends ItemList {
+
+    @JsonProperty("items")
+    private List<Link> items;
+
+    public List<Link> getItems() {
+        return this.items;
+    }
+
+    public void setItems(List<Link> items) {
+        this.items = items;
+    }
+}

commit b6d7efab2c4bffa3fabd55b166e44cca8ac1391f
Merge: 06d6bec4c 99d3277ad
Author: Krzysztof Majewski <majewski.kielce at gmail.com>
Date:   Tue Mar 17 08:49:50 2020 +0100

    Merge pull request #1 from arvados/master
    
    update


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


hooks/post-receive
-- 




More information about the arvados-commits mailing list