Commit Graph

755 Commits

Author SHA1 Message Date
Sara Vieira
1e881f3148 feat(my-joyent): process packages in redux 2017-09-14 13:55:31 +01:00
Sara Vieira
884db125e0 feat(my-joyent): fetch packages and implement filters 2017-09-14 12:26:57 +01:00
Sérgio Ramos
3b427871cf feat: CNS env variables (#675) 2017-09-13 14:32:32 -05:00
Wyatt Preul
e70d80425a fix: only get a single dg for id 2017-09-13 19:30:45 +01:00
Sérgio Ramos
1fe36f0e1b feat(portal-api): create Service's before provisioning (#673) 2017-09-13 13:11:20 -05:00
Wyatt Preul
2ce08bbe30 fix: TypeError exception 2017-09-13 15:54:19 +01:00
Sérgio Ramos
9eda12e75d fix(portal-api): handle connection error 2017-09-13 10:39:12 +01:00
geek
a58be6be37 chore: more stable db connect/bootstrap 2017-09-13 10:10:51 +01:00
Sérgio Ramos
71ff59cb55 build: update versions 2017-09-08 18:08:05 +01:00
Sara Vieira
ff23179bfd feat(my-joyent): add Header Section to My-joyent 2017-09-08 16:44:08 +01:00
Sara Vieira
d0e4bcd27e chore(ui-toolkit): add tertiary button 2017-09-08 13:01:37 +01:00
Sérgio Ramos
6aa2725cc8 test(cp-gql-mock-server): add logs to socket and http server lifecycle 2017-09-08 12:25:56 +01:00
Sérgio Ramos
5d7f7bcb00 style: ignore dist folders for lint 2017-09-08 10:56:07 +01:00
Sara Vieira
e2e6069749 feat(my-joyent): Adds boilerplate for my joyent
Create starting boilerplate for my joyent prototype
2017-09-08 10:38:32 +01:00
Sérgio Ramos
0083b29146 chore: update lockfile 2017-09-07 19:02:45 +01:00
Sérgio Ramos
38e558e9f8 fix(cp-frontend): remove leftover log 2017-09-07 19:02:45 +01:00
Sérgio Ramos
4cf174301a fix(ui-toolkit): s/postinstall/prepublish 2017-09-07 19:02:45 +01:00
Sérgio Ramos
d8ac561552 fix(cp-frontend): handle inexistent healthy status 2017-09-07 19:02:45 +01:00
Sérgio Ramos
1384d5b50a fix(ui-toolkit,cp-frontend): bold label only in Form 2017-09-07 19:02:45 +01:00
Sara Vieira
1ac0848ce2 chore(joyent-boilerplate): remove unused deps 2017-09-07 18:01:37 +01:00
Sara Vieira
c82a655375 feat(joyent-boilerplate): initial commit 2017-09-07 17:28:56 +01:00
Sérgio Ramos
19b1176435 style: lint 2017-09-07 16:29:41 +01:00
Sara Vieira
9df5afc607 test(cp-frontend): add more tests 2017-09-07 16:02:29 +01:00
Sara Vieira
d1bc04c528 fix(cp-frontend,ui-toolkit): increase synchrony between wireframes and code 2017-09-07 16:02:29 +01:00
Sérgio Ramos
3c3f6f1c65 fix(cp-frontend): don't fetchMoreMetrics if it's still loading 2017-09-06 11:46:45 +01:00
Sérgio Ramos
f5d9085531 chore(portal-api): version bump 2017-09-06 11:15:04 +01:00
Sérgio Ramos
fa0a6b9ffc fix(portal-api): update machine's primaryIp 2017-09-06 11:14:20 +01:00
Sérgio Ramos
cceacbebab style: format 2017-09-06 10:46:34 +01:00
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
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
geek
376136f8dd feat(portal-data): instance start/stop/restart 2017-06-15 17:11:40 +01:00
geek
5220139fdb bug(portal-data): query by deployment slug works 2017-06-15 17:11:40 +01:00
Sérgio Ramos
1cc2330b22 feat(joyent-cp-frontend): create dg initial implementation 2017-06-15 17:11:40 +01:00
Sérgio Ramos
b5a8a8e23d fix(joyent-cp-gql-schema): don't require created and obj on Manifest 2017-06-15 17:11:40 +01:00
Sérgio Ramos
14ffdb9636 refactor(joyent-manifest-editor): react-codemirror as peer-dep
BREAKING CHANGE
2017-06-15 17:11:40 +01:00
Sérgio Ramos
75eded4b06 feat(joyent-manifest-editor): initial implementation 2017-06-15 17:11:40 +01:00
Sérgio Ramos
def5b7e54d feat(joyent-cp-gql-mock-server): add support for nested queries 2017-06-15 16:37:09 +01:00
geek
3c1763ceb4 feat(portal-data): instance sub-query, start/delete services 2017-06-09 00:04:46 +01:00
geek
1e157641b2 feat(portal-data): can stop services 2017-06-09 00:04:46 +01:00
geek
7e01748e8a feat(portal-data): support sub-queries 2017-06-08 13:46:46 +01:00
Sérgio Ramos
b6f6f1b2a8 fix(joyent-cp-frontend): fix fallback gql hostname 2017-06-07 16:56:33 +01:00
Sérgio Ramos
ebec51b965 feat(joyent-cp-gql-schema): add nested queries to more fields
- also, fix identation
 - remove redundant query type
2017-06-07 16:51:37 +01:00
Sérgio Ramos
6ab74d4216 test(joyent-cp-frontend): update Header snapshots 2017-06-07 15:09:49 +01:00
Sérgio Ramos
4ca5fc4f3b refactor(joyent-ui-toolkit): remove Header redundant properties 2017-06-07 15:09:49 +01:00
Sérgio Ramos
f17fae6a74 feat(joyent-cp-frontend): integrate toolkit's Header 2017-06-07 15:09:49 +01:00
Sérgio Ramos
56315d02c7 feat(joyent-ui-toolkit): implement Header component 2017-06-07 15:09:49 +01:00
Sérgio Ramos
1510341307 test(joyent-cp-frontend): bootstrap unit tests 2017-06-07 10:27:33 +01:00
Sérgio Ramos
87b3d8e9f5 fix(joyent-ui-toolkit): force min-width of CardOptions 2017-06-06 11:57:12 +01:00
Sérgio Ramos
3cd8e6b55a test(portal-data): disable (temp) ci tests 2017-06-06 11:19:05 +01:00
geek
7b9a40a8f9 chore: bootstrap data for frontend 2017-06-06 10:38:59 +01:00
geek
9674394709 chore(portal-api): add start script to support frontend 2017-06-05 19:44:43 +01:00
geek
86b52a96f5 feat(portal-data): scaling is now supported 2017-06-05 19:44:43 +01:00
geek
123eafbb5c chore: lint cleanup in compose-client 2017-06-05 19:44:43 +01:00
geek
37bd108f40 feat: support scale and cb in docker 2017-06-03 00:20:49 +01:00
Sérgio Ramos
372665f978 build(joyent-ui-toolkit): compile styleguide and serve 2017-06-02 02:27:28 +01:00
Sérgio Ramos
3c7800aba1 fix(joyent-ui-toolkit): make CardHeader use full parent width 2017-06-02 02:15:06 +01:00
Sérgio Ramos
caf07a24d9 build(joyent-cp-frontend): build after setting ENV 2017-06-02 01:03:51 +01:00
Sérgio Ramos
5c34c94935 build: reference the right serve bin 2017-06-02 00:25:23 +01:00
Sérgio Ramos
6bc4d25521 build: don't yarn global 2017-06-01 23:50:13 +01:00
Sérgio Ramos
7dcf112309 style(joyent-cp-frontend): ignore build 2017-06-01 23:35:01 +01:00
Sérgio Ramos
2ce47eb669 build(joyent-cp-frontend): build for demo 2017-06-01 23:32:58 +01:00
Sérgio Ramos
af899f353d docs(docker-compose-client): add tag to server build 2017-06-01 22:53:57 +01:00
Sérgio Ramos
340dd41645 docs(docker-compose-client): document server setup 2017-06-01 22:51:45 +01:00
geek
caee178ad8 feat(portal-data): support manifest provision flow 2017-06-01 22:30:34 +01:00
Sérgio Ramos
7445a9a3e5 docs: fix demo links 2017-06-01 21:09:05 +01:00
Sérgio Ramos
c7faaffbfa fix(joyent-cp-gql-mock-server): enable cors 2017-06-01 18:28:40 +01:00
Sérgio Ramos
96fae2b95d ci: accept CIRCLE_BRANCH in all Dockerfiles 2017-06-01 17:20:25 +01:00
Sérgio Ramos
0503802282 ci: better run-parallel error log 2017-06-01 17:04:13 +01:00
JUDIT GRESKOVITS
8cd863f394 fix(joyent-cp-frontend,joyent-ui-toolkit): Uuids become ids 2017-06-01 15:05:10 +01:00
Sérgio Ramos
539e1ea35e fix(joyent-cp-frontend): set REACT_APP_GQL_HOSTNAME 2017-06-01 12:10:14 +01:00
Sérgio Ramos
23871f351c docs: add demo links to readmes 2017-06-01 11:59:06 +01:00
JUDIT GRESKOVITS
cab7411454 feat(joyent-ui-toolkit,joyent-cp-frontend): Quick actions show and hide 2017-06-01 11:08:32 +01:00
Sérgio Ramos
df5d8655f9 fix(joyent-cp-frontend): use a dynamic graphql hostname 2017-05-31 22:48:33 +01:00
Sérgio Ramos
39b6ca3a0d style: disable no-warning-comments instance 2017-05-31 22:41:45 +01:00
Sérgio Ramos
1b672c5667 docs: add container badges 2017-05-31 22:35:35 +01:00
Sérgio Ramos
81b34c8efe chore: add coverage to CI 2017-05-31 21:58:39 +01:00
geek
e879b7be97 feat(portal-data): include instance/package methods 2017-05-31 21:51:43 +01:00
Sérgio Ramos
e44471c1f1 fix(styled-is): add missing dependency - redrun 2017-05-31 20:57:17 +01:00
Sérgio Ramos
61d1df94c1 style: update root lint rules 2017-05-31 20:17:12 +01:00
Sérgio Ramos
0667ca8ad3 chore: different test targets for CI
this allows for junit reports and parallel executions
2017-05-31 20:04:12 +01:00
Sérgio Ramos
ead66d38e6 fix(cp-gql-mock-server): schema compability 2017-05-31 17:09:06 +01:00
geek
b6c6139023 chore(portal-data): add manifest and versions support 2017-05-31 15:43:20 +01:00
geek
cf5f476898 chore: data layer 2017-05-30 20:18:45 +01:00
Sérgio Ramos
fdbfeb2e37 chore: setup docker-compose.yml 2017-05-30 18:54:20 +01:00
Sérgio Ramos
c957d419ee chore(joyent-ui-toolkit): ignore styleguide 2017-05-30 14:13:38 +01:00
JUDIT GRESKOVITS
cc16944dbe feat(joyent-ui-toolkit): Add tooltip 2017-05-30 14:06:18 +01:00
Sérgio Ramos
b96e4321d4 feat(eslint-config): disable capitalized-comments 2017-05-26 19:26:54 +01:00
Sérgio Ramos
33239dc2f6 chore(portal-api): exit 0 on test script
temporary. we need to work on installing rdb in CI so that the test can run
2017-05-26 12:27:12 +01:00
Sérgio Ramos
b1c0701804 chore(portal-data): exit 0 on test script
temporary. we need to work on installing rdb in CI so that the test can run
2017-05-26 12:16:12 +01:00
Sérgio Ramos
150a9e45ad style(portal-data): conform tests to belly-button 2017-05-26 12:03:00 +01:00
Sérgio Ramos
8887fa3384 chore: properly handle full and relative paths in format 2017-05-26 10:19:54 +01:00
geek
1efcc32748 chore(portal-data): move portal-data to packages 2017-05-25 21:07:34 +01:00
geek
265b144cfa chore(portal-api): move portal-api to packages 2017-05-25 19:44:31 +01:00
JUDIT GRESKOVITS
d93ab9eb74 Merge branch 'master' of https://github.com/yldio/joyent-portal 2017-05-25 17:49:56 +01:00
JUDIT GRESKOVITS
5ffa07aeee feat(cp-frontend): Move portal query to header, display result, return user from mock server 2017-05-25 17:32:19 +01:00
Sérgio Ramos
e2c0845145 chore: publish
- cloudapi-gql@1.0.4
 - joyent-cp-frontend@1.1.0
 - joyent-cp-gql-mock-server@1.0.4
 - joyent-cp-gql-schema@1.0.4
 - joyent-cp-rdb-bootstrap@1.0.4
 - normalized-styled-components@1.0.5
 - pseudo-json-ast@1.0.6
 - pseudo-yaml-ast@1.0.6
 - remcalc@1.0.5
 - rnd-id@1.0.5
 - styled-is@1.0.7
 - joyent-ui-toolkit@1.1.0
 - unitcalc@1.0.5
2017-05-25 16:07:31 +01:00
Sérgio Ramos
f3e531dbd8 feat(cp-frontend,ui-toolkit): style inheritance using .extend (#458)
styled-components@2 exposes a new `.extend`[1] API. It is less problematic than
styled(Parent).

[1]: https://www.styled-components.com/docs/basics#extending-styles
2017-05-25 09:59:58 -05:00
Sérgio Ramos
91381bfe80 chore(cp-gql-mock-server): enable nodemon for dev 2017-05-25 15:57:57 +01:00
Sérgio Ramos
7bf95fd551 fix(ui-toolkit): compile on postinstall 2017-05-25 15:31:22 +01:00
Sérgio Ramos
d2ac10ae28 fix(cp-frontend): use postinstall hook to patch react-scripts
instead of `install`
2017-05-25 14:57:41 +01:00
Sérgio Ramos
11bb161bb2 chore: update lockfiles 2017-05-25 14:48:30 +01:00
Sérgio Ramos
73899b2784 fix(cp-frontend): gracefully handle multiple postinstall executions
checks if the webpack backup exists already before trying to create it
2017-05-25 14:41:29 +01:00
Sérgio Ramos
c45fb3ce41 chore: publish
- cloudapi-gql@1.0.3
 - joyent-cp-frontend@1.0.3
 - joyent-cp-gql-mock-server@1.0.3
 - joyent-cp-gql-schema@1.0.3
 - joyent-cp-rdb-bootstrap@1.0.3
 - normalized-styled-components@1.0.4
 - pseudo-json-ast@1.0.5
 - pseudo-yaml-ast@1.0.5
 - remcalc@1.0.4
 - rnd-id@1.0.4
 - styled-is@1.0.6
 - joyent-ui-toolkit@1.0.3
 - unitcalc@1.0.4
2017-05-25 14:21:02 +01:00
Sérgio Ramos
19f3678747 fix(ui-toolkit): copy fonts before compiling 2017-05-25 14:11:16 +01:00
Sérgio Ramos
44a2f2ea43 fix(styled-is): correct package entrypoints 2017-05-25 14:04:57 +01:00
Sérgio Ramos
185916e9bf chore: update dependencies 2017-05-25 13:47:44 +01:00
Sérgio Ramos
5fb69bec22 chore(cp-frontend): assert nsc imports are after sc's
nsc = normalized-styled-components
sc = styled-components
2017-05-25 13:15:18 +01:00
Sérgio Ramos
8295bd6882 chore: initial lerna setup
this shall be a progressive process
2017-05-25 10:56:50 +01:00