Commit Graph

228 Commits

Author SHA1 Message Date
Sérgio Ramos
9f3782558f fix(portal-api): fix bootstrap-data portal-data require 2017-06-29 11:33:32 +01:00
Sérgio Ramos
060e4186ce chore: update lockfile 2017-06-29 10:41:30 +01:00
JUDIT GRESKOVITS
ef6c166c56 feat(ui-toolkit, cp-frontend): Fix services list 2017-06-28 18:38:28 +01:00
geek
40f666adc2 chore: combine data/watch into api module 2017-06-28 18:34:50 +01:00
Sérgio Ramos
48549e5d38 multiple bug fixes (#528)
* fix(portal-data): don't fallback on service instances

* feat(portal-data): run delete service in background

* fix(portal-watch): throtle (by dg-service) changes resolver

* feat(portal-watch): resolve all machines on start

* fix(portal-watch): add missing dependency
2017-06-28 10:04:34 -05:00
Sérgio Ramos
8e56cb0ada style: lint 2017-06-28 12:08:46 +01:00
Sérgio Ramos
8717d19136 feat(portal-watch): don't filter by hash 2017-06-28 12:08:46 +01:00
Sérgio Ramos
bb99662976 fix(portal-data): don't fallback on service slug 2017-06-28 12:08:46 +01:00
Sérgio Ramos
a2e0100f5e fix(portal-data): infer container id from machine_id (they are not the same) 2017-06-28 12:08:46 +01:00
Sérgio Ramos
b3581a61d2 fix(portal-data): use 'serviceId' argmument instead of 'id' for scale() 2017-06-28 12:08:46 +01:00
Sérgio Ramos
f94a0869a6 fix(portal-data): don't integrate cp-client (for now) 2017-06-28 12:08:46 +01:00
Sérgio Ramos
19635e7a0a fix(portal-api): parse DOCKER_HOST for protocol, hostname, and port 2017-06-28 12:08:46 +01:00
Sérgio Ramos
15d689b0c2 feat(cp-frontend): remove leading '/' from services url 2017-06-28 12:08:46 +01:00
Sérgio Ramos
20052a4a13 feat(cp-frontend): remove scale modal after mutate response 2017-06-28 12:08:46 +01:00
Sérgio Ramos
6aec0d3f68 feat(cp-frontend): remove id from scale mutation 2017-06-28 12:08:46 +01:00
Sérgio Ramos
0172d32bad feat(cp-gql-schema): remove id from ServiceScale 2017-06-28 12:08:46 +01:00
Sérgio Ramos
4b7027295f feat(cp-frontend): integrate Progressbar into create/edit DG flow 2017-06-28 10:52:32 +01:00
robertzlatarski
5cade4e17d feat(ui-toolkit): initial Progressbar implementation 2017-06-28 10:52:32 +01:00
Sérgio Ramos
3aa88141d4 feat(portal-data): use internals.resolveCb 2017-06-28 10:18:10 +01:00
Sérgio Ramos
e8f05282fa feat(cp-frontend): add manifest notice for imported DG 2017-06-28 10:18:10 +01:00
Sérgio Ramos
cb908d33e5 refactor(portal-data): lint 2017-06-28 10:18:10 +01:00
Sérgio Ramos
d7a8a55d22 feat(cp-frontend): update instance status colors based on new InstanceStatus'es 2017-06-28 10:18:10 +01:00
Sérgio Ramos
2bc7ef3973 feat(portal-data): handle deleted based on new InstanceStatus'es 2017-06-28 10:18:10 +01:00
Sérgio Ramos
ce2a13e501 feat(cp-gql-schema): update InstanceStatus'es
based on:
 - 1bc3c1eeb5/lib/machines.js (L75-L116)
 - 280af75e07/docs/index.md (vm-states)
2017-06-28 10:18:10 +01:00
Sérgio Ramos
041d6bf73f feat(portal-data): if machine is deleted, remove it from Service 2017-06-28 10:18:10 +01:00
Sérgio Ramos
c438f07e56 feat(cp-gql-schema): add READY and STOPPING InstanceStatus'es 2017-06-28 10:18:10 +01:00
Sérgio Ramos
4e241191bf feat(cp-frontend): DeploymentGroup reprovision flow 2017-06-28 10:18:10 +01:00
Sérgio Ramos
3aa7ec54bb fix(portal-data): use version() when provisioning 2017-06-28 10:18:10 +01:00
Sérgio Ramos
3f1625aa5a feat(portal-data): expose version() in DeploymentGroup 2017-06-28 10:18:10 +01:00
Sérgio Ramos
05bc971a58 feat(portal-data): importable() don't list already imported DeploymentGroups 2017-06-28 10:18:10 +01:00
Sérgio Ramos
12fa092c3b feat(portal-data): set imported when creating imported DeploymentGroup 2017-06-28 10:18:10 +01:00
Sérgio Ramos
a150dabff2 feat(cp-gql-schema): add imported to DeploymentGroup 2017-06-28 10:18:10 +01:00
Sérgio Ramos
190601a999 feat(cp-gql-schema): add PROVISIONING to InstanceStatus 2017-06-28 10:18:10 +01:00
Sérgio Ramos
61bd88e437 feat(cp-gql-schema): expose Manifest in Version instead of manifestId 2017-06-28 10:18:10 +01:00
geek
aa853fe4c8 feat(portal-data): insert ip address in instance record 2017-06-27 20:47:10 +01:00
JUDIT GRESKOVITS
a14672355c fix(cp-frontend): Add missing empty instances component 2017-06-27 17:59:31 +01:00
JUDIT GRESKOVITS
8e90dbfa56 feat(cp-frontend, ui-toolkit): Resize nodes and topolgy 2017-06-27 17:48:03 +01:00
Sérgio Ramos
5dab93e59e feat(cp-gql-schema): add healthy attr to Instance (#520) 2017-06-26 10:56:08 -05:00
Sérgio Ramos
f2ad0da7e2 feat(cp-frontend): add status to instances 2017-06-26 16:25:38 +01:00
Sérgio Ramos
fc160e6a17 feat(cp-gql-schema): add FAILED InstanceStatus 2017-06-26 16:25:38 +01:00
Sérgio Ramos
8078471355 feat(cp-frontend): import existing project 2017-06-26 16:25:38 +01:00
Sérgio Ramos
7f1d731dc6 import existing deployment groups (#516)
* refactor: config() from mutation to query

* refactor(cp-frontend): remove unused dependency

* feat(portal-watch): expose getContainers() and compose tags

* fix(portal-watch): assert services by name AND hash

* feat(portal-data): expose importable and import APIs

* fix(portal-data): add missing dependencies

* feat(portal-api): expose import/importable

* feat(cp-gql-schema): add import/importable

* feat(cp-frontend): import existing project

* style(portal-watch): lint

* style(portal-data): lint

* chore: update lockfile
2017-06-26 09:29:12 -05:00
Sérgio Ramos
20b8b23cbb chore(cp-frontend): restore Dockerfile for demo compose 2017-06-26 14:26:55 +01:00
geek
892c5a4575 chore(frontend): move docker artificats into docker folder 2017-06-26 13:59:14 +01:00
geek
dfe3b66f53 chore: build from published modules 2017-06-26 13:59:14 +01:00
JUDIT GRESKOVITS
a373e4efa2 feat(cp-frontend, cp-gql-mock-server): add stop, start, delete to resolvers 2017-06-26 13:53:10 +01:00
Sérgio Ramos
2ea33c2a07 feat(cp-frontend): improve review stage of deployment group creation 2017-06-23 12:49:36 +01:00
Sérgio Ramos
627761e98d feat(portal-api): expose config mutation 2017-06-23 12:49:36 +01:00
Sérgio Ramos
885c6cfe5e feat(cp-gql-schema): add config() mutation 2017-06-23 12:49:36 +01:00
Sérgio Ramos
53cd13b561 feat(portal-data): add config() mutation 2017-06-23 12:49:36 +01:00
Sérgio Ramos
5fe14a7c5a fix(docker-compose-client): remove services attr from config() 2017-06-23 12:49:36 +01:00
geek
b47ebebf9e bug: copy keys for sdc 2017-06-22 22:30:40 +01:00
geek
be842aba31 bug(portal-data): support compose reconnects 2017-06-22 18:12:39 +01:00
Sérgio Ramos
bc679d6ac6 feat(portal-api): integrate portal-watch (#510) 2017-06-22 12:09:13 -05:00
Sérgio Ramos
8530b24691 feat(joyent-cp-frontend): integrate toolkit's SectionList 2017-06-22 11:47:25 +01:00
Sérgio Ramos
1fcd1b9eed feat(joyent-ui-toolkit): implement SectionList 2017-06-22 11:47:25 +01:00
Sérgio Ramos
aa8d9f7a25 feat(eslint-config-joyent-portal): don't lint anything prettier related 2017-06-22 11:46:54 +01:00
Sérgio Ramos
c66164f37e feat(portal-api): fix indentation 2017-06-22 10:57:03 +01:00
Sérgio Ramos
920eaf0903 feat(joyent-cp-gql-mock-server): serve reqs under /api 2017-06-22 10:43:33 +01:00
geek
54a5c6a46e feat(cp-frontend): use nginx instead of serve 2017-06-22 10:43:29 +01:00
Sérgio Ramos
101f4fb423 style(portal-api): fix lint 2017-06-21 20:12:57 +01:00
geek
7104e6e1a9 feat: add docker-compose-api to compose 2017-06-21 20:01:02 +01:00
geek
c30b688ee9 chore(portal-api): Bootstrap data 2017-06-21 17:17:47 +01:00
Sérgio Ramos
77bb76bf1a style(portal-api): lint 2017-06-20 23:02:40 +01:00
geek
32b450c1b6 feat(portal-api): report metrics from hapi 2017-06-20 22:33:54 +01:00
geek
5e7bec0aa7 feat(portal-watch): initial implementation 2017-06-20 19:23:25 +01:00
Sérgio Ramos
5307c1db1f build: change npm loglevel to info 2017-06-20 16:25:03 +01:00
Sérgio Ramos
914dbca77f build: force npm^4 2017-06-20 15:52:09 +01:00
Sérgio Ramos
76ee6b66ed build(cp-frontend): build assets on runtime 2017-06-20 15:45:50 +01:00
Sérgio Ramos
d4bedc0515 build: s/sensors.sh/sensors 2017-06-20 14:48:05 +01:00
Sérgio Ramos
7b02780472 build: remove redundant sensor 2017-06-20 14:44:40 +01:00
Sérgio Ramos
aaef6e64e1 build: ignore package-lock 2017-06-20 14:44:27 +01:00
geek
6cd39b2d8c build: extended support for containerpilot v3
with sensors and local-compose
2017-06-20 13:54:37 +01:00
geek
ffb66639d7 build(portal-api): dockerizing 2017-06-20 13:54:32 +01:00
robertzlatarski
3fc72f667e feat(joyent-ui-toolkit): Add dropdown component 2017-06-20 12:27:38 +01:00
Sérgio Ramos
edc5fcba87 style(joyent-cp-frontend): remove unused variables 2017-06-20 10:40:23 +01:00
Sérgio Ramos
eb37c7de49 feat(joyent-cp-frontend): integrate toolkit's Breadcrumb 2017-06-20 10:40:23 +01:00
Sérgio Ramos
e6b6f6a761 feat(joyent-ui-toolkit): implement Breadcrumb 2017-06-20 10:40:23 +01:00
Sérgio Ramos
b8dfb73959 build: update docker-compose ports 2017-06-20 01:11:15 +01:00
Sérgio Ramos
86662ae170 build: update config files to support containerpilot v3 2017-06-20 00:18:34 +01:00
Sérgio Ramos
443752dc75 build: don't uglify 2017-06-19 15:29:33 +01:00
Sérgio Ramos
29b42fd4fc chore: remove packages' yarn-lock
related: https://github.com/lerna/lerna/issues/852
2017-06-19 13:50:10 +01:00
JUDIT GRESKOVITS
7e359e5836 feat: number input and mutations for restart, stop and start 2017-06-19 13:48:34 +01:00
Sérgio Ramos
0623c06fc7 build(joyent-ui-toolkit): build styleguide in dev 2017-06-17 00:42:31 +01:00
Sérgio Ramos
97a820688b fix(joyent-cp-frontend): destruct data in handleQuickActionsClick 2017-06-16 23:41:28 +01:00
Sérgio Ramos
dc5cd78f50 test(joyent-ui-toolkit): format with prettier 2017-06-16 23:34:30 +01:00
Sérgio Ramos
487e96e261 test(joyent-cp-frontend): disable ci tests (for now) 2017-06-16 23:18:23 +01:00
Sérgio Ramos
054306bb73 fix(joyent-cp-frontend): warn on debugger 2017-06-16 23:13:48 +01:00
Sérgio Ramos
c65706c0ab fix(joyent-cp-frontend): send event when calling onQuickActionsClick 2017-06-16 23:13:12 +01:00
Sérgio Ramos
eeb4fde251 fix(joyent-cp-frontend): fix prettier errors 2017-06-16 23:03:35 +01:00
Sérgio Ramos
ce3f63eaae fix(joyent-cp-frontend): patch react-scripts to use eslintrc 2017-06-16 23:01:06 +01:00
Sérgio Ramos
b22121cb93 fix: downgrade eslint 2017-06-16 22:45:45 +01:00
Sérgio Ramos
40c3ec24bd fix(joyent-ui-toolkit): add missing reduce-css-calc dependency 2017-06-16 22:45:24 +01:00
Sérgio Ramos
871893598f chore: restore removed packages 2017-06-16 21:46:36 +01:00
Sérgio Ramos
18be101068 chore: re-align dependencies 2017-06-16 21:08:33 +01:00
JUDIT GRESKOVITS
bd2bf728c6 feat(joyent-cp-frontend,joyent-ui-toolkit,joyent-cp-gql-mock-data): Scaling and delete modals 2017-06-16 15:19:30 +01:00
Sérgio Ramos
03e19d4a6a fix(cp-gql-mock-server): return object for deploymentGroup() 2017-06-16 13:41:30 +01:00
Sérgio Ramos
66c7e2d444 fix(docker-compose-client): bump version to match registry 2017-06-15 17:11:40 +01:00
Sérgio Ramos
6cfeae136d chore: fix linting with hoisted eslint 2017-06-15 17:11:40 +01:00
Sérgio Ramos
4923f39463 fix(joyent-cp-frontend): add polling interval to dg list 2017-06-15 17:11:40 +01:00