Commit Graph

280 Commits

Author SHA1 Message Date
Sérgio Ramos
ae5eaba2c1 fix(cp-frontend): poll until dg is available when editing manifest 2017-07-21 11:03:52 +01:00
Sérgio Ramos
5a8eb965ff fix(portal-api): don't return all services when no services 2017-07-21 10:13:24 +01:00
Sérgio Ramos
7f9c8b2847 fix(cp-frontend): allow provision without env 2017-07-21 10:13:24 +01:00
Sérgio Ramos
4df7549799 fix(portal-api): better handle dev enviroments 2017-07-21 10:13:24 +01:00
JUDIT GRESKOVITS
2f4e9d4a57 feat(ui-toolkit): Calculate subservices node sizes dynamically 2017-07-20 15:05:50 +01:00
Sérgio Ramos
dd1124a608 feat(cp-gql-schema): scale mutation 2017-07-20 12:33:44 +01:00
JUDIT GRESKOVITS
7f9eada428 feat(ui-toolkit, cp-frontend): Disable quick actions menu remove services filter add service 2017-07-20 12:00:37 +01:00
JUDIT GRESKOVITS
173b6c9307 feat(ui-toolkit, cp-frontend, cp-gql-mock-server): Mock deleting a deployment group and filter out deleted dgs and services on frontend 2017-07-19 17:48:13 +01:00
Sérgio Ramos
6882143a98 chore(portal-api): lint 2017-07-19 17:22:31 +01:00
Sérgio Ramos
0a8fa05498 feat(portal-api): set ACTIVE statuses for imported service/dg 2017-07-19 17:22:31 +01:00
Sérgio Ramos
4d8f6a1d4f feat(portal-api): properly expose branches 2017-07-19 17:22:31 +01:00
Sérgio Ramos
fdb24ebc13 feat(cp-gql-schema): rename watchers to watches 2017-07-19 17:22:31 +01:00
Sérgio Ramos
cdd6d98af4 feat(portal-api): rename watchers to watches 2017-07-19 17:22:31 +01:00
Sérgio Ramos
2ece20ead9 fix(manifest-editor): allow ini as mode in proptypes 2017-07-19 17:22:31 +01:00
Sérgio Ramos
ce847046bb refactor(cp-frontend): move dg/create to manifest/edit-or-create 2017-07-19 17:22:31 +01:00
Sérgio Ramos
66c4bdc520 feat(cp-gql-schema): add deleteDeploymentGroup mutation 2017-07-17 15:58:45 +01:00
Sérgio Ramos
9296d51075 feat(portal-api): support deleteDeploymentGroup 2017-07-17 15:58:45 +01:00
JUDIT GRESKOVITS
ee5a071bd9 feat(ui-toolkit, cp-frontend): Add ui to delete a deployment group 2017-07-17 14:28:58 +01:00
Sérgio Ramos
db378a6f3a fix(cp-frontend): remove rollback 2017-07-17 12:41:51 +01:00
Sérgio Ramos
08e87475f6 style(portal-api): lint 2017-07-17 12:41:51 +01:00
Sérgio Ramos
8fd37d6cf7 chore(ui-toolkit): upgrade redux-form 2017-07-17 12:41:51 +01:00
Sérgio Ramos
68084a257d feat(portal-api): add support for env_file's 2017-07-17 12:41:51 +01:00
Sérgio Ramos
441d7398a8 feat(docker-compose-client): send 'files' in options 2017-07-17 12:41:51 +01:00
Sérgio Ramos
6e5214fc07 feat(cp-gql-schema): add 'files' to Manifest 2017-07-17 12:41:51 +01:00
Sérgio Ramos
f68c2ae78a feat(cp-frontend): add and edit env_file's 2017-07-17 12:41:51 +01:00
Sérgio Ramos
09ae91af93 feat(portal-api): add branches resolver 2017-07-17 10:57:35 +01:00
Sérgio Ramos
9802bba502 feat(cp-frontend): handle removal of parent property 2017-07-17 10:57:35 +01:00
Sérgio Ramos
92181a2df0 feat(cp-gql-mock-server): handle service branches 2017-07-17 10:57:35 +01:00
Sérgio Ramos
46a352d0c8 test(portal-api): add wip cp tests 2017-07-17 10:57:35 +01:00
Sérgio Ramos
5b169cc2a3 feat(cp-gql-schema): instead of parent, allow service childs 2017-07-17 10:57:35 +01:00
Sérgio Ramos
7b5cf714d2 feat(portal-api): support sub-services 2017-07-17 10:57:35 +01:00
JUDIT GRESKOVITS
7b8c4f1de9 feat(ui-toolkit, cp-frontend): Remove options button from instances list 2017-07-13 16:16:30 +01:00
JUDIT GRESKOVITS
fe760dcca6 fix(cp-frontend): Pass full paths to menu items 2017-07-13 14:34:38 +01:00
Sérgio Ramos
1533bf5d6e style(ui-toolkit): comment un-used variable 2017-07-12 14:37:34 +01:00
Sérgio Ramos
b97e5679bf fix(portal-api): assert dg.services when watching cp 2017-07-12 14:37:34 +01:00
Sérgio Ramos
eddc8712b0 fix(portal-api): prevent crash on cp-watcher when no services 2017-07-12 14:37:34 +01:00
JUDIT GRESKOVITS
2a34632269 feat(ui-toolkit, cp-frontend, cp-gql-mock-server): Display healthy / unhealthy statuses 2017-07-12 14:11:53 +01:00
JUDIT GRESKOVITS
abdd9f9f6a feat(ui-toolkit, cp-frontend): Allow topology nodes are displayed at top when not connected 2017-07-12 13:29:25 +01:00
Sérgio Ramos
be7bb5f871 feat: detect service connections and instance health 2017-07-12 11:14:18 +01:00
JUDIT GRESKOVITS
47e9982d7f feat(ui-toolkit, cp-frontend): Ensure colours are correct and check designs 2017-07-11 15:29:19 +01:00
JUDIT GRESKOVITS
06ab07a966 feat(joyent-ui-toolkit, joyent-cp-frontend): Display transitional service statuses 2017-07-10 10:13:33 +01:00
Sérgio Ramos
5ccd873a54 feat: environment stage 2017-07-07 11:35:18 +01:00
JUDIT GRESKOVITS
9730b5733a feat(cp-gql-mock-server): Implement transitional states 2017-07-06 16:39:22 +01:00
Sérgio Ramos
012a44c00a feat: track transitional states 2017-07-06 15:40:07 +01:00
JUDIT GRESKOVITS
1bf7913ac3 feat(ui-toolkit, cp-frontend): Ensure correct update of topology view 2017-07-06 11:40:10 +01:00
geek
28699d0061 chore: fixup logic for health checks 2017-06-30 21:11:21 +01:00
geek
9c8ea8c489 feat(portal-api): add instance status data 2017-06-30 21:11:21 +01:00
JUDIT GRESKOVITS
05d0420813 feat(ui-toolkit, cp-frontend): Display statuses on topology view 2017-06-30 11:53:32 +01:00
geek
86a1149acd chore: merge changes from upstream 2017-06-29 15:53:30 +01:00
geek
f94ba08c06 feat(portal-api): populate ip addresses for instances 2017-06-29 15:53:30 +01:00
geek
da40ee11e8 chore: docker compose works with published images 2017-06-29 15:53:30 +01:00
Sérgio Ramos
548c7f5f7e feat(portal-api): replace dockerode with node-triton (#532) 2017-06-29 09:28:56 -05:00
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