[22/45] tez git commit: TEZ-3043. Tez UI 2: Create configurations page (sree)
TEZ-3043. Tez UI 2: Create configurations page (sree) Project: http://git-wip-us.apache.org/repos/asf/tez/repo Commit: http://git-wip-us.apache.org/repos/asf/tez/commit/90ac7cc5 Tree: http://git-wip-us.apache.org/repos/asf/tez/tree/90ac7cc5 Diff: http://git-wip-us.apache.org/repos/asf/tez/diff/90ac7cc5 Branch: refs/heads/master Commit: 90ac7cc5dd4c64099ff00a8fd4e8466f20543f36 Parents: a3a4637 Author: Sreenath SomarajapuramAuthored: Tue Jan 19 16:07:26 2016 +0530 Committer: Sreenath Somarajapuram Committed: Thu Feb 25 03:32:16 2016 +0530 -- TEZ-2980-CHANGES.txt| 1 + tez-ui2/src/main/webapp/app/controllers/app.js | 3 + .../main/webapp/app/controllers/app/configs.js | 60 tez-ui2/src/main/webapp/app/models/app.js | 2 + tez-ui2/src/main/webapp/app/router.js | 1 + .../src/main/webapp/app/routes/app/configs.js | 33 +++ tez-ui2/src/main/webapp/app/serializers/app.js | 2 + .../main/webapp/app/templates/app/configs.hbs | 34 +++ .../main/webapp/tests/unit/adapters/app-test.js | 2 +- .../tests/unit/controllers/app/configs-test.js | 39 + .../tests/unit/controllers/app/dags-test.js | 2 +- .../tests/unit/controllers/app/index-test.js| 2 +- .../tests/unit/controllers/attempt-test.js | 2 +- .../unit/controllers/attempt/counters-test.js | 2 +- .../unit/controllers/attempt/index-test.js | 2 +- .../tests/unit/controllers/dag/counters-test.js | 2 +- .../webapp/tests/unit/controllers/task-test.js | 2 +- .../unit/controllers/task/attempts-test.js | 2 +- .../unit/controllers/task/counters-test.js | 2 +- .../tests/unit/controllers/task/index-test.js | 2 +- .../unit/controllers/vertex/counters-test.js| 2 +- .../main/webapp/tests/unit/models/app-test.js | 2 +- .../tests/unit/routes/app/configs-test.js | 45 +++ .../webapp/tests/unit/routes/app/dags-test.js | 2 +- .../webapp/tests/unit/routes/app/index-test.js | 2 +- .../webapp/tests/unit/routes/attempt-test.js| 2 +- .../tests/unit/routes/attempt/counters-test.js | 2 +- .../tests/unit/routes/attempt/index-test.js | 2 +- .../tests/unit/routes/dag/counters-test.js | 2 +- .../main/webapp/tests/unit/routes/task-test.js | 2 +- .../tests/unit/routes/task/attempts-test.js | 2 +- .../tests/unit/routes/task/counters-test.js | 2 +- .../webapp/tests/unit/routes/task/index-test.js | 2 +- .../tests/unit/routes/vertex/counters-test.js | 2 +- .../webapp/tests/unit/serializers/app-test.js | 2 +- 35 files changed, 245 insertions(+), 25 deletions(-) -- http://git-wip-us.apache.org/repos/asf/tez/blob/90ac7cc5/TEZ-2980-CHANGES.txt -- diff --git a/TEZ-2980-CHANGES.txt b/TEZ-2980-CHANGES.txt index a79198e..c1fd7ae 100644 --- a/TEZ-2980-CHANGES.txt +++ b/TEZ-2980-CHANGES.txt @@ -20,3 +20,4 @@ ALL CHANGES: TEZ-3045. Tez UI 2: Create application details page with DAGs tab TEZ-3048. Tez UI 2: Make PhantomJS a local dependency for build tests TEZ-3042. Tez UI 2: Create Counters pages + TEZ-3043. Tez UI 2: Create configurations page http://git-wip-us.apache.org/repos/asf/tez/blob/90ac7cc5/tez-ui2/src/main/webapp/app/controllers/app.js -- diff --git a/tez-ui2/src/main/webapp/app/controllers/app.js b/tez-ui2/src/main/webapp/app/controllers/app.js index 95159c5..8333220 100644 --- a/tez-ui2/src/main/webapp/app/controllers/app.js +++ b/tez-ui2/src/main/webapp/app/controllers/app.js @@ -37,5 +37,8 @@ export default AbstractController.extend({ }, { text: "DAGs", routeName: "app.dags" + }, { +text: "Configurations", +routeName: "app.configs" }] }); http://git-wip-us.apache.org/repos/asf/tez/blob/90ac7cc5/tez-ui2/src/main/webapp/app/controllers/app/configs.js -- diff --git a/tez-ui2/src/main/webapp/app/controllers/app/configs.js b/tez-ui2/src/main/webapp/app/controllers/app/configs.js new file mode 100644 index 000..517d43b --- /dev/null +++ b/tez-ui2/src/main/webapp/app/controllers/app/configs.js @@ -0,0 +1,60 @@ +/*global more*/ +/** + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you under the Apache License, Version 2.0 (the + * "License"); you may not use this file except in compliance + * with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law
[22/45] tez git commit: TEZ-3043. Tez UI 2: Create configurations page (sree)
TEZ-3043. Tez UI 2: Create configurations page (sree) Project: http://git-wip-us.apache.org/repos/asf/tez/repo Commit: http://git-wip-us.apache.org/repos/asf/tez/commit/90ac7cc5 Tree: http://git-wip-us.apache.org/repos/asf/tez/tree/90ac7cc5 Diff: http://git-wip-us.apache.org/repos/asf/tez/diff/90ac7cc5 Branch: refs/heads/TEZ-2980 Commit: 90ac7cc5dd4c64099ff00a8fd4e8466f20543f36 Parents: a3a4637 Author: Sreenath SomarajapuramAuthored: Tue Jan 19 16:07:26 2016 +0530 Committer: Sreenath Somarajapuram Committed: Thu Feb 25 03:32:16 2016 +0530 -- TEZ-2980-CHANGES.txt| 1 + tez-ui2/src/main/webapp/app/controllers/app.js | 3 + .../main/webapp/app/controllers/app/configs.js | 60 tez-ui2/src/main/webapp/app/models/app.js | 2 + tez-ui2/src/main/webapp/app/router.js | 1 + .../src/main/webapp/app/routes/app/configs.js | 33 +++ tez-ui2/src/main/webapp/app/serializers/app.js | 2 + .../main/webapp/app/templates/app/configs.hbs | 34 +++ .../main/webapp/tests/unit/adapters/app-test.js | 2 +- .../tests/unit/controllers/app/configs-test.js | 39 + .../tests/unit/controllers/app/dags-test.js | 2 +- .../tests/unit/controllers/app/index-test.js| 2 +- .../tests/unit/controllers/attempt-test.js | 2 +- .../unit/controllers/attempt/counters-test.js | 2 +- .../unit/controllers/attempt/index-test.js | 2 +- .../tests/unit/controllers/dag/counters-test.js | 2 +- .../webapp/tests/unit/controllers/task-test.js | 2 +- .../unit/controllers/task/attempts-test.js | 2 +- .../unit/controllers/task/counters-test.js | 2 +- .../tests/unit/controllers/task/index-test.js | 2 +- .../unit/controllers/vertex/counters-test.js| 2 +- .../main/webapp/tests/unit/models/app-test.js | 2 +- .../tests/unit/routes/app/configs-test.js | 45 +++ .../webapp/tests/unit/routes/app/dags-test.js | 2 +- .../webapp/tests/unit/routes/app/index-test.js | 2 +- .../webapp/tests/unit/routes/attempt-test.js| 2 +- .../tests/unit/routes/attempt/counters-test.js | 2 +- .../tests/unit/routes/attempt/index-test.js | 2 +- .../tests/unit/routes/dag/counters-test.js | 2 +- .../main/webapp/tests/unit/routes/task-test.js | 2 +- .../tests/unit/routes/task/attempts-test.js | 2 +- .../tests/unit/routes/task/counters-test.js | 2 +- .../webapp/tests/unit/routes/task/index-test.js | 2 +- .../tests/unit/routes/vertex/counters-test.js | 2 +- .../webapp/tests/unit/serializers/app-test.js | 2 +- 35 files changed, 245 insertions(+), 25 deletions(-) -- http://git-wip-us.apache.org/repos/asf/tez/blob/90ac7cc5/TEZ-2980-CHANGES.txt -- diff --git a/TEZ-2980-CHANGES.txt b/TEZ-2980-CHANGES.txt index a79198e..c1fd7ae 100644 --- a/TEZ-2980-CHANGES.txt +++ b/TEZ-2980-CHANGES.txt @@ -20,3 +20,4 @@ ALL CHANGES: TEZ-3045. Tez UI 2: Create application details page with DAGs tab TEZ-3048. Tez UI 2: Make PhantomJS a local dependency for build tests TEZ-3042. Tez UI 2: Create Counters pages + TEZ-3043. Tez UI 2: Create configurations page http://git-wip-us.apache.org/repos/asf/tez/blob/90ac7cc5/tez-ui2/src/main/webapp/app/controllers/app.js -- diff --git a/tez-ui2/src/main/webapp/app/controllers/app.js b/tez-ui2/src/main/webapp/app/controllers/app.js index 95159c5..8333220 100644 --- a/tez-ui2/src/main/webapp/app/controllers/app.js +++ b/tez-ui2/src/main/webapp/app/controllers/app.js @@ -37,5 +37,8 @@ export default AbstractController.extend({ }, { text: "DAGs", routeName: "app.dags" + }, { +text: "Configurations", +routeName: "app.configs" }] }); http://git-wip-us.apache.org/repos/asf/tez/blob/90ac7cc5/tez-ui2/src/main/webapp/app/controllers/app/configs.js -- diff --git a/tez-ui2/src/main/webapp/app/controllers/app/configs.js b/tez-ui2/src/main/webapp/app/controllers/app/configs.js new file mode 100644 index 000..517d43b --- /dev/null +++ b/tez-ui2/src/main/webapp/app/controllers/app/configs.js @@ -0,0 +1,60 @@ +/*global more*/ +/** + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you under the Apache License, Version 2.0 (the + * "License"); you may not use this file except in compliance + * with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable