Commit Graph

427 Commits

Author SHA1 Message Date
Sérgio Ramos
d4aff642e3 fix(portal-api): 'Uuid' is not defined 2017-09-05 22:57:28 +01:00
Sérgio Ramos
fcd0e2820a fix(portal-api): fix branch health resolution 2017-09-05 22:22:41 +01:00
Sérgio Ramos
a6abc105a9 fix(cp-frontend): fix branches overriding services 2017-09-05 21:53:34 +01:00
Sérgio Ramos
bf86427609 fix(portal-api): don't propagate prometheus errors 2017-09-05 21:53:34 +01:00
Sérgio Ramos
5cbdb23e3f feat(cp-gql-mock-server): simulate loading times 2017-09-01 23:32:06 +01:00
geek
18c94f7f60 chore: update api images 2017-09-01 23:19:47 +01:00
Sérgio Ramos
8ee09f8716 fix(cp-frontend): fix chevron extend 2017-09-01 00:17:44 +01:00
Sérgio Ramos
f67da0aeef feat(cp-gql-schema): add primaryIp to Instance 2017-09-01 00:17:04 +01:00
Sérgio Ramos
a5a87a686e perf(portal-api): reduce triton calls (slow) 2017-09-01 00:16:25 +01:00
Sérgio Ramos
9be6a27012 chore: s/postinstall/prepublish 2017-08-31 17:45:56 +01:00
Sérgio Ramos
27ab4fa81b chore(ui-toolkit): update styleguidist 2017-08-31 15:46:27 +01:00
Sérgio Ramos
edcf2f3fa5 chore(cp-frontend): version bump 2017-08-30 19:23:54 +01:00
Sérgio Ramos
b2f0b4c205 chore: version bumps 2017-08-30 17:42:17 +01:00
Sérgio Ramos
2b46af7e2f style: format 2017-08-30 17:00:42 +01:00
Sérgio Ramos
9c4d69d586 feat(cp-frontend): only show GraphsContainer when metrics existent 2017-08-30 16:47:10 +01:00
Sérgio Ramos
8695a134d2 fix(portal-api): get current scale from db 2017-08-30 16:46:40 +01:00
Sérgio Ramos
3bcd712e42 fix(cp-frontend): downgrade react-router 2017-08-30 15:37:10 +01:00
Sérgio Ramos
fd2916f90e fix(portal-api): handle inexistent prometheus service 2017-08-30 15:15:56 +01:00
Sérgio Ramos
94c664fecc fix(cp-frontend): poll even when no services (service list) 2017-08-30 15:06:58 +01:00
Sérgio Ramos
d9ae6eb34a fix(cp-frontend): handle no previous metrics 2017-08-30 14:52:17 +01:00
Sérgio Ramos
0d659c94e8 style(cp-frontend): format 2017-08-30 14:09:34 +01:00
Sérgio Ramos
d08a8b00a9 fix(cp-frontend): handle no data in metrics loop 2017-08-30 14:02:27 +01:00
Sérgio Ramos
3db2cfaea5 fix(eslint-config-joyent-portal): add missing dependency 2017-08-30 12:37:02 +01:00
Sérgio Ramos
3ddeb0517e fix(cp-frontend): fix imported manifest notice 2017-08-30 12:30:50 +01:00
Sérgio Ramos
d30988f652 fix(ui-toolkit): proper use of HealthyIcon healthy prop 2017-08-30 12:24:43 +01:00
Sérgio Ramos
90975b30e3 feat(cp-frontend): change document title 2017-08-30 12:17:49 +01:00
Sérgio Ramos
468604058e style(cp-frontend): format 2017-08-30 12:17:21 +01:00
Sérgio Ramos
441d4118d7 feat(ui-toolkit): consistent health statuses 2017-08-30 12:12:08 +01:00
Sérgio Ramos
9b647a77eb feat(cp-frontend): show service list even when error 2017-08-30 11:57:08 +01:00
Sérgio Ramos
666a9ad1e8 feat(portal-api): ignore metrics for stopped instances 2017-08-30 11:56:42 +01:00
Sérgio Ramos
827379806b fix(cp-frontend): custom getPreviousEnd 2017-08-30 11:40:15 +01:00
Sérgio Ramos
b918a5bb66 fix(cp-frontend): don't require metrics for topology 2017-08-30 10:46:28 +01:00
Sérgio Ramos
b89d1ad686 feat(cp-frontend): display metrics in service list 2017-08-30 10:20:05 +01:00
Sérgio Ramos
7f22dea0b8 fix(normalized-styled-components): update tests snapshots 2017-08-28 21:50:57 +01:00
Sérgio Ramos
17def8e304 style: static methods 2017-08-28 21:31:38 +01:00
Sérgio Ramos
c7938efd2f chore: update dependencies 2017-08-28 20:47:19 +01:00
Sérgio Ramos
cac9453154 style: format 2017-08-28 20:24:36 +01:00
Sérgio Ramos
d1af5eec1a feat(portal-api): check for public networks when fetching metrics 2017-08-28 20:05:58 +01:00
Sérgio Ramos
75ec47b234 fix(cp-frontend): update webpack patch 2017-08-28 20:04:55 +01:00
JUDIT GRESKOVITS
1eac90c79a feat: initial metrics implementation 2017-08-25 18:29:47 +01:00
geek
0d8a282248 chore(api): update deps/tests 2017-08-25 10:28:42 +01:00
Sérgio Ramos
983db9ede5 style(portal-api): format 2017-08-23 14:25:45 +01:00
Sérgio Ramos
5fbb94f54d fix(cp-frontend): fallback instance health 2017-08-23 14:18:49 +01:00
geek
77acb731ac feat: can query metrics on instance 2017-08-22 17:56:57 +01:00
Judit Greskovits
ce31f505a0 feat(cp-gql-mock-server, cp-gql-schema): Metrics to be a filed on instances (#607) 2017-08-22 10:17:33 -05:00
Sérgio Ramos
06fe7e1312 chore(cp-frontend): version bump 2017-08-22 14:40:56 +01:00
Sérgio Ramos
8d1a70e6e1 fix(portal-api): properly set server property in MachineWatcher 2017-08-22 14:38:42 +01:00
Sérgio Ramos
d8f727ef1a fix(portal-api): fallback dockerComposeHost to localhost 2017-08-22 14:38:42 +01:00
Sérgio Ramos
b5ea1580e5 fix(cp-frontend): handle manifests without env varibales 2017-08-22 14:38:42 +01:00
Sérgio Ramos
ccf1fd6f9a feat(cp-frontend): don't show env toggle when no variables set 2017-08-22 14:38:42 +01:00
geek
f38a0c5907 chore: updating to latest dep versions 2017-08-21 20:49:54 +01:00
JUDIT GRESKOVITS
3c0aa552f9 feat(cp-frontend): Add reducers and selectors unit tests 2017-08-21 18:48:39 +01:00
geek
5f97704c78 bug: boostrap/start when rethink/docker are ready 2017-08-21 18:05:57 +01:00
Sérgio Ramos
7cce1e6f8e fix(cp-gql-schema): typos 2017-08-21 17:46:26 +01:00
Sérgio Ramos
cc9dc08247 style(portal-api): format 2017-08-21 17:11:49 +01:00
Sérgio Ramos
663bc9be9d fix(portal-api): default rethinkdb host to localhost 2017-08-21 16:52:57 +01:00
Sérgio Ramos
291a771bd9 fix(cp-frontend): fix react-scripts patch 2017-08-21 16:52:28 +01:00
geek
7e0b4c8901 test: adding metric testing 2017-08-21 14:41:22 +01:00
geek
44fec7dfb1 feat(portal-api): retrieve metrics from prometheus 2017-08-21 14:41:22 +01:00
JUDIT GRESKOVITS
c104251ac3 feat(cp-frontend, ui-toolkit, cp-gql-mock-server): Add snapshot tests 2017-08-21 14:25:48 +01:00
geek
ad7d55544f chore: update version 2017-08-17 16:02:35 +01:00
geek
e5187ff4c5 feat: support metrics in schema and mock server 2017-08-17 16:02:35 +01:00
geek
9f53c1fa17 chore(portal-api): fix tests 2017-08-17 15:59:14 +01:00
geek
454c37a3d6 chore(portal-api): create test containers 2017-08-17 15:59:14 +01:00
JUDIT GRESKOVITS
bfd54d481a fix(cp-frontend): Remove nonexisting import 2017-08-14 12:02:02 +01:00
JUDIT GRESKOVITS
bc026b2341 feat(ui-toolkit, cp-frontend): Add clear status and health messaging and refactor tooltips use 2017-08-14 11:35:26 +01:00
JUDIT GRESKOVITS
24bee629e8 fix(cp-frontend): Fix error message typos 2017-08-08 12:05:38 +01:00
JUDIT GRESKOVITS
2fb4a77c96 feat(ui-toolkit, cp-fronted, portal-api): Env variables input redesign 2017-08-08 11:22:46 +01:00
JUDIT GRESKOVITS
2eb7f4197f feat(cp-gql-mock-server, cp-frontend): Add missing dg and service error messaging 2017-08-08 11:00:50 +01:00
Sérgio Ramos
0917d67b07 chore: use yarn workspaces 2017-08-04 00:51:24 +01:00
geek
0330699c05 chore: simplify frontend docker image 2017-08-03 23:00:01 +01:00
Sérgio Ramos
0cf61c628a fix(cp-frontend): handle error validating name 2017-08-03 13:42:39 +01:00
Sérgio Ramos
2b552360e0 fix(portal-api): update import logic to assign dg.services 2017-08-03 13:41:14 +01:00
Sérgio Ramos
0ec4acce1e style(portal-api): lint 2017-08-03 11:25:10 +01:00
Sérgio Ramos
dcb775a1fe test(cp-gql-mock-server): disable tests in ci
fix is in the works
2017-08-03 10:59:27 +01:00
JUDIT GRESKOVITS
2f8ca24fa0 feat(cp-frontend): Add 404 to router and redirects for not matched routes 2017-08-02 21:12:07 +01:00
JUDIT GRESKOVITS
b1f76553ce feat(ui-toolkit, cp-frontend): Add error message component and error messages 2017-08-02 14:11:25 +01:00
geek
e5bbdadd6a feat: support TLS auth 2017-08-01 23:58:56 +01:00
geek
f896569f4c feat: remove traefik from balancing 2017-08-01 10:28:00 +01:00
Sérgio Ramos
7daf22b5b6 fix(ui-toolkit): remove erroneous character 2017-07-28 18:49:58 +01:00
Sérgio Ramos
9f3bdc6bf4 style(ui-toolkit): lint 2017-07-28 18:13:45 +01:00
Sérgio Ramos
92b9f09c01 feat(cp-frontend): uniform loading statuses and titles 2017-07-28 17:56:03 +01:00
Sérgio Ramos
935e9bacca feat(cp-frontend): sort services by name 2017-07-28 15:25:15 +01:00
Sérgio Ramos
391267d609 feat(cp-frontend): show diff loading msg when provisioning 2017-07-28 15:24:41 +01:00
Sérgio Ramos
820dcfd728 feat(cp-frontend): transitional states as disabled card 2017-07-27 18:50:01 +01:00
Sérgio Ramos
68685284ea feat(ui-toolkit): add disabled card mode 2017-07-27 18:50:01 +01:00
Sérgio Ramos
08745d4b12 fix(cp-gql-mock-server): change instance status to RUNNING after scale 2017-07-27 18:49:49 +01:00
Sérgio Ramos
dab0beedc0 feat(cp-frontend): don't show options when service is in a transitional state 2017-07-27 17:58:37 +01:00
Sérgio Ramos
763bf9ecc8 feat(cp-gql-schema): don't require scale or manifest in Version 2017-07-27 17:18:19 +01:00
Sérgio Ramos
d4877e8bb9 fix(cp-frontend): handle non existing service in scale 2017-07-27 17:13:03 +01:00
Sérgio Ramos
db58882a15 fix(ui-toolkit): make Card compatible with grid system 2017-07-26 16:27:12 +01:00
Sérgio Ramos
b865a1d118 style: lint 2017-07-26 15:41:01 +01:00
Sérgio Ramos
e8600b2c0d test(ui-toolkit): unit tests 2017-07-26 15:21:35 +01:00
Sérgio Ramos
de68427a0c test(cp-gql-mock-server): unit tests 2017-07-26 12:01:44 +01:00
Sérgio Ramos
b5605db095 feat(portal-api): send "Not Found" errors hen entity is not found
This error is only sent when fetching a single entity, or when fetching multiple
with specific filters.
2017-07-26 11:15:53 +01:00
JUDIT GRESKOVITS
5c1b76c92f feat(cp-gql-mock-server): Add more examples of deployment groups 2017-07-21 16:55:55 +01:00
JUDIT GRESKOVITS
f5cf049fe0 feat(ui-toolkit, cp-frontend): Add button states to bin 2017-07-21 11:33:36 +01:00
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