You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@apex.apache.org by cs...@apache.org on 2016/02/25 00:37:52 UTC

[1/2] incubator-apex-core git commit: APEXCORE-355 #resolve renamed list-*-attributes commands so that they are more intuitive

Repository: incubator-apex-core
Updated Branches:
  refs/heads/master 470bdeb27 -> 264a4f3a4


APEXCORE-355 #resolve renamed list-*-attributes commands so that they are more intuitive


Project: http://git-wip-us.apache.org/repos/asf/incubator-apex-core/repo
Commit: http://git-wip-us.apache.org/repos/asf/incubator-apex-core/commit/3efd6590
Tree: http://git-wip-us.apache.org/repos/asf/incubator-apex-core/tree/3efd6590
Diff: http://git-wip-us.apache.org/repos/asf/incubator-apex-core/diff/3efd6590

Branch: refs/heads/master
Commit: 3efd65900bd495efd6aa43ffa751a0579da21804
Parents: b81468c
Author: David Yan <da...@datatorrent.com>
Authored: Wed Feb 24 15:08:24 2016 -0800
Committer: David Yan <da...@datatorrent.com>
Committed: Wed Feb 24 15:08:24 2016 -0800

----------------------------------------------------------------------
 .../main/java/com/datatorrent/stram/cli/DTCli.java  | 16 ++++++++--------
 1 file changed, 8 insertions(+), 8 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-apex-core/blob/3efd6590/engine/src/main/java/com/datatorrent/stram/cli/DTCli.java
----------------------------------------------------------------------
diff --git a/engine/src/main/java/com/datatorrent/stram/cli/DTCli.java b/engine/src/main/java/com/datatorrent/stram/cli/DTCli.java
index 0bd20fa..8a8aa9d 100644
--- a/engine/src/main/java/com/datatorrent/stram/cli/DTCli.java
+++ b/engine/src/main/java/com/datatorrent/stram/cli/DTCli.java
@@ -641,12 +641,12 @@ public class DTCli
       new Arg[]{new FileArg("app-package-file"), new Arg("operator-class")},
       null,
       "Get operator properties within the given app package"));
-    globalCommands.put("list-application-attributes", new CommandSpec(new ListAttributesCommand(AttributesType.APPLICATION),
-      null, null, "Lists the application attributes"));
-    globalCommands.put("list-operator-attributes", new CommandSpec(new ListAttributesCommand(AttributesType.OPERATOR),
-      null, null, "Lists the operator attributes"));
-    globalCommands.put("list-port-attributes", new CommandSpec(new ListAttributesCommand(AttributesType.PORT), null, null,
-      "Lists the port attributes"));
+    globalCommands.put("list-default-app-attributes", new CommandSpec(new ListDefaultAttributesCommand(AttributesType.APPLICATION),
+        null, null, "Lists the default application attributes"));
+    globalCommands.put("list-default-operator-attributes", new CommandSpec(new ListDefaultAttributesCommand(AttributesType.OPERATOR),
+        null, null, "Lists the default operator attributes"));
+    globalCommands.put("list-default-port-attributes", new CommandSpec(new ListDefaultAttributesCommand(AttributesType.PORT),
+        null, null, "Lists the default port attributes"));
 
     //
     // Connected command specification starts here
@@ -3807,11 +3807,11 @@ public class DTCli
     APPLICATION, OPERATOR, PORT
   }
 
-  private class ListAttributesCommand implements Command
+  private class ListDefaultAttributesCommand implements Command
   {
     private final AttributesType type;
 
-    protected ListAttributesCommand(@NotNull AttributesType type)
+    protected ListDefaultAttributesCommand(@NotNull AttributesType type)
     {
       this.type = Preconditions.checkNotNull(type);
     }


[2/2] incubator-apex-core git commit: Merge branch 'APEXCORE-355'

Posted by cs...@apache.org.
Merge branch 'APEXCORE-355'


Project: http://git-wip-us.apache.org/repos/asf/incubator-apex-core/repo
Commit: http://git-wip-us.apache.org/repos/asf/incubator-apex-core/commit/264a4f3a
Tree: http://git-wip-us.apache.org/repos/asf/incubator-apex-core/tree/264a4f3a
Diff: http://git-wip-us.apache.org/repos/asf/incubator-apex-core/diff/264a4f3a

Branch: refs/heads/master
Commit: 264a4f3a46309f916e458ee5203b293f70e57dd3
Parents: 470bdeb 3efd659
Author: Chandni Singh <cs...@apache.org>
Authored: Wed Feb 24 15:37:15 2016 -0800
Committer: Chandni Singh <cs...@apache.org>
Committed: Wed Feb 24 15:37:15 2016 -0800

----------------------------------------------------------------------
 .../main/java/com/datatorrent/stram/cli/DTCli.java  | 16 ++++++++--------
 1 file changed, 8 insertions(+), 8 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-apex-core/blob/264a4f3a/engine/src/main/java/com/datatorrent/stram/cli/DTCli.java
----------------------------------------------------------------------