Граф коммитов

175 Коммитов

Автор SHA1 Сообщение Дата
dsslater 30ae93fb3f Workflow ui (#2008)
* First mock of workflow components

* adding horizontal resharding demo to tasks

* use angular css

* workflow ui change

* add icons to workflow ui

* Fixed back to the future example

* renaming files to match workflow names

* Simplify mock data insertion through update

* Fixing linter errors

* Reworking Workflows to use a service

* Changed children of nodes to be an array instead of a map.

* Set up Workflow UI to parse and build workflows from JSON.

* Reworked workflow components to remove redundant html code

* Made padding consistent and added color to running workflows.

* Removed .orig file accidently added.

* Removed vendored styles in favor of CDNs.

* Removed commented out HTML.
2016-08-30 16:28:08 -07:00
dsslater 894e7dabf6 Low hanging features (#1998)
* Added dsahboard view and created keyspace service

* Implemented most of the views necessary. Checking in to sync up.

* restructured file tree

* Working on CRUD interface

* Finished adding mock up views to dashboard

* Implemented keyspace read functionality

* Adds CRUD functionality for Keyspaces and infrastructure

* Started exposing Shard API Endpoints

* gofmt

* Added support for shard endpoints

* Addressed all comments by enisoc and mberlin

* vtctld: added full crud functionality for UI.

Pointed UI to endpoint that leverages vtctl for commands.
Added support for Validation at all levels, RebuildKeyspaceGraph,
RemoveKeyspaceCell, InitShardMaster, Ping, and RefreshState.

* Added new icons on the sidenav, these do not point to new views.

* Removed extraneous merge files and adde new line to dialog-content

* handle partial list error

* gofmt indented return in api.go

* gofmt

* moved material imports to modules in app.module

* fix line length for linter

* adding command support and prime dropdown

* Dashboard has commands working

* removed dashboard prepare function

* finished transition to commands in dialog setting, added tablet actions

* updated to webpack

* Merged changes from shard branch.

* Changing to openDialog instead of prepareDialog pattern.

* Began moving directives to app.module.

* Fix merge issues and add Accordion to PrimeNG import.

* Removed unused import.

* Removed unnecessary style.

* Exported routes so typescript compiler can find it.

* Moved error message to DailogSettings.

* Added spaces to function defaults based on style guide.

* Changing to menu for actions instead of accordion.

* Change shard view to use menus.

* Moved Keyspace actions into menu and fixed command preview.

* Finished keyspace cards and added hover effect.
2016-08-30 11:57:28 -07:00
Priyanka Kulshreshtha f1967ac588 Moved directives into app.module & renamed tablet.component to tablet-popup.component 2016-08-25 23:03:31 -07:00
Priyanka Kulshreshtha 816dd2b495 addressed comments by mberlin 2016-08-25 22:31:30 -07:00
Priyanka Kulshreshtha 6edb3a45fd Fixed indentation on status.component.ts 2016-08-25 22:31:30 -07:00
Priyanka Kulshreshtha 26f9f68871 addressed style comments from thompsonja 2016-08-25 22:31:30 -07:00
Priyanka Kulshreshtha 87ed9f193d Generate one heatmap per keyspace 2016-08-25 22:30:41 -07:00
Priyanka Kulshreshtha 899f8ebe14 Implemented routing to different views + basic popup template 2016-08-25 22:29:58 -07:00
Anthony Yeh aa0f33514a vtctld2: Fix @angular2-material import paths. (#1996) 2016-08-25 16:47:35 -07:00
Anthony Yeh b3e415101d vtctld2: Move all providers to AppModule. (#1995)
Providers and directives are now injected at the module level, rather than in every component.
2016-08-25 16:34:39 -07:00
pkulsh c295efad21 Replaced paper dropdowns with primeNg dropdowns (#1989) 2016-08-24 16:57:57 -07:00
David Slater dd1bad01d9 Removed Polymer from the app and replaced it with PrimeNG 2016-08-24 15:11:16 -07:00
David Slater 38fba2bb63 Addressed comments by enisoc
Changed pattern from preparing dialogs to preparing and opening in one
function.
Added ACL check for vtctl endpoint and schema endpoint.
Seperated the generation of vtctl commands into flags and args.
Better seperated the vtctl service from its clients.
Cleaned up style issues.
2016-08-24 13:56:02 -07:00
David Slater 746c386d3d Changed vtctl service to respect abstraction layers 2016-08-22 13:41:14 -07:00
David Slater 34a4174fc1 Merge branch 'master' into shard/crud 2016-08-22 11:53:16 -07:00
Anthony Yeh d273bfc488 vtctld2: Update to latest angular-cli
From angular-cli master branch, commit
3dcd49bc625db36dd9f539cf9ce2492107e0258c
2016-08-19 16:03:00 -07:00
Anthony Yeh 005020cd32 Merge branch 'master' into angular-cli 2016-08-17 20:01:22 -07:00
Anthony Yeh 8cff0057f4 vtctld2: Make sidenav content flex. 2016-08-17 18:16:40 -07:00
Anthony Yeh 6d1b41ebc5 vtctld2: Update to angular-cli 1.0.0-beta.11-webpack.2 2016-08-17 18:16:40 -07:00
thompsonja 1790e4ba37 Merge pull request #1945 from pkulsh/web-statusComponent
Heatmap populates with values from service
2016-08-17 11:50:20 -07:00
Priyanka Kulshreshtha 7f0bda4512 Fixed URL for tabletHealth call 2016-08-16 22:47:48 -07:00
Priyanka Kulshreshtha 36d5011cde Addressed comments from thompsonja 2016-08-16 17:14:27 -07:00
David Slater dea02aadd7 Merge branch 'master' into shard/crud 2016-08-16 17:03:41 -07:00
Anthony Yeh 6ffceb17a5 vtctld2: Fix scrolling on dashboard. 2016-08-15 16:57:15 -07:00
Priyanka Kulshreshtha cc9e8df243 Fixed some linting errors 2016-08-15 16:37:57 -07:00
Priyanka Kulshreshtha 8f88b3d1eb Addressed comments from thompsonja 2016-08-15 16:37:02 -07:00
Priyanka Kulshreshtha e519a88e00 Heatmap populates with values from service 2016-08-12 18:43:06 -07:00
Anthony Yeh 4ce6c4cf9a vtctld2: Fix use of PolyElement() for Angular 2 RC5. 2016-08-12 17:47:44 -07:00
Anthony Yeh 93253a9b61 vtctld2: Add own components to module declarations. 2016-08-12 17:29:20 -07:00
Anthony Yeh 7e59f3abd0 vtctld2: Update angular2-material to alpha.7-2. 2016-08-12 17:10:22 -07:00
David Slater 1dc5764129 Fixed routing and md-button for rc5. Broken on Polymer. 2016-08-12 16:50:12 -07:00
David Slater 204c759cae Updating to rc5 2016-08-12 13:29:58 -07:00
Priyanka Kulshreshtha 5bcc2ce769 Added the ngModule component support Angular 2 update 2016-08-12 11:20:21 -07:00
David Slater 66d58425b7 Removed extraneous merge files and adde new line to dialog-content 2016-08-09 15:30:54 -07:00
David Slater bf0c1e254a Added new icons on the sidenav, these do not point to new views. 2016-08-09 15:18:01 -07:00
David Slater 910a1ad443 vtctld: added full crud functionality for UI.
Pointed UI to endpoint that leverages vtctl for commands.
Added support for Validation at all levels, RebuildKeyspaceGraph,
RemoveKeyspaceCell, InitShardMaster, Ping, and RefreshState.
2016-08-09 15:18:01 -07:00
David Slater 1350157d7b Started exposing Shard API Endpoints 2016-08-09 15:09:05 -07:00
David Slater 4561775c3a Addressed all comments by enisoc and mberlin 2016-08-09 15:09:05 -07:00
David Slater 64a4a29302 Adds CRUD functionality for Keyspaces and infrastructure 2016-08-09 14:56:36 -07:00
David Slater 914336347e Implemented keyspace read functionality 2016-08-09 14:45:53 -07:00
David Slater be8b2f7399 Finished adding mock up views to dashboard 2016-08-09 14:42:58 -07:00
David Slater 75ff6504ec Working on CRUD interface 2016-08-09 14:38:45 -07:00
David Slater 5deaa8cec3 restructured file tree 2016-08-09 14:34:38 -07:00
David Slater f0dd9df14c Implemented most of the views necessary. Checking in to sync up. 2016-08-09 14:33:58 -07:00
David Slater a435129761 Added dsahboard view and created keyspace service 2016-08-09 14:27:32 -07:00
David Slater 65377c12ce renamed files to kebab case 2016-08-08 21:05:43 -07:00
David Slater 4cfb52fba2 Addressed all comments by enisoc and mberlin 2016-08-08 21:05:43 -07:00
David Slater f11e1fed62 Adds CRUD functionality for Keyspaces and infrastructure 2016-08-08 21:04:50 -07:00
David Slater caa697d25d Added CRUD functionality to keyspaces sin flags 2016-08-08 21:02:59 -07:00
David Slater bb07b9b31f Implemented keyspace read functionality 2016-08-08 21:02:59 -07:00
David Slater 198f2a059f Fixed routing to use navigate 2016-08-08 20:59:40 -07:00
David Slater 94e4f6cddf Finished adding mock up views to dashboard 2016-08-08 20:59:40 -07:00
David Slater 3aa51febd6 imported ng-prime button 2016-08-08 20:53:37 -07:00
David Slater 26db2b98f7 Working on CRUD interface 2016-08-08 20:53:37 -07:00
David Slater 2e153c082b changed shardview to table 2016-08-08 20:47:43 -07:00
David Slater 259163a712 restructured file tree 2016-08-08 20:47:43 -07:00
David Slater 39ffcfe4ac Implemented most of the views necessary. Checking in to sync up. 2016-08-08 20:47:43 -07:00
David Slater 3799b331eb Added dsahboard view and created keyspace service 2016-08-08 20:39:21 -07:00
Priyanka Kulshreshtha d754897771 Removed extra spaces in html 2016-08-04 15:50:29 -07:00
Priyanka Kulshreshtha c26739a1e5 Changed html table css 2016-08-04 15:34:47 -07:00
Priyanka Kulshreshtha 22644f6fe2 Fixed spacing in html files. 2016-08-04 00:02:41 -07:00
Priyanka Kulshreshtha 784c5dcb16 Addressed style comments by mberlin 2016-08-04 00:01:24 -07:00
Priyanka Kulshreshtha 8f358937de Addressed comments from mberlin 2016-08-03 13:25:08 -07:00
Priyanka Kulshreshtha ca2ff42133 Addressed comments from mberlin and finished statusComponent. 2016-08-02 11:01:32 -07:00
Priyanka Kulshreshtha 7412e64cab Finished the heatmap component and a template view using it 2016-07-29 12:20:31 -07:00
Priyanka Kulshreshtha d74d3657c7 Cleaned up code and made 2 plotly heatmap instances. 2016-07-26 11:38:07 -07:00
Priyanka Kulshreshtha fe280c0eb9 web: 2 prototypes for heatmap component 2016-07-24 22:12:02 -07:00
David Slater 6b8270eb6e Added tests for shard organizer 2016-07-06 14:34:42 -07:00
David Slater 46102ff87f Removed hard coded string for srvkeyspaces 2016-07-06 13:28:08 -07:00
Anthony Yeh 50bb657d9b vtctld: Remove experimental VSchema editor UI.
The experimental VSchema editor UI was originally intended as a learning
tool to help explain VSchema concepts. We are removing it prior to the
General Availability release because we don't want to encourage a workflow
in which new VSchema is pushed instantly without review.

Instead, VSchema configs should be under source control, and changes
should be peer-reviewed before being pushed at an appropriate time by a
DBA. This mirrors industry best practices for regular SQL schema changes.

In a future release, we plan to incorporate an improved, holistic
Schema+VSchema management system. For now, updates should be done through
vtctlclient:

http://vitess.io/reference/vtctl.html#applyvschema
2016-07-01 23:58:29 -07:00
Anthony Yeh 71f5373208 vtctld2: Implement TopoBrowserComponent. 2016-06-29 02:58:18 -07:00
Anthony Yeh e5e30d81ec vtctld2: Fix 'ng lint' issues. 2016-06-29 02:58:18 -07:00
Anthony Yeh 1039886a08 vtctld2: Add BreadcrumbsComponent. 2016-06-29 02:58:18 -07:00
Anthony Yeh 359ae161a7 vtctld2: Rename TopoComponent to TopoBrowserComponent. 2016-06-29 02:58:18 -07:00
Anthony Yeh 4b986b5df6 vtctld2: Add TopoDataService. 2016-06-29 02:58:18 -07:00
David Slater f88d791df9 removed comments and changed selectors to be unique 2016-06-28 18:22:53 -07:00
David Slater ffc24611e2 Added basic routing and stubs 2016-06-28 17:10:27 -07:00
Anthony Yeh 4ab78e2f7d Merge pull request #1828 from enisoc/vtctld2
vtctld2: Add main toolbar and sidenav.
2016-06-28 16:12:59 -07:00
Anthony Yeh f613722221 vtctld2: Add main toolbar and sidenav. 2016-06-28 16:02:09 -07:00
Joshua Thompson ee49559feb Merge remote-tracking branch 'upstream/master' into vtctld_webdriver_test 2016-06-28 09:36:05 -07:00
David Slater 2da6d094a7 Fixed bug with -cell that prevents complete failure 2016-06-27 16:59:24 -07:00
Anthony Yeh 8a93070611 Fix whitespaces. 2016-06-27 16:15:46 -07:00
Anthony Yeh 53de75e7b1 Merge pull request #1823 from enisoc/vtctld2
vtctld: Add skeleton for Angular 2 UI.
2016-06-27 14:59:50 -07:00
Anthony Yeh 402a3b1c96 vtctld: Add skeleton for Angular 2 UI. 2016-06-27 13:56:30 -07:00
David Slater c894e27f5d Changed the concurrency pattern and refactored the srv_keyspace handler. 2016-06-24 14:49:50 -07:00
Priyanka Kulshreshtha ffbb69e8a2 Made changes recommended by @enisoc 2016-06-24 10:52:40 -07:00
David Slater 83a12ac842 Implemented support for the local keyword for <cell> and added the -cell
flag
2016-06-23 13:53:53 -07:00
David Slater 28d84cba55 Made the changes recommended by @enisoc by changing the exposed API,
properly handled concurrency, and refactored code.
2016-06-23 11:04:01 -07:00
David Slater 044aadab73 Made the changes recommended by @mberlin and added functionality for
multiple keyspaces
2016-06-22 16:35:23 -07:00
David Slater 0900e66ae4 Exposed a new API target called srvkeyspace and implemented front end
to use it.
2016-06-21 17:48:26 -07:00
Joshua Thompson a99e6c6bc8 First version of vtctld webdriver test. 2016-06-17 15:40:53 -07:00
Alain Jobart 87da8bcc28 Removing unused GetEndPoints vtctld API. 2016-01-06 09:59:05 -08:00
Alain Jobart 432575b187 Refactoring the vtctld explorer plug-ins. This is much simpler. 2015-12-10 06:56:36 -08:00
Anthony Yeh 8d5144ce33 Fix links to renamed VTGateV3.md 2015-12-03 13:54:41 -08:00
Anthony Yeh 19c9069321 k8s: vtctld links through proxy to vttablet
This looks easy, but it required that we first force all vtctld web
access to go through the kubectl proxy. That, in turn, only made sense
if we provided a way to have vtctlclient access without directly
exposing vtctld's port on the public net.
2015-11-02 17:11:34 -08:00
Alain Jobart f93355c0b0 Fixing type list in this file too. 2015-10-23 07:12:49 -07:00
Alain Jobart cff02b5c10 Removing SCHEMA_UPDATE tablet type, unusued. Re-ordering existing
types in proto3.
2015-10-23 07:12:49 -07:00
Anthony Yeh c7ca8a3291 web/vtctld: Fix typo. 2015-08-19 00:19:37 -07:00
Anthony Yeh beb2733458 web/vtctld: Fix shard dashboard for new topo structures. 2015-08-11 11:22:47 -07:00
Alain Jobart 0b08bb50de Fixing UI for new tablet type. 2015-08-10 13:24:14 -07:00