{"action":"created","comment":{"url":"https://api.github.com/repos/codice/ddf/pulls/comments/171581319","pull_request_review_id":100458246,"id":171581319,"diff_hunk":"@@ -0,0 +1,369 @@\n+/**\n+ * Copyright (c) Codice Foundation\n+ *\n+ * <p>This is free software: you can redistribute it and/or modify it under the terms of the GNU\n+ * Lesser General Public License as published by the Free Software Foundation, either version 3 of\n+ * the License, or any later version.\n+ *\n+ * <p>This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY;\n+ * without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n+ * GNU Lesser General Public License for more details. A copy of the GNU Lesser General Public\n+ * License is distributed along with this program and can be found at\n+ * <http://www.gnu.org/licenses/lgpl.html>.\n+ */\n+package org.codice.ddf.catalog.transform.impl;\n+\n+import com.google.common.io.Files;\n+import ddf.catalog.data.BinaryContent;\n+import ddf.catalog.data.Metacard;\n+import ddf.catalog.data.MetacardCreationException;\n+import ddf.catalog.data.impl.AttributeImpl;\n+import ddf.catalog.operation.SourceResponse;\n+import ddf.catalog.transform.CatalogTransformerException;\n+import ddf.catalog.transform.QueryResponseTransformer;\n+import java.io.File;\n+import java.io.IOException;\n+import java.io.InputStream;\n+import java.io.Serializable;\n+import java.util.ArrayList;\n+import java.util.Arrays;\n+import java.util.LinkedList;\n+import java.util.List;\n+import java.util.Map;\n+import java.util.function.Consumer;\n+import java.util.function.Function;\n+import java.util.function.Supplier;\n+import java.util.stream.Collectors;\n+import javax.activation.MimeType;\n+import org.apache.commons.collections.CollectionUtils;\n+import org.apache.commons.io.IOUtils;\n+import org.apache.commons.lang.StringUtils;\n+import org.apache.commons.lang.exception.ExceptionUtils;\n+import org.codice.ddf.catalog.locator.TransformerLocator;\n+import org.codice.ddf.catalog.transform.MultiInputTransformer;\n+import org.codice.ddf.catalog.transform.MultiMetacardTransformer;\n+import org.codice.ddf.catalog.transform.Transform;\n+import org.codice.ddf.platform.util.TemporaryFileBackedOutputStream;\n+import org.codice.ddf.platform.util.uuidgenerator.UuidGenerator;\n+import org.slf4j.Logger;\n+import org.slf4j.LoggerFactory;\n+\n+public class TransformImpl implements Transform {\n+\n+  private static final Logger LOGGER = LoggerFactory.getLogger(TransformImpl.class);\n+\n+  private TransformerLocator transformerLocator;\n+\n+  private UuidGenerator uuidGenerator;\n+\n+  public TransformImpl(TransformerLocator transformerLocator, UuidGenerator uuidGenerator) {\n+    this.transformerLocator = transformerLocator;\n+    this.uuidGenerator = uuidGenerator;\n+  }\n+\n+  @Override\n+  public List<Metacard> transform(\n+      MimeType mimeType,\n+      Supplier<String> idSupplier,\n+      String fileName,\n+      File inputFile,\n+      String transformerId,\n+      Map<String, ? extends Serializable> transformerArguments)\n+      throws MetacardCreationException {\n+    try (InputStream transformerStream = Files.asByteSource(inputFile).openStream()) {\n+      List<Metacard> metacards =\n+          transform(mimeType, idSupplier, transformerStream, transformerId, transformerArguments);\n+      return metacards\n+          .stream()\n+          .peek(metacard -> setTitle(fileName, metacard))\n+          .collect(Collectors.toList());\n+    } catch (IOException e) {\n+      throw new MetacardCreationException(\n+          String.format(\"Could not open the input file: %s\", inputFile), e);\n+    }\n+  }\n+\n+  private void setTitle(String fileName, Metacard metacard) {\n+    if (metacard.getAttribute(Metacard.TITLE) == null) {\n+      metacard.setAttribute(new AttributeImpl(Metacard.TITLE, fileName));\n+    }\n+  }\n+\n+  @Override\n+  public List<Metacard> transform(\n+      MimeType mimeType,\n+      Supplier<String> idSupplier,\n+      InputStream message,\n+      String transformerId,\n+      Map<String, ? extends Serializable> transformerArguments)\n+      throws MetacardCreationException {\n+\n+    List<MultiInputTransformer> listOfCandidates =\n+        StringUtils.isNotEmpty(transformerId)\n+            ? transformerLocator.findMultiInputTransformers(transformerId)\n+            : transformerLocator.findMultiInputTransformers(mimeType);\n+\n+    LOGGER.trace(\n+        \"List of matches for mimeType [{}] and transformerId [{}]: {}\",\n+        mimeType,\n+        transformerId,\n+        listOfCandidates);\n+\n+    try (TemporaryFileBackedOutputStream fileBackedOutputStream =\n+        new TemporaryFileBackedOutputStream()) {\n+\n+      copy(message, fileBackedOutputStream);\n+\n+      List<String> stackTraceList = new ArrayList<>();\n+\n+      List<Metacard> metacards = null;\n+\n+      for (MultiInputTransformer transformer : listOfCandidates) {\n+        try (InputStream inputStreamMessageCopy =\n+            fileBackedOutputStream.asByteSource().openStream()) {\n+          metacards = transformer.transform(inputStreamMessageCopy, transformerArguments);\n+        } catch (CatalogTransformerException | IOException e) {\n+          List<String> stackTraces = Arrays.asList(ExceptionUtils.getRootCauseStackTrace(e));\n+          stackTraceList.add(\n+              String.format(\"Transformer [%s] could not create metacard.\", transformer));\n+          stackTraceList.addAll(stackTraces);\n+          LOGGER.debug(\"Transformer [{}] could not create metacard.\", transformer, e);\n+        }\n+        if (metacards != null) {\n+          break;\n+        }\n+      }\n+\n+      if (CollectionUtils.isEmpty(metacards)) {\n+        throw new MetacardCreationException(\n+            String.format(\n+                \"Could not create metacard with mimeType %s : %s\",\n+                mimeType, StringUtils.join(stackTraceList, \"\\n\")));\n+      }\n+\n+      return setMetacardIds(idSupplier, metacards);\n+    } catch (IOException e) {\n+      throw new MetacardCreationException(\"Could not create metacard.\", e);\n+    }\n+  }\n+\n+  @Override\n+  public List<BinaryContent> transform(\n+      List<Metacard> metacards,\n+      MimeType mimeType,\n+      String transformerId,\n+      Map<String, Serializable> transformerArguments)\n+      throws CatalogTransformerException {\n+    if (CollectionUtils.isEmpty(metacards)) {\n+      throw new IllegalArgumentException(\"Metacards list is empty.\");\n+    }\n+\n+    List<MultiMetacardTransformer> multiMetacardTransformers =\n+        StringUtils.isNotEmpty(transformerId)\n+            ? transformerLocator.findMultiMetacardTransformers(transformerId)\n+            : transformerLocator.findMultiMetacardTransformers(mimeType);\n+\n+    LOGGER.trace(\n+        \"List of matches for mimeType [{}] and transformerId [{}]: {}\",\n+        mimeType,\n+        transformerId,\n+        multiMetacardTransformers);\n+\n+    if (CollectionUtils.isEmpty(multiMetacardTransformers)) {\n+      throw new IllegalArgumentException(\"Transformer \" + transformerId + \" not found\");\n+    }\n+\n+    List<String> stackTraceList = new ArrayList<>();\n+    List<BinaryContent> binaryContents = null;\n+\n+    for (MultiMetacardTransformer transformer : multiMetacardTransformers) {\n+      try {\n+        binaryContents = transformer.transform(metacards, transformerArguments);\n+      } catch (CatalogTransformerException e) {\n+        List<String> stackTraces = Arrays.asList(ExceptionUtils.getRootCauseStackTrace(e));\n+        stackTraceList.add(\n+            String.format(\"Transformer [%s] could not transform metacard.\", transformer));\n+        stackTraceList.addAll(stackTraces);\n+        LOGGER.debug(\"Transformer [{}] could not transform metacard.\", transformer, e);\n+      }\n+    }\n+\n+    if (CollectionUtils.isEmpty(binaryContents)) {\n+      throw new CatalogTransformerException(\n+          String.format(\n+              \"Could not transform metacards: transformerId=%s : %s\",\n+              transformerId, StringUtils.join(stackTraceList, \"\\n\")));\n+    }\n+\n+    return binaryContents;\n+  }\n+\n+  @Override\n+  public List<BinaryContent> transform(\n+      List<Metacard> metacards,\n+      String transformerId,\n+      Map<String, Serializable> transformerArguments)\n+      throws CatalogTransformerException {\n+    if (CollectionUtils.isEmpty(metacards)) {\n+      throw new IllegalArgumentException(\"Metacards list is empty.\");\n+    }\n+\n+    if (StringUtils.isEmpty(transformerId)) {\n+      throw new IllegalArgumentException(\"transformerId is empty or null.\");\n+    }\n+\n+    List<MultiMetacardTransformer> multiMetacardTransformers =\n+        transformerLocator.findMultiMetacardTransformers(transformerId);\n+\n+    LOGGER.trace(\n+        \"List of matches for transformerId [{}]: {}\", transformerId, multiMetacardTransformers);\n+\n+    if (CollectionUtils.isEmpty(multiMetacardTransformers)) {\n+      throw new IllegalArgumentException(\"Transformer \" + transformerId + \" not found\");\n+    }\n+\n+    List<String> stackTraceList = new ArrayList<>();\n+    List<BinaryContent> binaryContents = null;\n+\n+    for (MultiMetacardTransformer transformer : multiMetacardTransformers) {\n+      try {\n+        binaryContents = transformer.transform(metacards, transformerArguments);\n+      } catch (CatalogTransformerException e) {\n+        List<String> stackTraces = Arrays.asList(ExceptionUtils.getRootCauseStackTrace(e));\n+        stackTraceList.add(\n+            String.format(\"Transformer [%s] could not transform metacard.\", transformer));\n+        stackTraceList.addAll(stackTraces);\n+        LOGGER.debug(\"Transformer [{}] could not transform metacard.\", transformer, e);\n+      }\n+    }\n+\n+    if (CollectionUtils.isEmpty(binaryContents)) {\n+      throw new CatalogTransformerException(\n+          String.format(\n+              \"Could not transform metacards: transformerId=%s : %s\",\n+              transformerId, StringUtils.join(stackTraceList, \"\\n\")));\n+    }\n+\n+    return binaryContents;\n+  }\n+\n+  @Override\n+  public boolean isMetacardTransformerIdValid(String transformerId) {\n+    return CollectionUtils.isNotEmpty(\n+        transformerLocator.findMultiMetacardTransformers(transformerId));\n+  }\n+\n+  @Override\n+  public BinaryContent transform(\n+      SourceResponse response, String transformerId, Map<String, Serializable> transformerArguments)\n+      throws CatalogTransformerException {\n+    return transformSourceResponse(\n+        response,\n+        transformerArguments,\n+        \"transformerId\",\n+        transformerLocator::findQueryResponseTransformers,\n+        transformerId);\n+  }\n+\n+  @Override\n+  public BinaryContent transform(\n+      SourceResponse response, MimeType mimeType, Map<String, Serializable> transformerArguments)\n+      throws CatalogTransformerException {\n+    return transformSourceResponse(\n+        response,\n+        transformerArguments,\n+        \"mime-type\",\n+        transformerLocator::findQueryResponseTransformers,\n+        mimeType);\n+  }\n+\n+  private <T> BinaryContent transformSourceResponse(\n+      SourceResponse response,\n+      Map<String, Serializable> transformerArguments,\n+      String identString,\n+      Function<T, List<QueryResponseTransformer>> func,\n+      T id)\n+      throws CatalogTransformerException {\n+    if (response == null) {\n+      throw new IllegalArgumentException(\"SourceResponse is null.\");\n+    }\n+\n+    List<QueryResponseTransformer> transformers = func.apply(id);\n+\n+    if (CollectionUtils.isEmpty(transformers)) {\n+      throw new IllegalArgumentException(\n+          \"Transformers mathcing \" + identString + \" \" + id + \" not found\");","path":"catalog/core/catalog-core-transform-impl/src/main/java/org/codice/ddf/catalog/transform/impl/TransformImpl.java","position":295,"original_position":295,"commit_id":"002a4ef6a4839ddca37dcce7570d22a5e1d83d2e","original_commit_id":"002a4ef6a4839ddca37dcce7570d22a5e1d83d2e","user":{"login":"glenhein","id":17837152,"avatar_url":"https://avatars3.githubusercontent.com/u/17837152?v=4","gravatar_id":"","url":"https://api.github.com/users/glenhein","html_url":"https://github.com/glenhein","followers_url":"https://api.github.com/users/glenhein/followers","following_url":"https://api.github.com/users/glenhein/following{/other_user}","gists_url":"https://api.github.com/users/glenhein/gists{/gist_id}","starred_url":"https://api.github.com/users/glenhein/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/glenhein/subscriptions","organizations_url":"https://api.github.com/users/glenhein/orgs","repos_url":"https://api.github.com/users/glenhein/repos","events_url":"https://api.github.com/users/glenhein/events{/privacy}","received_events_url":"https://api.github.com/users/glenhein/received_events","type":"User","site_admin":false},"body":"fixed","created_at":"2018-03-01T14:49:52Z","updated_at":"2018-03-01T14:49:52Z","html_url":"https://github.com/codice/ddf/pull/2963#discussion_r171581319","pull_request_url":"https://api.github.com/repos/codice/ddf/pulls/2963","author_association":"CONTRIBUTOR","_links":{"self":{"href":"https://api.github.com/repos/codice/ddf/pulls/comments/171581319"},"html":{"href":"https://github.com/codice/ddf/pull/2963#discussion_r171581319"},"pull_request":{"href":"https://api.github.com/repos/codice/ddf/pulls/2963"}},"in_reply_to_id":171055628},"pull_request":{"url":"https://api.github.com/repos/codice/ddf/pulls/2963","id":169137352,"html_url":"https://github.com/codice/ddf/pull/2963","diff_url":"https://github.com/codice/ddf/pull/2963.diff","patch_url":"https://github.com/codice/ddf/pull/2963.patch","issue_url":"https://api.github.com/repos/codice/ddf/issues/2963","number":2963,"state":"open","locked":false,"title":"DDF-3616 Create MultiInputTransformer and MultiMetacardTransformer","user":{"login":"glenhein","id":17837152,"avatar_url":"https://avatars3.githubusercontent.com/u/17837152?v=4","gravatar_id":"","url":"https://api.github.com/users/glenhein","html_url":"https://github.com/glenhein","followers_url":"https://api.github.com/users/glenhein/followers","following_url":"https://api.github.com/users/glenhein/following{/other_user}","gists_url":"https://api.github.com/users/glenhein/gists{/gist_id}","starred_url":"https://api.github.com/users/glenhein/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/glenhein/subscriptions","organizations_url":"https://api.github.com/users/glenhein/orgs","repos_url":"https://api.github.com/users/glenhein/repos","events_url":"https://api.github.com/users/glenhein/events{/privacy}","received_events_url":"https://api.github.com/users/glenhein/received_events","type":"User","site_admin":false},"body":"#### What does this PR do?\r\nCreate MultiInputTransformer, MultiMetacardTransformer and a Transform service.\r\n\r\n#### Who is reviewing it? \r\n(please choose AT LEAST two reviewers that need to approve the PR before it can get merged)\r\n@pklinef \r\n@coyotesqrl \r\n@rzwiefel \r\n#### Select relevant component teams: \r\nhttps://github.com/orgs/codice/teams/core-apis\r\n#### Choose 2 committers to review/merge the PR. \r\n(please choose ONLY two committers from below, delete the rest)\r\n@bdeining\r\n@jlcsmith\r\n#### How should this be tested? (List steps with links to updated documentation)\r\n\r\nRun unit tests and itests. Trying ingesting a product.\r\n\r\n#### Any background context you want to provide?\r\nThis work is to support importing and exporting lists, and to clean-up the many places that get transformers and iterate over them.\r\n\r\n#### What are the relevant tickets?\r\n[](https://codice.atlassian.net/browse/)\r\n#### Screenshots (if appropriate)\r\n#### Checklist:\r\n- [ ] Documentation Updated\r\n- [X] Update / Add Unit Tests\r\n- [ ] Update / Add Integration Tests\r\n\r\n#### Notes on Review Process\r\nPlease see [Notes on Review Process](https://codice.atlassian.net/wiki/spaces/DDF/pages/71946981/Pull+Request+Guidelines) for further guidance on requirements for merging and abbreviated reviews. \r\n\r\n#### Review Comment Legend:\r\n- ✏️ (Pencil) This comment is a nitpick or style suggestion, no action required for approval. This comment should provide a suggestion either as an in line code snippet or a gist. \r\n- ❓ (Question Mark) This comment is to gain a clearer understanding of design or code choices, clarification is required but action may not be necessary for approval.\r\n- ❗ (Exclamation Mark) This comment is critical and requires clarification or action before approval.\r\n","created_at":"2018-02-14T15:16:50Z","updated_at":"2018-03-01T14:49:52Z","closed_at":null,"merged_at":null,"merge_commit_sha":"a443913cd64d1eeae4208a6030e879a80983690a","assignee":{"login":"jlcsmith","id":4503545,"avatar_url":"https://avatars3.githubusercontent.com/u/4503545?v=4","gravatar_id":"","url":"https://api.github.com/users/jlcsmith","html_url":"https://github.com/jlcsmith","followers_url":"https://api.github.com/users/jlcsmith/followers","following_url":"https://api.github.com/users/jlcsmith/following{/other_user}","gists_url":"https://api.github.com/users/jlcsmith/gists{/gist_id}","starred_url":"https://api.github.com/users/jlcsmith/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jlcsmith/subscriptions","organizations_url":"https://api.github.com/users/jlcsmith/orgs","repos_url":"https://api.github.com/users/jlcsmith/repos","events_url":"https://api.github.com/users/jlcsmith/events{/privacy}","received_events_url":"https://api.github.com/users/jlcsmith/received_events","type":"User","site_admin":false},"assignees":[{"login":"jlcsmith","id":4503545,"avatar_url":"https://avatars3.githubusercontent.com/u/4503545?v=4","gravatar_id":"","url":"https://api.github.com/users/jlcsmith","html_url":"https://github.com/jlcsmith","followers_url":"https://api.github.com/users/jlcsmith/followers","following_url":"https://api.github.com/users/jlcsmith/following{/other_user}","gists_url":"https://api.github.com/users/jlcsmith/gists{/gist_id}","starred_url":"https://api.github.com/users/jlcsmith/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jlcsmith/subscriptions","organizations_url":"https://api.github.com/users/jlcsmith/orgs","repos_url":"https://api.github.com/users/jlcsmith/repos","events_url":"https://api.github.com/users/jlcsmith/events{/privacy}","received_events_url":"https://api.github.com/users/jlcsmith/received_events","type":"User","site_admin":false},{"login":"bdeining","id":6551038,"avatar_url":"https://avatars2.githubusercontent.com/u/6551038?v=4","gravatar_id":"","url":"https://api.github.com/users/bdeining","html_url":"https://github.com/bdeining","followers_url":"https://api.github.com/users/bdeining/followers","following_url":"https://api.github.com/users/bdeining/following{/other_user}","gists_url":"https://api.github.com/users/bdeining/gists{/gist_id}","starred_url":"https://api.github.com/users/bdeining/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bdeining/subscriptions","organizations_url":"https://api.github.com/users/bdeining/orgs","repos_url":"https://api.github.com/users/bdeining/repos","events_url":"https://api.github.com/users/bdeining/events{/privacy}","received_events_url":"https://api.github.com/users/bdeining/received_events","type":"User","site_admin":false}],"requested_reviewers":[{"login":"stustison","id":4391679,"avatar_url":"https://avatars0.githubusercontent.com/u/4391679?v=4","gravatar_id":"","url":"https://api.github.com/users/stustison","html_url":"https://github.com/stustison","followers_url":"https://api.github.com/users/stustison/followers","following_url":"https://api.github.com/users/stustison/following{/other_user}","gists_url":"https://api.github.com/users/stustison/gists{/gist_id}","starred_url":"https://api.github.com/users/stustison/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/stustison/subscriptions","organizations_url":"https://api.github.com/users/stustison/orgs","repos_url":"https://api.github.com/users/stustison/repos","events_url":"https://api.github.com/users/stustison/events{/privacy}","received_events_url":"https://api.github.com/users/stustison/received_events","type":"User","site_admin":false},{"login":"rzwiefel","id":9013416,"avatar_url":"https://avatars0.githubusercontent.com/u/9013416?v=4","gravatar_id":"","url":"https://api.github.com/users/rzwiefel","html_url":"https://github.com/rzwiefel","followers_url":"https://api.github.com/users/rzwiefel/followers","following_url":"https://api.github.com/users/rzwiefel/following{/other_user}","gists_url":"https://api.github.com/users/rzwiefel/gists{/gist_id}","starred_url":"https://api.github.com/users/rzwiefel/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rzwiefel/subscriptions","organizations_url":"https://api.github.com/users/rzwiefel/orgs","repos_url":"https://api.github.com/users/rzwiefel/repos","events_url":"https://api.github.com/users/rzwiefel/events{/privacy}","received_events_url":"https://api.github.com/users/rzwiefel/received_events","type":"User","site_admin":false}],"requested_teams":[],"labels":[],"milestone":null,"commits_url":"https://api.github.com/repos/codice/ddf/pulls/2963/commits","review_comments_url":"https://api.github.com/repos/codice/ddf/pulls/2963/comments","review_comment_url":"https://api.github.com/repos/codice/ddf/pulls/comments{/number}","comments_url":"https://api.github.com/repos/codice/ddf/issues/2963/comments","statuses_url":"https://api.github.com/repos/codice/ddf/statuses/002a4ef6a4839ddca37dcce7570d22a5e1d83d2e","head":{"label":"glenhein:DDF-3616","ref":"DDF-3616","sha":"002a4ef6a4839ddca37dcce7570d22a5e1d83d2e","user":{"login":"glenhein","id":17837152,"avatar_url":"https://avatars3.githubusercontent.com/u/17837152?v=4","gravatar_id":"","url":"https://api.github.com/users/glenhein","html_url":"https://github.com/glenhein","followers_url":"https://api.github.com/users/glenhein/followers","following_url":"https://api.github.com/users/glenhein/following{/other_user}","gists_url":"https://api.github.com/users/glenhein/gists{/gist_id}","starred_url":"https://api.github.com/users/glenhein/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/glenhein/subscriptions","organizations_url":"https://api.github.com/users/glenhein/orgs","repos_url":"https://api.github.com/users/glenhein/repos","events_url":"https://api.github.com/users/glenhein/events{/privacy}","received_events_url":"https://api.github.com/users/glenhein/received_events","type":"User","site_admin":false},"repo":{"id":54487089,"name":"ddf","full_name":"glenhein/ddf","owner":{"login":"glenhein","id":17837152,"avatar_url":"https://avatars3.githubusercontent.com/u/17837152?v=4","gravatar_id":"","url":"https://api.github.com/users/glenhein","html_url":"https://github.com/glenhein","followers_url":"https://api.github.com/users/glenhein/followers","following_url":"https://api.github.com/users/glenhein/following{/other_user}","gists_url":"https://api.github.com/users/glenhein/gists{/gist_id}","starred_url":"https://api.github.com/users/glenhein/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/glenhein/subscriptions","organizations_url":"https://api.github.com/users/glenhein/orgs","repos_url":"https://api.github.com/users/glenhein/repos","events_url":"https://api.github.com/users/glenhein/events{/privacy}","received_events_url":"https://api.github.com/users/glenhein/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/glenhein/ddf","description":"The Distributed Data Framework - Federated Open Geospatial Consortium (OGC) filter powered metadata catalog with SAML Web SSO secured container","fork":true,"url":"https://api.github.com/repos/glenhein/ddf","forks_url":"https://api.github.com/repos/glenhein/ddf/forks","keys_url":"https://api.github.com/repos/glenhein/ddf/keys{/key_id}","collaborators_url":"https://api.github.com/repos/glenhein/ddf/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/glenhein/ddf/teams","hooks_url":"https://api.github.com/repos/glenhein/ddf/hooks","issue_events_url":"https://api.github.com/repos/glenhein/ddf/issues/events{/number}","events_url":"https://api.github.com/repos/glenhein/ddf/events","assignees_url":"https://api.github.com/repos/glenhein/ddf/assignees{/user}","branches_url":"https://api.github.com/repos/glenhein/ddf/branches{/branch}","tags_url":"https://api.github.com/repos/glenhein/ddf/tags","blobs_url":"https://api.github.com/repos/glenhein/ddf/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/glenhein/ddf/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/glenhein/ddf/git/refs{/sha}","trees_url":"https://api.github.com/repos/glenhein/ddf/git/trees{/sha}","statuses_url":"https://api.github.com/repos/glenhein/ddf/statuses/{sha}","languages_url":"https://api.github.com/repos/glenhein/ddf/languages","stargazers_url":"https://api.github.com/repos/glenhein/ddf/stargazers","contributors_url":"https://api.github.com/repos/glenhein/ddf/contributors","subscribers_url":"https://api.github.com/repos/glenhein/ddf/subscribers","subscription_url":"https://api.github.com/repos/glenhein/ddf/subscription","commits_url":"https://api.github.com/repos/glenhein/ddf/commits{/sha}","git_commits_url":"https://api.github.com/repos/glenhein/ddf/git/commits{/sha}","comments_url":"https://api.github.com/repos/glenhein/ddf/comments{/number}","issue_comment_url":"https://api.github.com/repos/glenhein/ddf/issues/comments{/number}","contents_url":"https://api.github.com/repos/glenhein/ddf/contents/{+path}","compare_url":"https://api.github.com/repos/glenhein/ddf/compare/{base}...{head}","merges_url":"https://api.github.com/repos/glenhein/ddf/merges","archive_url":"https://api.github.com/repos/glenhein/ddf/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/glenhein/ddf/downloads","issues_url":"https://api.github.com/repos/glenhein/ddf/issues{/number}","pulls_url":"https://api.github.com/repos/glenhein/ddf/pulls{/number}","milestones_url":"https://api.github.com/repos/glenhein/ddf/milestones{/number}","notifications_url":"https://api.github.com/repos/glenhein/ddf/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/glenhein/ddf/labels{/name}","releases_url":"https://api.github.com/repos/glenhein/ddf/releases{/id}","deployments_url":"https://api.github.com/repos/glenhein/ddf/deployments","created_at":"2016-03-22T15:36:01Z","updated_at":"2016-03-22T15:36:13Z","pushed_at":"2018-02-27T17:34:14Z","git_url":"git://github.com/glenhein/ddf.git","ssh_url":"git@github.com:glenhein/ddf.git","clone_url":"https://github.com/glenhein/ddf.git","svn_url":"https://github.com/glenhein/ddf","homepage":"","size":191519,"stargazers_count":0,"watchers_count":0,"language":"Java","has_issues":false,"has_projects":true,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":0,"mirror_url":null,"archived":false,"open_issues_count":0,"license":null,"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"codice:master","ref":"master","sha":"280a4ad9be448b1c267f29fdee659a9c8dd72c9a","user":{"login":"codice","id":2386734,"avatar_url":"https://avatars2.githubusercontent.com/u/2386734?v=4","gravatar_id":"","url":"https://api.github.com/users/codice","html_url":"https://github.com/codice","followers_url":"https://api.github.com/users/codice/followers","following_url":"https://api.github.com/users/codice/following{/other_user}","gists_url":"https://api.github.com/users/codice/gists{/gist_id}","starred_url":"https://api.github.com/users/codice/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/codice/subscriptions","organizations_url":"https://api.github.com/users/codice/orgs","repos_url":"https://api.github.com/users/codice/repos","events_url":"https://api.github.com/users/codice/events{/privacy}","received_events_url":"https://api.github.com/users/codice/received_events","type":"Organization","site_admin":false},"repo":{"id":15173563,"name":"ddf","full_name":"codice/ddf","owner":{"login":"codice","id":2386734,"avatar_url":"https://avatars2.githubusercontent.com/u/2386734?v=4","gravatar_id":"","url":"https://api.github.com/users/codice","html_url":"https://github.com/codice","followers_url":"https://api.github.com/users/codice/followers","following_url":"https://api.github.com/users/codice/following{/other_user}","gists_url":"https://api.github.com/users/codice/gists{/gist_id}","starred_url":"https://api.github.com/users/codice/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/codice/subscriptions","organizations_url":"https://api.github.com/users/codice/orgs","repos_url":"https://api.github.com/users/codice/repos","events_url":"https://api.github.com/users/codice/events{/privacy}","received_events_url":"https://api.github.com/users/codice/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/codice/ddf","description":"DDF Distributed Data Framework - an open source, modular integration framework.","fork":false,"url":"https://api.github.com/repos/codice/ddf","forks_url":"https://api.github.com/repos/codice/ddf/forks","keys_url":"https://api.github.com/repos/codice/ddf/keys{/key_id}","collaborators_url":"https://api.github.com/repos/codice/ddf/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/codice/ddf/teams","hooks_url":"https://api.github.com/repos/codice/ddf/hooks","issue_events_url":"https://api.github.com/repos/codice/ddf/issues/events{/number}","events_url":"https://api.github.com/repos/codice/ddf/events","assignees_url":"https://api.github.com/repos/codice/ddf/assignees{/user}","branches_url":"https://api.github.com/repos/codice/ddf/branches{/branch}","tags_url":"https://api.github.com/repos/codice/ddf/tags","blobs_url":"https://api.github.com/repos/codice/ddf/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/codice/ddf/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/codice/ddf/git/refs{/sha}","trees_url":"https://api.github.com/repos/codice/ddf/git/trees{/sha}","statuses_url":"https://api.github.com/repos/codice/ddf/statuses/{sha}","languages_url":"https://api.github.com/repos/codice/ddf/languages","stargazers_url":"https://api.github.com/repos/codice/ddf/stargazers","contributors_url":"https://api.github.com/repos/codice/ddf/contributors","subscribers_url":"https://api.github.com/repos/codice/ddf/subscribers","subscription_url":"https://api.github.com/repos/codice/ddf/subscription","commits_url":"https://api.github.com/repos/codice/ddf/commits{/sha}","git_commits_url":"https://api.github.com/repos/codice/ddf/git/commits{/sha}","comments_url":"https://api.github.com/repos/codice/ddf/comments{/number}","issue_comment_url":"https://api.github.com/repos/codice/ddf/issues/comments{/number}","contents_url":"https://api.github.com/repos/codice/ddf/contents/{+path}","compare_url":"https://api.github.com/repos/codice/ddf/compare/{base}...{head}","merges_url":"https://api.github.com/repos/codice/ddf/merges","archive_url":"https://api.github.com/repos/codice/ddf/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/codice/ddf/downloads","issues_url":"https://api.github.com/repos/codice/ddf/issues{/number}","pulls_url":"https://api.github.com/repos/codice/ddf/pulls{/number}","milestones_url":"https://api.github.com/repos/codice/ddf/milestones{/number}","notifications_url":"https://api.github.com/repos/codice/ddf/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/codice/ddf/labels{/name}","releases_url":"https://api.github.com/repos/codice/ddf/releases{/id}","deployments_url":"https://api.github.com/repos/codice/ddf/deployments","created_at":"2013-12-13T20:38:28Z","updated_at":"2018-02-21T16:33:31Z","pushed_at":"2018-03-01T13:46:59Z","git_url":"git://github.com/codice/ddf.git","ssh_url":"git@github.com:codice/ddf.git","clone_url":"https://github.com/codice/ddf.git","svn_url":"https://github.com/codice/ddf","homepage":"http://ddf.codice.org","size":385827,"stargazers_count":78,"watchers_count":78,"language":"Java","has_issues":false,"has_projects":true,"has_downloads":true,"has_wiki":false,"has_pages":true,"forks_count":128,"mirror_url":null,"archived":false,"open_issues_count":37,"license":{"key":"other","name":"Other","spdx_id":null,"url":null},"forks":128,"open_issues":37,"watchers":78,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/codice/ddf/pulls/2963"},"html":{"href":"https://github.com/codice/ddf/pull/2963"},"issue":{"href":"https://api.github.com/repos/codice/ddf/issues/2963"},"comments":{"href":"https://api.github.com/repos/codice/ddf/issues/2963/comments"},"review_comments":{"href":"https://api.github.com/repos/codice/ddf/pulls/2963/comments"},"review_comment":{"href":"https://api.github.com/repos/codice/ddf/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/codice/ddf/pulls/2963/commits"},"statuses":{"href":"https://api.github.com/repos/codice/ddf/statuses/002a4ef6a4839ddca37dcce7570d22a5e1d83d2e"}},"author_association":"CONTRIBUTOR"}}
{"actor":{"display_login":"glenhein"}}