1143 Commits

Author SHA1 Message Date
Manuel Romero
3507057324 v15 staging 2025-06-18 13:01:17 +02:00
Manuel Romero
ecf21b4dda final 15 2025-06-18 13:00:31 +02:00
Manuel Romero
b6c015caa4 v 15 2025-06-18 12:26:11 +02:00
Manuel Romero
ab6fcd7d11 to version 14 2025-06-18 12:05:56 +02:00
Manuel Romero
9582570926 to version 13 2025-06-18 12:02:31 +02:00
Manuel Romero
a13e01c013 no angular/cdx 2025-06-18 11:55:58 +02:00
Manuel Romero
e71e85aed3 version 10 cdk 2025-06-18 11:45:31 +02:00
Manuel Romero
ae943222fa to version 12 - A 2025-06-18 10:24:53 +02:00
Manuel Romero
d05c9a0e84 update to 11 2025-06-18 10:13:48 +02:00
Manuel Romero
c1be523f7f update to 11 2025-06-18 10:04:32 +02:00
Manuel Romero
426f2a90a3 from 9 to 10 2025-06-17 16:30:52 +02:00
Manuel Romero
b2bbe6f429 from 9 to 10 2025-06-17 16:18:17 +02:00
Manuel Romero
3d287adec2 full vpn ip list 2025-03-12 11:30:39 +01:00
Manuel Romero
637da5371d fix issue api request 2025-03-12 10:35:55 +01:00
Manuel Romero
5d3889f414 fix 2025-03-07 14:17:23 +01:00
Manuel Romero
1d3b79eb5d refix 2025-03-07 13:57:45 +01:00
Manuel Romero
9bbccfc948 fix 2025-03-07 13:39:24 +01:00
Manuel Romero
52c475c7e2 round images 2025-03-07 12:18:03 +01:00
Manuel Romero
6c17c2f8cd improved 2025-03-07 10:58:42 +01:00
Manuel Romero
ed76f9c591 event logs 2025-03-07 09:40:45 +01:00
Manuel Romero
71aaf68cc9 latest fix 2025-03-05 13:21:53 +01:00
Manuel Romero
13bb5dedff prod 2025-03-05 13:11:57 +01:00
Manuel Romero
624296ea28 more fixes 2025-03-05 13:09:33 +01:00
Manuel Romero
f84ecac14f dale 2025-03-05 12:51:30 +01:00
Manuel Romero
f2d26011c1 Prod 2025-03-05 12:41:03 +01:00
Manuel Romero
2f6487683c fis 2025-03-05 12:40:06 +01:00
Manuel Romero
b700c10669 aws expired 2025-03-05 12:26:13 +01:00
Manuel Romero
be19759f10 fix modal alert 2025-03-04 23:47:47 +01:00
Manuel Romero
82654e0fc1 fix2 2025-03-04 15:09:46 +01:00
Manuel Romero
3d0d4d7831 prod 2025-03-04 15:05:12 +01:00
Manuel Romero
a8775f83c8 fix 2025-03-04 14:52:41 +01:00
Manuel Romero
20b6187197 rotate feature 2025-03-04 14:29:37 +01:00
Manuel Romero
80f38f988c send email and more 2025-03-04 14:05:23 +01:00
Manuel Romero
0fefa8d707 rotate iam user key 2025-03-04 13:40:15 +01:00
Manuel Romero
fb3f5f149e fix 2025-03-04 00:41:56 +01:00
Manuel Romero
9699d2c4ee Merge branch 'dev' 2025-03-04 00:32:58 +01:00
Manuel Romero
9f7fcc2d16 fix 2025-03-04 00:32:49 +01:00
Manuel Romero
0d72e2565a Merge branch 'dev' 2025-03-04 00:25:14 +01:00
Manuel Romero
a15e93668c 16 2025-03-04 00:25:00 +01:00
Manuel Romero
8d1774ebaf 16 2025-03-04 00:24:46 +01:00
Manuel Romero
c14d9efa44 new email 2025-03-04 00:10:28 +01:00
Manuel Romero
3e822193c7 13 2025-03-03 23:48:29 +01:00
Manuel Romero
00bcff469b common 12 2025-03-03 23:34:09 +01:00
Manuel Romero
22768d1040 send email too 2025-03-03 23:28:44 +01:00
Manuel Romero
2705872861 rotatekey 2025-03-03 23:09:04 +01:00
Manuel Romero
4503d22fa0 No arena 2025-03-03 16:00:22 +01:00
Manuel Romero
d92ad7f163 moved arena 2025-03-03 12:48:26 +01:00
Manuel Romero
641a25a0d5 area with VPN only 2025-03-03 12:39:03 +01:00
Manuel Romero
0cbca39114 no arena path 2025-02-27 20:39:22 +01:00
Manuel Romero
7ebea24eba dale 2025-02-25 11:47:46 +01:00
Manuel Romero
ada4f64f7f Log IP vpn 2025-02-25 11:17:20 +01:00
Manuel Romero
2efedf0d6c Log IP vpn 2025-02-25 11:05:38 +01:00
Manuel Romero
4e7386956b Log IP vpn 2025-02-25 10:40:51 +01:00
Manuel Romero
0f0e201f3e Log IP vpn 2025-02-25 10:35:01 +01:00
Manuel Romero
2eb43544ef send test email to 2025-02-20 11:58:39 +01:00
Manuel Romero
e3e14d60b5 fix 2025-02-12 15:02:56 +01:00
Manuel Romero
87b4d5a27f prod build 2025-02-12 14:10:03 +01:00
Manuel Romero
3197e1e4f2 dale2 2025-02-12 14:02:11 +01:00
Manuel Romero
b43adf4c77 dale 2025-02-12 13:41:39 +01:00
Manuel Romero
c01f1c922e dale 2025-02-12 13:33:53 +01:00
Manuel Romero
9bdd1eebaf vaaaamos 2025-02-12 13:21:56 +01:00
Manuel Romero
fe1c3e8fc6 show only if admin 2025-02-12 13:11:30 +01:00
Manuel Romero
4e70bd2a25 a ver 2025-02-12 13:07:54 +01:00
Manuel Romero
5c73924af2 dale 2025-02-12 12:52:43 +01:00
Manuel Romero
e581d7c8b5 fix 2025-02-12 12:38:19 +01:00
Manuel Romero
e09075134d Copy and sattus 2025-02-12 12:34:37 +01:00
Manuel Romero
2e015a70b3 Create snap feature 2025-02-12 11:40:19 +01:00
Manuel Romero
5238ad3810 fixes 2025-02-11 13:47:38 +01:00
Manuel Romero
a69143d8fb fix logs 2025-02-11 13:15:44 +01:00
Manuel Romero
2ffef5ff21 fix update 2025-02-11 13:00:32 +01:00
Manuel Romero
dcd45d11c8 fix 2025-02-11 12:58:34 +01:00
Manuel Romero
c4e5c9f8ce some api snaps improvements 2025-02-11 11:59:57 +01:00
Manuel Romero
f62f0b8253 snapshots stuff 2025-02-11 11:44:20 +01:00
Manuel Romero
4d2b33cde6 snap creation 2025-02-10 23:56:22 +01:00
Manuel Romero
bfb6c7a744 fix no limit 2025-02-10 23:08:43 +01:00
Manuel Romero
45bb67b33e delete yarnrc 2025-02-10 22:45:18 +01:00
Manuel Romero
79645e3d9f delete yarnrc 2025-02-10 22:41:15 +01:00
Manuel Romero
b86c2a399f delete yarnrc 2025-02-10 22:38:50 +01:00
Manuel Romero
34cb059ac6 npm, not yarn 2025-02-10 22:28:51 +01:00
Manuel Romero
5349f28d96 npm, not yarn 2025-02-10 22:25:10 +01:00
Manuel Romero
6fc191af6a fix 2025-02-10 22:10:14 +01:00
Manuel Romero
64bbb0ea71 Merge branch 'master' into dev 2025-02-10 15:16:24 +01:00
Manuel Romero
6d8985403a using user 2025-02-10 15:15:46 +01:00
Manuel Romero
600663fe27 Get snapshots and with owner 2025-02-10 15:14:19 +01:00
Manuel Romero
90d3ab407d new version 2025-02-10 14:38:38 +01:00
Manuel Romero
aebc0237ee common 5 2025-02-10 14:31:11 +01:00
Manuel Romero
d552f393af common 5 2025-02-10 14:30:35 +01:00
Manuel Romero
e33cf9721b beginstartandwait 2025-02-10 14:20:27 +01:00
Manuel Romero
584a23210e auth url 2025-02-10 14:09:54 +01:00
Manuel Romero
45f69eee4f fix dockerfile 2025-02-10 14:05:59 +01:00
mjromper
8134050821 Update .gitlab-ci.yml file 2025-02-10 13:05:04 +00:00
Manuel Romero
49d2dc1730 no other modules 2025-02-10 13:59:32 +01:00
Manuel Romero
e97acf235d some fixes 2025-02-10 11:09:13 +01:00
Manuel Romero
eaa29f3818 fix start and stop 2025-02-07 14:57:25 +01:00
Manuel Romero
1392677f83 a ver ahora 2025-02-07 14:51:22 +01:00
Manuel Romero
cf3aa345e1 a ver ahora 2025-02-07 14:47:27 +01:00
Manuel Romero
f0aa411676 a ver ahora 2025-02-07 14:39:11 +01:00
Manuel Romero
1baa295d8c a ver ahora 2025-02-07 14:38:47 +01:00
Manuel Romero
be336cab08 async for 2025-02-07 14:30:28 +01:00
Manuel Romero
c9dac49ed4 async for 2025-02-07 14:17:54 +01:00
Manuel Romero
cad96ec9e6 async for 2025-02-07 14:15:45 +01:00
Manuel Romero
5450052f65 async for 2025-02-07 14:03:07 +01:00
Manuel Romero
cf075df421 venga 2025-02-07 13:46:36 +01:00
Manuel Romero
b53c020796 more logs 2025-02-07 13:00:47 +01:00
Manuel Romero
5fa9787266 venga 2025-02-07 12:52:12 +01:00
Manuel Romero
8e800a26ac fix 2025-02-07 12:42:10 +01:00
Manuel Romero
f606afbe55 new version azurecli 2025-02-07 12:29:11 +01:00
Manuel Romero
b954da0d0e create snaps nodejs 2025-02-07 12:15:59 +01:00
Manuel Romero
ccc1534444 fix 2025-02-07 11:26:13 +01:00
Manuel Romero
4e82694daa fix 2025-01-17 14:13:00 +01:00
Manuel Romero
11ad48d01c adding snapshots 2025-01-17 14:05:05 +01:00
Manuel Romero
60c32b415e foix 2025-01-17 12:48:49 +01:00
Manuel Romero
dfe95386ac create snaps for a provision 2025-01-17 12:31:40 +01:00
Manuel Romero
e2750ca5be fix 2025-01-14 12:43:03 +01:00
Manuel Romero
75aaa94527 Merge branch 'master' of gitlab.com:qmi/qmi-cloud 2025-01-14 12:12:23 +01:00
Manuel Romero
f01dfeeba0 to master 2025-01-14 12:12:10 +01:00
Manuel Romero
ec8ca3d161 ready for prod 2025-01-14 12:09:54 +01:00
Manuel Romero
43551dd089 before_script 2025-01-14 12:04:12 +01:00
Manuel Romero
729cfe4980 payload log 2025-01-14 11:58:51 +01:00
Manuel Romero
aa9ab0b33b testing all 2025-01-14 11:49:08 +01:00
Manuel Romero
f9093c57b3 fix 2025-01-14 11:41:39 +01:00
Manuel Romero
9e5ae3df6e test 2025-01-14 11:37:53 +01:00
Manuel Romero
dd22981883 test 2025-01-13 17:48:14 +01:00
Manuel Romero
2c6a9c1886 test 2025-01-13 17:45:17 +01:00
Manuel Romero
0d4b38acc9 test 2025-01-13 17:42:21 +01:00
Manuel Romero
3d9e8ccd20 Init upgrade 2025-01-07 13:49:10 +01:00
Manuel Romero
f81770e658 rm log 2024-10-26 06:53:27 +02:00
Manuel Romero
bc9c1bab8a rm log 2024-10-26 06:46:31 +02:00
Manuel Romero
4a30c3c4ff guacamole url 2024-10-26 06:39:03 +02:00
Manuel Romero
f67a7f12c7 guacamole url 2024-10-26 06:25:34 +02:00
Manuel Romero
00a42b084c guacamole url 2024-10-26 06:24:06 +02:00
Manuel Romero
d879849625 fix guacamole 2024-10-26 05:57:16 +02:00
Manuel Romero
c32c4fbb4e Using env 2024-10-17 12:28:46 +02:00
Manuel Romero
a31471afd2 proxys dozzle and mongo 2024-10-17 11:49:58 +02:00
Manuel Romero
8f47fd6917 provs forcedestroy 2024-10-15 13:04:58 +02:00
Manuel Romero
dcc4358b2a forceDestroy shown in UI 2024-10-14 16:50:23 +02:00
Manuel Romero
482fea60b6 lastExec webhook 2024-10-08 11:05:07 +02:00
Manuel Romero
69d7c197aa delete apikey 2024-09-25 13:26:50 +02:00
Manuel Romero
553a6a528e dale 2024-09-25 13:05:02 +02:00
Manuel Romero
6c6909a468 fix cache 2024-09-25 12:42:21 +02:00
Manuel Romero
38a8d8f86c fix redirect 2024-09-24 17:08:28 +02:00
Manuel Romero
1502acaf44 config api 2024-09-24 12:59:32 +02:00
Manuel Romero
9601dbf5cd qmi config hot file 2024-09-24 12:37:50 +02:00
Manuel Romero
039fe0bbc2 fix guacamole 2024-09-18 15:03:16 +02:00
Manuel Romero
8ee9a489a2 staging 2024-09-17 12:20:00 +02:00
Manuel Romero
e1edefcbb1 no cache passport 2024-09-17 12:18:04 +02:00
Manuel Romero
b8deb9ad46 fix 2024-09-17 12:01:28 +02:00
Manuel Romero
dd3c61da4f 5.0.4 2024-09-17 10:50:18 +02:00
Manuel Romero
7f64898f25 frame ancestor 2024-09-16 09:13:27 +02:00
Manuel Romero
7378abaf3a frame-ancestors 2024-09-13 17:58:48 +02:00
Manuel Romero
258d772027 fix 2024-09-13 17:41:36 +02:00
Manuel Romero
a6e1371601 Fixes content security stugg 2024-09-13 17:39:01 +02:00
Manuel Romero
8c376c3056 security headers 2024-09-13 16:55:55 +02:00
Manuel Romero
8236a9fad1 More events 2024-09-02 11:14:44 +02:00
Manuel Romero
11d42317fc Edit webhook 2024-09-02 11:08:22 +02:00
Manuel Romero
fe4fac6767 error 2024-08-30 15:46:05 +02:00
Manuel Romero
4922ad62da fix 2024-08-30 15:06:13 +02:00
Manuel Romero
4810ca613d final final 2024-08-30 14:59:58 +02:00
Manuel Romero
bacf9edf27 venga 2024-08-30 14:46:28 +02:00
Manuel Romero
88ce06e271 Final 2024-08-30 14:35:13 +02:00
Manuel Romero
f087692e76 fix ui 2024-08-30 13:35:26 +02:00
Manuel Romero
e8cc84d993 webhook ui 2024-08-30 13:20:22 +02:00
Manuel Romero
b407116a8d refix2 2024-08-30 12:27:28 +02:00
Manuel Romero
412be44231 refix 2024-08-30 12:26:19 +02:00
Manuel Romero
facb95ec2d webhook name 2024-08-30 12:18:44 +02:00
Manuel Romero
989167bba9 webhook name 2024-08-30 12:12:24 +02:00
Manuel Romero
7293003952 fix3 2024-08-30 11:55:49 +02:00
Manuel Romero
9cb7674768 fix2 2024-08-30 11:50:46 +02:00
Manuel Romero
e1afb66267 fix 2024-08-30 11:42:59 +02:00
Manuel Romero
b178f3d7ac provision error 2024-08-30 11:40:06 +02:00
Manuel Romero
13f1c9cfac provosion destroyed webhook 2024-08-30 11:37:11 +02:00
Manuel Romero
3a8bc61d10 test webhooks 2024-08-30 11:19:31 +02:00
Manuel Romero
5e80311c2b master 2024-08-28 14:43:57 +02:00
Manuel Romero
25e77d905a cog 2024-08-28 14:08:11 +02:00
Manuel Romero
c383bd5996 edit purpose 2024-08-28 13:17:54 +02:00
Manuel Romero
888aaf3ca5 create snaps endpoints 2024-08-22 14:14:48 +02:00
Manuel Romero
68fdadb612 prod 2024-07-24 12:00:20 +02:00
Manuel Romero
dbdd96d41a user actions buttons 2024-07-24 11:47:48 +02:00
Manuel Romero
5a8d7f336f blue 2024-07-22 13:44:05 +02:00
Manuel Romero
85580c01e2 fix link 2024-07-12 14:31:03 +02:00
Manuel Romero
aac5c53024 cost on provisions 2024-07-12 14:03:57 +02:00
Manuel Romero
18a7f57570 only include SG- and DL- 2024-07-11 13:26:48 +02:00
Manuel Romero
b93d9eb4e6 includes 2024-07-11 13:08:10 +02:00
Manuel Romero
9dc7b5f192 fix 2024-07-11 12:50:15 +02:00
Manuel Romero
8083c49857 fix 2024-07-11 12:41:12 +02:00
Manuel Romero
c76c90dd35 forced_destroy 2024-07-11 12:07:15 +02:00
Manuel Romero
edaf885715 destroy_date 2024-07-11 11:52:17 +02:00
Manuel Romero
8b553892bf fix styles 2024-07-11 10:55:27 +02:00
Manuel Romero
a68f83acb7 refix 2024-07-05 14:28:10 +02:00
Manuel Romero
5b1c57d3ee fix 2024-07-05 14:11:27 +02:00
Manuel Romero
ea44c95307 more styles 2024-07-05 13:49:46 +02:00
Manuel Romero
399fd83d3a new styles 2024-07-05 13:42:06 +02:00
Manuel Romero
c2f4ee1716 flags 2024-07-01 11:18:42 +02:00
Manuel Romero
7f5d8151ca better flags 2024-06-26 15:21:12 +02:00
Manuel Romero
5e01850099 flags 2024-06-21 13:18:49 +02:00
Manuel Romero
997acf2d9f change divvy endpoint route 2024-06-20 10:35:45 +02:00
Manuel Romero
7e20dcaaad fix 2024-06-19 15:51:04 +02:00
Manuel Romero
cd5308942e better logging divvy 2024-06-19 15:37:51 +02:00
Manuel Romero
7f76d433c5 better logging 2024-06-18 12:15:34 +02:00
Manuel Romero
99b1694a81 More logs 2024-06-18 10:35:36 +02:00
Manuel Romero
0bf02618f4 do not log event cache discarded 2024-06-17 10:38:41 +02:00
Manuel Romero
e2588e4743 divvy 2024-06-17 10:25:21 +02:00
Manuel Romero
6462c06b2a divvy 2024-06-17 10:25:08 +02:00
Manuel Romero
fd1f514843 divvy 2024-06-17 10:24:55 +02:00
Manuel Romero
cb253e6fee fiux 2024-06-17 10:22:51 +02:00
Manuel Romero
504a928fae new endpoint direct divvy 2024-06-17 10:09:20 +02:00
Manuel Romero
205118b36d fix divvy 2024-06-14 14:41:33 +02:00
Manuel Romero
4c65faf7b3 dev build 2024-06-14 14:35:44 +02:00
Manuel Romero
d53a41a621 Okta groups 2024-06-14 14:29:14 +02:00
Manuel Romero
67da6db525 Merge branch 'dev' 2024-06-13 13:23:07 +02:00
Manuel Romero
4a69e40ae9 common divvy response 2024-06-13 13:21:57 +02:00
Manuel Romero
5fc83b2522 do not build webhook in staging 2024-06-13 12:20:11 +02:00
Manuel Romero
9c85de9eb9 updated mongoose 2024-06-13 12:06:30 +02:00
Manuel Romero
935ac401fa Merge branch 'dev' 2024-06-13 11:19:29 +02:00
Manuel Romero
a799a33c69 Sending to QMI-Dev if provision not found 2024-06-13 11:18:35 +02:00
Manuel Romero
1cbe69ea99 fix 2024-06-13 10:22:04 +02:00
Manuel Romero
0fee8fcbe3 better logs 2024-06-13 10:19:03 +02:00
Manuel Romero
5b5051bab7 fix middleware for auth 2024-06-13 10:08:42 +02:00
Manuel Romero
1919b0482a ensure api key authenticated 2024-06-12 16:35:25 +02:00
Manuel Romero
0f26e92eea webhook 2024-06-12 16:12:26 +02:00
Manuel Romero
ff3e9bee77 fix divvy error 2024-06-12 14:41:43 +02:00
Manuel Romero
dc2ff34955 User groups from App Registration 2024-06-11 15:25:00 +02:00
Manuel Romero
8375e1241b no needed logs 2024-06-06 14:43:21 +02:00
Manuel Romero
369f80d5e6 fix rds aws command exec 2024-06-06 13:23:52 +02:00
Manuel Romero
ee76b43bf4 Remove esm at all 2024-06-06 12:51:34 +02:00
Manuel Romero
0310e71452 fix 2024-06-06 12:44:46 +02:00
Manuel Romero
399999b172 fixes node esm 2024-06-06 12:43:18 +02:00
Manuel Romero
bbeffee828 node:20.14.0-alpine 2024-06-06 11:30:16 +02:00
Manuel Romero
b980c2d4a1 Test new AWS SDK and clusters 2024-06-06 11:20:39 +02:00
Manuel Romero
5e28f2af2c fixes 2024-05-21 09:29:41 +02:00
Manuel Romero
258113fb61 UI fixes and remove hidden provisions 2024-05-20 16:27:42 +02:00
Manuel Romero
1ffc6ef8b2 Fix UI 2024-05-17 13:17:28 +02:00
Manuel Romero
ff6fa02e94 New Inter font 2024-04-25 13:42:15 +02:00
Manuel Romero
1946316ff4 log 2024-04-22 12:58:53 +02:00
Manuel Romero
4bb97afc26 fix 2024-04-22 12:44:39 +02:00
Manuel Romero
a77eaf6b1e Update oid before creating provision 2024-04-22 11:04:36 +02:00
Manuel Romero
40eef35b4f update OID 2024-04-22 10:49:04 +02:00
Manuel Romero
afc96b5817 swagger VPN 2024-04-15 17:31:09 +02:00
Manuel Romero
01a0035e30 improved login 2024-04-15 13:23:42 +02:00
Manuel Romero
b669a699db Update picture 2024-04-15 11:01:25 +02:00
Manuel Romero
bc95c0bd1c let me photo 2024-04-12 13:05:04 +02:00
Manuel Romero
8d89026fff Saving picture properly 2024-04-12 12:48:37 +02:00
Manuel Romero
0333675016 endpoint to set title 2024-04-11 11:49:45 +02:00
Manuel Romero
b30fd84c8f no error log 2024-04-10 15:28:46 +02:00
Manuel Romero
996abae180 save photo 2024-04-10 13:26:39 +02:00
Manuel Romero
835cab0214 fixes and logs 2024-04-10 11:18:20 +02:00
Manuel Romero
6b901af7d9 upgrade swagger 2024-04-10 10:59:06 +02:00
Manuel Romero
9dcb269bc2 dev 2024-04-08 17:20:04 +02:00
Manuel Romero
1cfbf4da37 no customer data 2024-04-08 16:54:02 +02:00
Manuel Romero
6a2494aea3 logs 2024-04-02 11:10:23 +02:00
Manuel Romero
de876ede03 staging conmipled 2024-04-01 11:52:37 +02:00
Manuel Romero
718630d9d4 staging 2024-04-01 11:47:35 +02:00
Manuel Romero
89a67d0d6f dockjer 2024-04-01 11:32:15 +02:00
Manuel Romero
610f8e7bbc shown hidden tab 2024-04-01 11:31:50 +02:00
Manuel Romero
ab4052c35c guacamole force VPN 2024-03-13 16:28:19 +01:00
Manuel Romero
79ae38b76b myclientip endpoint 2024-03-13 14:20:25 +01:00
Manuel Romero
cd91a6c41f fix 2024-03-13 10:31:55 +01:00
Manuel Romero
2ca4bacf79 request client ip 2024-03-13 10:11:11 +01:00
Manuel Romero
149284d265 redirect to 2024-03-12 14:10:36 +01:00
Manuel Romero
6af1e8dcd5 venga 2024-03-12 12:36:05 +01:00
Manuel Romero
02d29c42a3 lowercase user guacamole 2024-03-12 11:56:21 +01:00
Manuel Romero
4ea4d5089b Merge branch 'dev' 2024-03-12 11:35:16 +01:00
Manuel Romero
5d5421ae6d before body-parser 2024-03-12 10:23:06 +01:00
Manuel Romero
24ff7fc9bb before body-parser 2024-03-12 10:10:24 +01:00
Manuel Romero
4cb9b6c6db vamos 2024-03-11 17:19:19 +01:00
Manuel Romero
5a132667b0 new proxy guacamole 2024-03-11 17:09:48 +01:00
Manuel Romero
814ed4cbc5 vamos 2024-03-11 16:17:37 +01:00
Manuel Romero
57d9ad937e proxy guacamole 2024-03-11 15:27:53 +01:00
Manuel Romero
b9a4beb133 ms graph stuff 2024-03-05 16:34:09 +01:00
Manuel Romero
cd94b1a3ef Uppercase email 2 2024-02-29 11:22:23 +01:00
Manuel Romero
208b9e2162 Uppercase email 2024-02-29 11:19:48 +01:00
Manuel Romero
01154d1f7b master 2024-02-27 13:08:23 +01:00
Manuel Romero
6e95169f9f build 2024-02-27 12:29:54 +01:00
Manuel Romero
0d51516fcf build staging 2024-02-27 12:09:02 +01:00
Manuel Romero
bc05ba0a0d persist session mongo 2024-02-27 11:57:16 +01:00
Manuel Romero
e5beaa4902 local and dev builds 2024-02-27 11:29:54 +01:00
Manuel Romero
a4fd8f0b14 dev 2024-02-27 11:06:03 +01:00
Manuel Romero
cf61520eef prod 2024-02-27 11:05:36 +01:00
Manuel Romero
9ca17e2363 Merge branch 'dev' 2024-02-27 11:04:18 +01:00
Manuel Romero
01a98d9642 Final implementation 2024-02-27 10:58:43 +01:00
Manuel Romero
9ee489ef5a back to how it was 2024-02-26 16:12:30 +01:00
Manuel Romero
c2f26ae478 cookie secure 2024-02-26 15:59:56 +01:00
Manuel Romero
19e94b031a ahora si 2024-02-26 15:39:30 +01:00
Manuel Romero
7843a26962 dev 2024-02-26 15:22:06 +01:00
Manuel Romero
7040d5d030 session storage 2024-02-26 15:21:40 +01:00
Manuel Romero
66111af16f no ahora si que si 2024-02-26 11:53:33 +01:00
Manuel Romero
1eae012704 Ahora si 2024-02-26 11:47:35 +01:00
Manuel Romero
6f7db33e89 Some UI improvements 2024-02-26 11:45:20 +01:00
Manuel Romero
af323e1f91 Test cookie name 2024-02-26 10:34:37 +01:00
mjromper
3607b8019f Update passport-okta.js 2024-02-23 17:30:48 +00:00
Manuel Romero
b85d5d1a2d Merge 2024-02-23 13:44:33 +01:00
Manuel Romero
6c6e1c27b1 venga 2024-02-23 13:29:07 +01:00
Manuel Romero
08714427b3 Merge branch 'master' into dev 2024-02-23 13:26:51 +01:00
Manuel Romero
1aabf5dd45 error page 2024-02-23 13:24:40 +01:00
Manuel Romero
03ed7b74db testing stuff 2024-02-23 13:15:30 +01:00
Manuel Romero
036ab4077c redirect 2024-02-22 15:31:29 +01:00
Manuel Romero
1888a447d7 Merge branch 'dev' 2024-02-22 14:46:56 +01:00
Manuel Romero
4e99e55373 prod 2024-02-22 14:46:08 +01:00
Manuel Romero
a31d3324ad revision navbar 2024-02-22 14:25:01 +01:00
Manuel Romero
092726c3f9 app link update 2024-02-22 11:58:55 +01:00
mjromper
630a35d528 Update index.html 2024-02-21 19:51:09 +00:00
Manuel Romero
f82c844f6b fox 2024-02-21 17:44:36 +01:00
Manuel Romero
24f9c51559 Buttons for guacamole 2024-02-21 17:22:29 +01:00
Manuel Romero
3ceffc97fb fix app used 2024-02-20 13:55:31 +01:00
Manuel Romero
dcc48ae5d3 stuff 2024-02-20 13:24:17 +01:00
Manuel Romero
b03fc86168 Merge branch 'dev' 2024-02-20 11:01:18 +01:00
Manuel Romero
0784f7bdfb No oid 2024-02-20 10:58:31 +01:00
Manuel Romero
71d26dbb9a adding sub to table user 2024-02-19 16:17:57 +01:00
Manuel Romero
dd4487edcd final 2024-02-19 16:10:43 +01:00
Manuel Romero
f805f78ef3 fix4 2024-02-19 16:04:39 +01:00
Manuel Romero
73206b556d fix3 2024-02-19 15:58:32 +01:00
Manuel Romero
397f3c1251 fix 2024-02-19 15:55:22 +01:00
Manuel Romero
d5d7a128d2 OKTA login 2024-02-19 15:37:32 +01:00
Manuel Romero
1f1e9f5b21 Prod 2024-02-13 16:42:28 +01:00
Manuel Romero
d262735c4e dev 2024-02-13 16:19:01 +01:00
Manuel Romero
ecac686e25 guacamole link 2024-02-13 16:18:28 +01:00
Manuel Romero
f1c9a6e87e cosmetics 2024-01-26 13:29:41 +01:00
Manuel Romero
fcba362cc0 no jwt,, just oauth with qlikcloud 2024-01-22 16:24:43 +01:00
Manuel Romero
c3d23d7415 no jwt, using qlikcliud oauth 2024-01-22 15:55:58 +01:00
Manuel Romero
84303d0632 footer 2024-01-22 13:13:20 +01:00
Manuel Romero
44b6a6d658 footer 2024-01-22 13:12:44 +01:00
Manuel Romero
4e90027630 merge 2024-01-22 12:55:09 +01:00
Manuel Romero
b207b9b3c4 New look 2024-01-22 12:54:10 +01:00
Manuel Romero
213867ed77 Merge branch 'master' into dev 2024-01-22 11:52:59 +01:00
Manuel Romero
4412216b6c white stuff 2024-01-22 11:51:56 +01:00
Manuel Romero
70014e9021 new favicon 2024-01-22 11:15:23 +01:00
Manuel Romero
a3704bd4f0 new favicon 2024-01-22 11:13:16 +01:00
Manuel Romero
ca0b30f37e Merge branch 'master' into dev 2024-01-22 10:56:43 +01:00
Manuel Romero
7e9ec60b8e server 2024-01-22 10:56:30 +01:00
Manuel Romero
adb4f54c54 nnew logo 2024-01-22 10:55:48 +01:00
Manuel Romero
eacba70919 fix 2023-12-14 10:34:24 +01:00
Manuel Romero
a68143af97 fix 2023-12-14 09:16:53 +01:00
Manuel Romero
a95e4e691d ei team 2023-12-13 13:54:20 +01:00
Manuel Romero
d4578bef28 start stop logs 2023-12-11 10:28:05 +01:00
Manuel Romero
ae04d5f62d Merge branch 'master' into dev 2023-12-01 11:38:25 +01:00
Manuel Romero
c3ea7ba384 fix db indentifier 2023-12-01 10:23:35 +01:00
Manuel Romero
bca55b62df Some expceptions controlled 2023-12-01 09:54:27 +01:00
Manuel Romero
36741b06ad refix 2023-11-30 16:12:21 +01:00
Manuel Romero
e7cb9b149d fix 2023-11-30 15:20:53 +01:00
Manuel Romero
8129378fc8 fix 2023-11-30 15:04:39 +01:00
Manuel Romero
f3d34321cd Merge 2023-11-30 14:01:30 +01:00
Manuel Romero
2a1525670c identifier 2023-11-30 13:58:38 +01:00
Manuel Romero
a7e36d0119 running awsrds 2023-11-30 10:54:41 +01:00
Manuel Romero
2ba046310f running awsrds 2023-11-30 10:54:04 +01:00
Manuel Romero
6ed942d954 dev 2023-11-30 10:23:02 +01:00
Manuel Romero
0af1c4d4c9 fix table 2023-11-30 10:22:28 +01:00
Manuel Romero
811220f882 Merge 2023-11-30 10:20:52 +01:00
Manuel Romero
caeef42000 Some fixes for RDS aws start stop 2023-11-30 10:17:53 +01:00
Manuel Romero
90a3cf176f better 2023-11-29 15:54:00 +01:00
Manuel Romero
44cec9cc31 aws-rdss stop sstart 2023-11-29 14:00:40 +01:00
Manuel Romero
e04cec01e6 merge 2023-11-23 16:47:02 +01:00
Manuel Romero
9df38c142e Session qs control 2023-11-23 16:09:31 +01:00
Manuel Romero
51bf4c8064 ahora vamos ya esta 2023-11-23 13:40:32 +01:00
Manuel Romero
cca7714f19 ui fix 2023-11-23 13:27:59 +01:00
Manuel Romero
fc6d9437a9 point to prod 2023-11-23 13:11:23 +01:00
Manuel Romero
537123c6aa ahora si 2023-11-23 12:55:28 +01:00
Manuel Romero
373258f402 vengaa 2023-11-23 12:42:21 +01:00
Manuel Romero
6f2a3b75d4 fix fin 2023-11-23 11:05:55 +01:00
Manuel Romero
ed4cd383df fix it 2023-11-23 10:16:22 +01:00
Manuel Romero
3cd7e1d4ae Added also none active 2023-11-22 16:54:04 +01:00
Manuel Romero
7264710bb5 session and stuff 2023-11-22 14:21:59 +01:00
Manuel Romero
004c425738 master into dev 2023-11-21 15:47:21 +01:00
Manuel Romero
cd50c47b4a request new session 2023-11-21 15:42:03 +01:00
Manuel Romero
93d240e9f2 less logs 2023-11-21 12:50:44 +01:00
Manuel Romero
01640adde7 Merge branch 'dev' 2023-11-21 12:03:33 +01:00
Manuel Romero
c3c1c76acb mongo redirect fixed 2023-11-21 12:03:18 +01:00
Manuel Romero
7e58cbc685 log 2023-11-21 11:51:53 +01:00
Manuel Romero
5e7ad89fdb Merge branch 'dev' 2023-11-21 11:42:12 +01:00
Manuel Romero
f1be3b7730 mongo redirect 2023-11-21 11:36:08 +01:00
Manuel Romero
08286e3172 dale 2023-11-21 11:30:05 +01:00
Manuel Romero
f16683a421 Merge branch 'dev' 2023-11-21 11:12:58 +01:00
Manuel Romero
ce7f97839b qmimongo and stuff 2023-11-21 11:12:45 +01:00
Manuel Romero
7e39db8dbd no cors 2023-11-21 09:41:11 +01:00
Manuel Romero
5c029d8976 prod 2023-11-20 16:48:41 +01:00
Manuel Romero
bc76634bca double server 2023-11-20 16:35:43 +01:00
Manuel Romero
fcb8365fe4 try catch 2023-11-20 16:01:43 +01:00
Manuel Romero
b2f4a41c0d vengga 2023-11-20 15:42:36 +01:00
Manuel Romero
811ca7ca70 fixxxx 2023-11-20 15:31:12 +01:00
Manuel Romero
1fcec290b6 fix 2023-11-20 15:09:25 +01:00
Manuel Romero
d9d2ac29b9 no se 2023-11-20 15:07:25 +01:00
Manuel Romero
28e3c12b23 fixxxx 2023-11-20 14:44:06 +01:00
Manuel Romero
1eff5089f2 dix 2023-11-20 14:38:23 +01:00
Manuel Romero
b0520064e8 extracted to componnent 2023-11-20 14:31:13 +01:00
Manuel Romero
b3262d9acb fix 2023-11-20 13:31:27 +01:00
Manuel Romero
272cb32e74 cost to provisions 2023-11-20 13:17:08 +01:00
Manuel Romero
577246830d cost data 2023-11-17 14:12:42 +01:00
Manuel Romero
7fed166c29 fix 2023-11-17 13:45:19 +01:00
Manuel Romero
294a3a8d2d fix 2023-11-17 13:42:04 +01:00
Manuel Romero
835d162ede qlik-embed 2023-11-17 12:23:53 +01:00
Manuel Romero
8f8c18490a fix 2023-10-10 15:38:42 +02:00
Manuel Romero
dbcdd6974b add guacamole link to outputs and email 2023-10-05 11:02:23 +02:00
Manuel Romero
61071e1d00 fix 2023-09-26 15:58:56 +02:00
Manuel Romero
1aa83a1d5b fix delete 2023-09-26 13:22:43 +02:00
Manuel Romero
f9c27e4b3d conn name 2023-09-26 12:31:20 +02:00
Manuel Romero
cb10e425d7 ssh connection 2023-09-26 12:18:30 +02:00
Manuel Romero
8827940789 fix delete 2023-09-26 12:00:34 +02:00
Manuel Romero
30e099ee2e guacamole 2023-09-26 11:58:47 +02:00
Manuel Romero
834aff2a9d talend email 2023-07-12 10:21:07 +02:00
Manuel Romero
975b84a3b2 no sort users table 2023-07-11 15:21:09 +02:00
Manuel Romero
14d1690100 fix 2023-07-05 07:48:57 +02:00
Manuel Romero
4bbd86e82f fix 2023-07-04 15:50:53 +02:00
Manuel Romero
ba30495cc8 filter emails 2023-07-04 15:40:12 +02:00
Manuel Romero
368d58070c fixes chulos 2023-06-15 13:00:28 +02:00
Manuel Romero
54f05b11c4 getUsers inactive 2023-06-15 12:23:42 +02:00
Manuel Romero
77b599ec83 fjx url 2023-06-12 14:49:55 +02:00
Manuel Romero
2cbcb9dd5d fix 2023-06-12 13:48:13 +02:00
Manuel Romero
0f0d050599 fix nextUrl 2023-06-12 13:31:36 +02:00
Manuel Romero
99d9a1a053 fix 2023-06-08 17:15:41 +02:00
Manuel Romero
1c9d5e5ce2 status session 2023-06-08 15:29:59 +02:00
Manuel Romero
56748c4478 output 2023-06-07 10:53:20 +02:00
Manuel Romero
41cdb46fc2 database link 2023-05-25 12:04:14 +02:00
Manuel Romero
515fd749e6 set pendingNextAction to null 2023-05-25 11:04:29 +02:00
Manuel Romero
2574278b68 Merge branch 'master' into dev 2023-05-19 13:27:52 +02:00
Manuel Romero
395c495130 happy 2023-05-19 13:27:35 +02:00
Manuel Romero
075815a6b5 happy 2023-05-19 13:26:47 +02:00
Manuel Romero
29c6bcad1e fix automl and error catch 2023-05-19 12:51:39 +02:00
Manuel Romero
35408b7b1f auto add automations 2023-05-19 11:53:11 +02:00
Manuel Romero
04d8d41b05 automations generation 2023-05-18 17:23:16 +02:00
Manuel Romero
7700675a76 students 2023-05-18 10:52:18 +02:00
Manuel Romero
2b57b2535d post spaces 2023-05-17 14:00:23 +02:00
Manuel Romero
ddc36dbfcf Only active users 2023-05-16 10:20:10 +02:00
Manuel Romero
2ab78335a2 adding session name 2023-05-16 09:42:43 +02:00
Manuel Romero
fed9ad156c edit user and more 2023-05-12 13:09:03 +02:00
Manuel Romero
b8e06f91ef small fix 2023-05-12 10:20:19 +02:00
Manuel Romero
de56713e96 added studetns count 2023-05-12 10:16:39 +02:00
Manuel Romero
3515158bb0 do not delete, set finshed to true 2023-05-11 12:46:11 +02:00
Manuel Romero
a5ed3edd84 cosmetic changes 2023-05-11 11:12:53 +02:00
Manuel Romero
e2d32d954e submit form 2023-05-11 10:44:38 +02:00
Manuel Romero
baf2b3776c submit form 2023-05-10 17:32:50 +02:00
Manuel Romero
f48e32230b small fix 2023-05-10 17:03:07 +02:00
Manuel Romero
3338f66c0b fix form 2023-05-10 14:56:28 +02:00
Manuel Romero
8d34b3d4af more stuff 2023-05-10 14:52:11 +02:00
Manuel Romero
023a3fa89d more trainning stuff 2023-05-10 13:38:22 +02:00
Manuel Romero
ad6d7a1082 new training stuff 2023-05-09 16:23:45 +02:00
Manuel Romero
8e8a23454a fix force externnal access 2023-05-02 12:38:35 +02:00
Manuel Romero
2cea8c6c8a remove logs 2023-03-30 12:43:22 +02:00
Manuel Romero
ce795f99f0 fix 2023-03-30 12:27:10 +02:00
Manuel Romero
fcda1da75b adding jobtitle to ui 2023-03-30 12:15:19 +02:00
Manuel Romero
199d11d22e Adding mail and Jobtitle 2023-03-30 12:03:13 +02:00
Manuel Romero
dd819b17ce fix logs destroy 2023-03-30 09:43:54 +02:00
Manuel Romero
2b93f3f986 fix logs destroy 2023-03-30 09:41:41 +02:00
Manuel Romero
1cf448c823 fix 2023-03-28 11:17:35 +02:00
Manuel Romero
6618b80964 adding active to users 2023-03-24 16:33:12 +01:00
Manuel Romero
3215f559d4 active users 2023-03-24 16:14:32 +01:00
Manuel Romero
cb634636f5 added active field for users 2023-03-24 14:14:44 +01:00
Manuel Romero
c9b8ed3e58 fix error 2023-03-23 16:27:51 +01:00
Manuel Romero
6e6233232c update error provisions 2023-03-14 11:32:05 +01:00
Manuel Romero
642ac66b9f let users see events and shares for a provisioh 2023-03-02 16:36:49 +01:00
Manuel Romero
319ab11274 fix 2023-02-23 12:18:27 +01:00
Manuel Romero
5e928f2e67 fix ui reload provisions 2023-02-10 10:09:29 +01:00
Manuel Romero
26b65b5752 Some events logs improvements 2023-02-10 10:00:11 +01:00
Manuel Romero
b677044fa6 better apis 2023-02-07 17:10:53 +01:00
Manuel Romero
bafcd504f2 stop-auto event 2023-02-07 13:23:10 +01:00
Manuel Romero
f41a9f76c1 mega fix 2023-02-07 12:44:51 +01:00
Manuel Romero
37c8f97493 Simple event types 2023-02-07 12:13:18 +01:00
Manuel Romero
9aac529d70 fix 2023-02-06 16:59:54 +01:00
Manuel Romero
3d59581432 provision admin query update 2023-02-06 16:43:48 +01:00
Manuel Romero
469e1244cc update shares 2023-02-06 15:50:10 +01:00
Manuel Romero
1735edf494 no edit events after owner changes 2023-02-06 15:36:56 +01:00
Manuel Romero
b02b258d77 fixes 2023-02-06 14:51:05 +01:00
Manuel Romero
222056574c Adding events owner 2023-02-06 13:44:57 +01:00
Manuel Romero
6748b3518f more fixes 2023-02-01 17:04:36 +01:00
Manuel Romero
29ccb721f5 fix ui 2023-02-01 16:35:00 +01:00
Manuel Romero
26706a154b fix 2022-11-30 09:38:01 +01:00
Manuel Romero
131be49e5f fix 2022-11-30 09:35:20 +01:00
Manuel Romero
b7e57ef49c better outputs in email 2022-11-29 15:47:10 +01:00
Manuel Romero
6f57285db0 fix 2022-11-22 11:57:38 +01:00
Manuel Romero
6694637fc1 fix ui 2022-11-22 10:52:48 +01:00
Manuel Romero
e84ffa16d0 fix ui 2022-11-22 10:47:26 +01:00
Manuel Romero
10b492b3d2 better ui finished 2022-11-22 10:37:50 +01:00
Manuel Romero
ab0866d36a better ui 2022-11-21 17:13:56 +01:00
Manuel Romero
deb29c0224 fix 2022-11-21 15:26:55 +01:00
Manuel Romero
c8944543cc provision page 2022-11-21 14:50:04 +01:00
Manuel Romero
6ae1472d6c fix 2022-11-18 15:53:42 +01:00
Manuel Romero
9c2c0393e1 ui fixes 2022-11-18 14:21:28 +01:00
Manuel Romero
062e3c89fd ui fixes 2022-11-18 14:04:59 +01:00
Manuel Romero
c08db405f4 ui fixes 2022-11-18 13:49:47 +01:00
Manuel Romero
e7ebfa7f4c ui fixes 2022-11-18 13:29:49 +01:00
Manuel Romero
46a908fb3c ui fixes 2022-11-18 12:56:13 +01:00
Manuel Romero
36a9fbed56 ui fixes 2022-11-18 12:51:31 +01:00
Manuel Romero
63965ec26e ui fixes 2022-11-18 12:42:27 +01:00
Manuel Romero
8b09158148 ui fixes 2022-11-18 12:13:28 +01:00
Manuel Romero
fc10564ab5 fixes 2022-11-17 13:58:22 +01:00
Manuel Romero
4c5b65aa38 better UI 2022-11-17 13:07:10 +01:00
Manuel Romero
94e392d3ef input text 2022-11-17 12:40:47 +01:00
Manuel Romero
ebc7924049 schedule fix 2022-11-14 10:55:25 +01:00
Manuel Romero
689b789864 scripts ref to project path 2022-11-10 12:01:10 +01:00
Manuel Romero
c3b0470c20 scripts ref to project path 2022-11-10 11:23:19 +01:00
Manuel Romero
3501cf72aa fix 2022-11-09 16:44:50 +01:00
Manuel Romero
3464bfa85a distribute snapshots endpoints 2022-11-09 16:24:33 +01:00
Manuel Romero
671b1b79ed distribute snapshots endpoints 2022-11-09 16:07:07 +01:00
Manuel Romero
b823e82411 stop synapse 2022-10-21 14:51:34 +02:00
Manuel Romero
25c1462848 some fixes in ui 2022-10-21 14:05:02 +02:00
Manuel Romero
fb1308556c fix 2022-10-21 13:06:19 +02:00
Manuel Romero
d85f521b53 fix 2022-10-21 12:59:52 +02:00
Manuel Romero
9105755afe synapse start stop ui 2022-10-21 12:42:38 +02:00
Manuel Romero
b3b157641e fix docker image az cli 2022-10-21 11:58:39 +02:00
Manuel Romero
55678c9e91 fix docker image az cli 2022-10-21 11:53:44 +02:00
Manuel Romero
7e173a2a5f resume synapse 2022-10-21 11:41:42 +02:00
Manuel Romero
41b0001886 pause and stop synapse 2022-10-21 11:29:25 +02:00
Manuel Romero
75efcbc3a1 fix stuff 2022-10-13 13:06:20 +02:00
Manuel Romero
3c3641040c test 2022-10-07 12:00:16 +02:00
Manuel Romero
fce686972c injecting aws credentials 2022-10-07 11:42:17 +02:00
Manuel Romero
d28a7b5f26 terraform image for each scenario 2022-10-04 16:10:31 +02:00
Manuel Romero
9372e47589 fix 2022-09-29 10:08:03 +02:00
Manuel Romero
b5af6c0959 fix cli 2022-09-28 11:17:01 +02:00
Manuel Romero
7ec3c6b1c5 fixed cli conditions 2022-09-19 12:49:31 +02:00
Manuel Romero
12f0e627a1 fix2 2022-09-19 11:41:56 +02:00
Manuel Romero
ec6149c127 fixes 2022-09-19 11:24:10 +02:00
Manuel Romero
06050b2796 accomodation for old vmImage POST 2022-09-19 11:10:51 +02:00
Manuel Romero
704319b27a fix cli 2022-09-16 14:13:18 +02:00
Manuel Romero
c868e7000e update versions 2022-09-16 13:46:47 +02:00
Manuel Romero
85f9c826cf envs 2022-09-16 11:39:50 +02:00
Manuel Romero
7d65d736bc fix env 2022-09-16 11:19:25 +02:00
Manuel Romero
2208e362c2 env variables through env.js 2022-09-16 11:17:10 +02:00
Manuel Romero
ac1933d881 some fixes on names 2022-09-16 10:42:23 +02:00
Manuel Romero
b95570b769 more 2022-09-15 14:46:52 +02:00
Manuel Romero
b52b5a0df7 changing versions by values 2022-09-15 14:35:17 +02:00
Manuel Romero
1cedcb791d vmImage by options 2022-09-09 15:54:45 +02:00
Manuel Romero
a20e677954 check is a Qlik email 2022-09-09 09:50:22 +02:00
Manuel Romero
2ea8877a76 Cost text 2022-09-02 13:19:02 +02:00
Manuel Romero
f272b030fb Merge branch 'dev' 2022-09-01 10:30:49 +02:00
Manuel Romero
0de582a750 interceptor 301 2022-09-01 10:11:49 +02:00
Manuel Romero
df6d28fd37 401 error mashup 2022-09-01 09:48:16 +02:00
Manuel Romero
d3149ad1b3 fixeds 2022-06-30 15:17:42 +02:00
Manuel Romero
e35873ab54 fixeds 2022-06-30 15:12:07 +02:00
Manuel Romero
7071eb6907 fix 2022-06-30 12:36:37 +02:00
Manuel Romero
852b68eaba fix 2022-06-30 12:00:55 +02:00
Manuel Romero
9063951aa7 fix 2022-06-30 11:43:19 +02:00
Manuel Romero
f69abbcda9 usin angular 2022-06-30 11:13:18 +02:00
Manuel Romero
45f936ee7c usin angular 2022-06-30 11:12:57 +02:00
Manuel Romero
39663ba9ad usin angular 2022-06-30 11:08:31 +02:00
Manuel Romero
58d50b2552 new version client 2022-06-30 10:32:18 +02:00
Manuel Romero
32a1abce22 revert config 2022-06-30 10:26:16 +02:00
Manuel Romero
30388bf064 New cost analysis stuff 2022-06-30 10:25:28 +02:00
Manuel Romero
a4bc5e4e7b adding subject to users 2022-06-29 10:30:49 +02:00
Manuel Romero
1e450bf019 new certs for barracuda 2022-04-26 11:14:26 +02:00
Manuel Romero
e65215448a new version worker 2022-02-08 17:03:20 +01:00
Manuel Romero
fbd2d8d829 Merge branch 'dev' 2022-02-08 17:02:47 +01:00
Manuel Romero
d531463e67 remove scenario from tf 2022-02-08 15:55:29 +01:00
Manuel Romero
28b792fe76 refactor tf 2022-02-08 15:52:27 +01:00
Manuel Romero
c19e4ca60a refactor tf 2022-02-08 15:51:19 +01:00
Manuel Romero
9749e98aee Merge branch 'dev' 2022-02-03 12:56:20 +01:00
Manuel Romero
b49895045d user_email and user.oid as TF_VARs 2022-02-03 11:54:42 +01:00
Manuel Romero
ca21757199 Merge branch 'dev' 2022-02-01 13:14:32 +01:00
Manuel Romero
2e98be3fca gitbranch to tf execution as env variable 2022-02-01 13:14:11 +01:00
Manuel Romero
3b86ac7777 gitbranch to tf execution as env variable 2022-02-01 12:36:43 +01:00
Manuel Romero
295d1ffb30 Env branch to docker tf 2022-02-01 12:08:23 +01:00
Manuel Romero
26eb86193c Env branch to docker tf 2022-02-01 12:06:43 +01:00
Manuel Romero
9e2cf17ab7 sending email for shared provisions 2022-01-28 16:46:26 +01:00
Manuel Romero
4600969f16 no redshift 90 days expire 2022-01-27 11:42:04 +01:00
Manuel Romero
332df80b1d no redshift 90 days expire 2022-01-27 11:41:34 +01:00
Manuel Romero
0a534eed37 using const 2022-01-25 13:08:03 +01:00
Manuel Romero
900a6abeb7 fix 2022-01-20 10:08:25 +01:00
Manuel Romero
9b81646219 fix multiple warnngs s3 bucket 2022-01-20 10:06:13 +01:00
Manuel Romero
ca8d26c119 Merge branch 'dev' 2022-01-20 10:03:53 +01:00
Manuel Romero
245bd0d90e no needed config 2022-01-11 11:39:38 +01:00
Manuel Romero
67ec379e1d docker image at provision 2022-01-11 11:38:24 +01:00
Manuel Romero
3e73e1a561 fix 2 2022-01-07 16:19:18 +01:00
Manuel Romero
55ccfab66c fis 2022-01-07 15:55:33 +01:00
Manuel Romero
23ae12bf2e test others 2022-01-07 14:53:06 +01:00
Manuel Romero
e8de86da66 fix shared 2021-12-21 09:04:09 +01:00
Manuel Romero
13a297d58d fix 2021-12-20 14:13:01 +01:00
Manuel Romero
f2aa774acd runForever 2021-12-20 14:04:14 +01:00
Manuel Romero
721b478d00 fix admin 2021-12-20 13:51:10 +01:00
Manuel Romero
4ee672ea3b fix 2021-11-30 12:17:21 +01:00
Manuel Romero
acd210da93 Share in user 2021-11-30 11:43:03 +01:00
Manuel Romero
4c853a7b20 fix getUsers 2021-11-29 10:17:13 +01:00
Manuel Romero
51f20a9e2d now one more fix 2021-11-26 14:29:53 +01:00
Manuel Romero
18a17ea761 fix 2021-11-26 13:48:03 +01:00
Manuel Romero
60c5bc543a small fix 2021-11-26 13:40:52 +01:00
Manuel Romero
0aa1dc0c74 do not delete shares 2021-11-26 13:39:13 +01:00
Manuel Romero
f5b85b25ed small fix 2021-11-26 13:10:48 +01:00
Manuel Romero
4245694b10 final 2021-11-26 12:29:06 +01:00
Manuel Romero
24c99df65a new version 2021-11-26 11:12:48 +01:00
Manuel Romero
6283dddb22 Share 2021-11-26 11:08:45 +01:00
Manuel Romero
c3b8bd119f more stuff for sharing provisions 2021-11-25 18:02:37 +01:00
Manuel Romero
2e31fe279c more stuff 2021-11-25 14:12:29 +01:00
Manuel Romero
899fd2fda7 share provisions with others 2021-11-25 12:37:42 +01:00
Manuel Romero
dc116c9f7f fix destroy 2021-11-24 12:06:32 +01:00
Manuel Romero
455cc3e75d fix 2021-11-24 10:34:07 +01:00
Manuel Romero
16f574f744 child being destroyed check 2021-11-24 09:53:28 +01:00
Manuel Romero
1486e2fd21 check if destroyed or destroying 2021-11-24 08:35:06 +01:00
Manuel Romero
c0349f440e fix open in Azure 2021-11-19 17:47:55 +01:00
Manuel Romero
1a99589c8b Del temp apikeys for QDI 2021-11-10 10:01:18 +01:00
Manuel Romero
b54a590f51 fix 2021-11-09 16:10:50 +01:00
Manuel Romero
eafd78f91c fix 2021-11-09 16:04:28 +01:00
Manuel Romero
243c65c64b filter all users 2021-11-09 15:36:35 +01:00
Manuel Romero
672ba4194a revert 2021-11-09 15:19:11 +01:00
Manuel Romero
9f539bd96a prep of apikey for QDI 2021-11-09 14:56:10 +01:00
Manuel Romero
55b9f0c032 improve admin prov query 2021-11-09 11:46:53 +01:00
Manuel Romero
00dcb33872 fix alerts 2021-11-08 18:08:55 +01:00
Manuel Romero
429838cfc5 new version 2021-11-08 14:13:10 +01:00
Manuel Romero
3a2d6eb0b6 fix ui 2021-11-08 14:12:06 +01:00
Manuel Romero
4290406c19 fix 2021-11-08 13:35:02 +01:00
Manuel Romero
9057f58342 ui fixes 2021-11-08 13:20:30 +01:00
Manuel Romero
6d03a4f6ed Fixes ui 2021-11-08 13:02:35 +01:00
Manuel Romero
5d914c890f new laf 2021-11-05 18:03:54 +01:00
Manuel Romero
b1286a1b2b new look and feel 2021-11-05 17:59:57 +01:00
Manuel Romero
a5b5f2a8ca fix 2021-11-05 13:53:22 +01:00
Manuel Romero
8bb7856102 destroy also children provisions 2021-11-05 13:08:00 +01:00
Manuel Romero
8280b32872 user_oid 2021-10-28 11:27:55 +02:00
Manuel Romero
39ab3fe6dd Merge branch 'dev' 2021-10-26 17:33:08 +02:00
Manuel Romero
fbe30b740c synapse user 2021-10-26 14:04:16 +02:00
Manuel Romero
ab5ab80765 Test watchtower 2021-10-06 17:48:02 +02:00
Manuel Romero
180a20c8d6 fix 2021-10-05 10:02:39 +02:00
Manuel Romero
91d7017b03 vm1 stuff 2021-10-04 17:13:08 +02:00
Manuel Romero
5b6cb73b09 vm1 stuff 2021-10-04 16:54:48 +02:00
Manuel Romero
2003a039f2 new version available 2021-08-03 16:19:42 +02:00
Manuel Romero
96b1302520 fix 2021-07-13 10:38:03 +02:00
Manuel Romero
891acb714e Go to user 2021-07-13 10:21:33 +02:00
Manuel Romero
7cf4e7b5e7 adding try catch cli 2021-07-12 14:12:09 +02:00
Manuel Romero
0c78992958 change to promise 2021-07-12 13:02:36 +02:00
Manuel Romero
ed44eb7fef change to promise 2021-07-12 12:59:53 +02:00
Manuel Romero
8ed6612686 fix3 2021-07-09 13:33:58 +02:00
Manuel Romero
793b8f8739 fix2 2021-07-09 13:15:30 +02:00
Manuel Romero
a9b3b57414 fix 2021-07-09 12:48:25 +02:00
Manuel Romero
69b92a64bc awscli 2021-07-09 12:32:29 +02:00
Manuel Romero
f84ecd7212 new barracuda api version 2021-07-09 09:44:04 +02:00
Manuel Romero
5b6bb90119 simple barracuda 2021-06-25 12:00:02 +02:00
Manuel Romero
d5637065c2 fixes for barracuda 2021-06-25 11:30:57 +02:00
Manuel Romero
6d322c3cc2 fix 2021-06-10 10:55:58 +02:00
Manuel Romero
e0ba340ca1 info times 2021-06-10 10:39:01 +02:00
Manuel Romero
79ec7af773 fixed readme 2021-06-09 16:13:01 +02:00
Manuel Romero
752a3329be periods per scenario 2021-06-09 15:46:22 +02:00
Manuel Romero
36a246504f scenario model allowedInnactiveHours 2021-06-09 13:43:34 +02:00
Manuel Romero
b2a4b41023 n/a for non vm provisions 2021-06-04 09:39:40 +02:00
Manuel Romero
852c943f99 Logevent 2021-06-01 15:12:17 +02:00
Manuel Romero
96e33ca765 azurewebhook 2021-06-01 11:36:08 +02:00
Manuel Romero
bae80ec847 azurewebhook 2021-06-01 10:49:52 +02:00
Manuel Romero
ce55788a26 Delete BarracudaApp first 2021-05-27 11:54:14 +02:00
Manuel Romero
17e128099e new barracuda api 0.0.8 2021-05-26 17:40:57 +02:00
Manuel Romero
17f391ffbd new barracuda api version 2021-05-26 17:35:17 +02:00
Manuel Romero
23bf5f58f6 Only cli for provision with VMs 2021-05-07 13:43:03 +02:00
Manuel Romero
b36616f28a fix 2021-04-30 16:51:58 +02:00
Manuel Romero
5e266a4461 ui fixes 2021-04-30 16:23:04 +02:00
Manuel Romero
0dd199d5f8 no vmImage 2021-04-30 15:53:19 +02:00
Manuel Romero
0f020e96a7 fix 2021-04-29 13:31:37 +02:00
Manuel Romero
0dcba31636 fix 2021-04-28 14:06:48 +02:00
Manuel Romero
04221eb03a using lock icon 2021-04-28 10:06:35 +02:00
Manuel Romero
c12039d354 info class 2021-04-23 13:51:06 +02:00
Manuel Romero
c5dcc547a9 QDC barracuda 2021-04-23 13:38:12 +02:00
Manuel Romero
5c3e10f9df Some buttons 2021-04-20 16:22:37 +02:00
Manuel Romero
e1848da829 Adding user dashbooard 2021-04-20 14:40:16 +02:00
Manuel Romero
a4ae065d8b ttl to 60 for cnames 2021-04-19 13:00:06 +02:00
Manuel Romero
8e0ffd72fa create barracuda app at provision 2021-04-16 15:23:08 +02:00
Manuel Romero
fafe697af5 create barracuda app at provision 2021-04-16 15:21:58 +02:00
Manuel Romero
2cf319175d fix 2021-04-16 14:39:50 +02:00
Manuel Romero
643cb9775d change region barracuda 2021-04-16 13:21:16 +02:00
Manuel Romero
66085e49c5 getting barracuda detauls in one 2021-04-16 11:33:50 +02:00
Manuel Romero
fd85d65aeb barracuda app status 2021-04-16 11:12:02 +02:00
Manuel Romero
24a3573f73 logs 2021-04-16 10:09:48 +02:00
Manuel Romero
048fc6d89d gitbranch for scenarios 2021-04-16 09:38:56 +02:00
Manuel Romero
bf20f4efd4 gitbranch for scenarios 2021-04-16 09:32:47 +02:00
Manuel Romero
2fd05a2b54 adding git 2021-04-15 14:43:05 +02:00
Manuel Romero
03ce50c255 Some logs 2021-04-15 14:03:53 +02:00
Manuel Romero
171f552571 Some logs 2021-04-15 14:01:12 +02:00
Manuel Romero
1843907b42 Testing delete barracuda at destroy provision 2021-04-15 13:06:32 +02:00
Manuel Romero
d88a6f2359 fix 2021-04-14 13:05:03 +02:00
Manuel Romero
d273bc937e delete barracuda endpoint 2021-04-13 15:58:30 +02:00
Manuel Romero
6777d2f0d8 delete barracuda endpoint 2021-04-13 15:56:40 +02:00
Manuel Romero
3d2506639d Adding creation of DNS record 2021-04-13 15:41:09 +02:00
Manuel Romero
a9806bd94e Changed dockerfile to install git 2021-04-13 14:50:20 +02:00
Manuel Romero
783642f083 barracuda email password 2021-04-13 13:37:16 +02:00
Manuel Romero
2a7fec03d7 Barrcuda API endpoint 2021-04-13 13:32:13 +02:00
Manuel Romero
aed18cccfa No logs tf output 2021-04-08 10:46:06 +02:00
Manuel Romero
0f12ee6649 testing tags are the same 2021-04-07 11:07:02 +02:00
Manuel Romero
fbc727a66e allow userId as 'me' 2021-03-31 15:29:37 +02:00
Manuel Romero
897fa2a631 trycatch error setting tags 2021-03-31 10:33:41 +02:00
Manuel Romero
43a428592e Merge branch 'dev' 2021-03-25 15:53:32 +01:00
Manuel Romero
c3796b478f Sort updated on Scenarios 2021-03-25 15:53:23 +01:00
Manuel Romero
e12f60516b sort first by updated 2021-03-25 15:31:28 +01:00
Manuel Romero
84fe322c96 sort updated 2021-03-25 15:00:57 +01:00
Manuel Romero
84263b08dd Merge branch 'dev' 2021-03-25 12:21:31 +01:00
Manuel Romero
895e069326 Using new node version 15.12 2021-03-25 12:21:07 +01:00
Manuel Romero
da4c940055 fix azurecli module 2021-03-25 12:02:30 +01:00
Manuel Romero
f9e608c06c fix 2021-03-17 15:31:00 +01:00
Manuel Romero
15e8c12508 readme 2021-03-17 12:45:42 +01:00
Manuel Romero
1e543b1e6f Destroy on aborted for user 2021-03-17 12:34:40 +01:00
Manuel Romero
00739082f2 movedestroyed with date 2021-03-17 12:04:10 +01:00
Manuel Romero
aacf23f57b movedestroyed 2021-03-17 11:31:42 +01:00
Manuel Romero
ca037b42ef updatemany 2021-03-17 09:55:56 +01:00
Manuel Romero
96300e1e99 fix axios final 2021-03-16 17:49:35 +01:00
Manuel Romero
721fbe24b8 fix axios 2021-03-16 17:45:34 +01:00
Manuel Romero
b20a6fe858 fix axios 2021-03-16 17:30:53 +01:00
Manuel Romero
658bd6a131 abort from UI 2021-03-16 17:20:33 +01:00
Manuel Romero
be5c9ef85e fix 2021-03-16 14:51:17 +01:00
Manuel Romero
5cc6f7a3c6 Test queue stop container 2021-03-16 13:30:24 +01:00
Manuel Romero
5fdd26306a abort job 2021-03-16 11:24:06 +01:00
Manuel Romero
0e74d8873f disable cache stats 2021-03-10 09:18:33 +01:00
Manuel Romero
3f8e9290de cached stats 2021-03-09 09:32:33 +01:00
Manuel Romero
034dde5e1d fix 2021-03-05 18:06:36 +01:00
Manuel Romero
d0e274cd5f fix 2021-03-05 18:00:11 +01:00
Manuel Romero
b3de18bbda fix 2021-03-05 17:55:47 +01:00
Manuel Romero
e02ac30cde fix 2021-03-05 17:44:00 +01:00
Manuel Romero
49b444cfc8 fix 2021-03-05 17:32:50 +01:00
Manuel Romero
1ab9055fc5 request up to 6 2021-03-05 17:30:00 +01:00
Manuel Romero
fd8e542467 adding page vms 2021-03-05 17:08:10 +01:00
Manuel Romero
7699978f39 Added nextlink 2021-03-05 16:48:32 +01:00
Manuel Romero
902db15c17 using azurerm new lib 2021-03-05 15:14:14 +01:00
Manuel Romero
49bd59df62 vms stats 2021-03-05 13:50:13 +01:00
Manuel Romero
b7e44f436c separate vms endpoints 2021-03-05 12:25:16 +01:00
Manuel Romero
aa26928716 stats vms 2021-03-05 12:22:41 +01:00
Manuel Romero
8509a520cf Adding stats endpoint 2021-03-05 11:36:37 +01:00
Manuel Romero
0037634b70 New topbar logo 2021-03-03 16:56:23 +01:00
Manuel Romero
6dfab50871 fix assign new users on events 2021-03-03 14:54:51 +01:00
Manuel Romero
fcc46cdb1a fix check 2021-03-01 19:41:14 +01:00
Manuel Romero
06c4fae9c2 fix check 2021-03-01 19:35:36 +01:00
Manuel Romero
8b18a65303 ffix 2021-02-28 20:28:28 +01:00
Manuel Romero
e4ad1dde54 Better events logs 2021-02-28 20:26:48 +01:00
Manuel Romero
a2b82501aa Changed onschedule timer algorithm 2021-02-28 18:14:08 +01:00
Manuel Romero
ad0c4cbbd1 schedule log event 2021-02-26 12:35:51 +01:00
Manuel Romero
1a638c16bf fix events 2021-02-26 11:52:24 +01:00
Manuel Romero
7dd9fc79c2 show events 2021-02-25 20:03:00 +01:00
Manuel Romero
d492c5e4a8 more events 2021-02-25 18:18:24 +01:00
Manuel Romero
c2a14e5f79 Event collection 2021-02-25 18:10:25 +01:00
Manuel Romero
c888c068b4 fix nootifi 2021-02-25 17:23:05 +01:00
Manuel Romero
7b0bacc990 notificates from divvy and user api 2021-02-25 16:49:47 +01:00
Manuel Romero
4d66c40c07 onscheduled running calculation 2021-02-25 12:39:20 +01:00
Manuel Romero
8a86130fe6 fix 2021-02-25 09:37:18 +01:00
Manuel Romero
b7db4a5f00 fix 2021-02-24 15:00:51 +01:00
Manuel Romero
f3b9869d4f fix 2021-02-24 13:00:23 +01:00
Manuel Romero
0801f84b10 queues logs 2021-02-09 13:56:20 +01:00
Manuel Romero
9dd091f982 pipeline status 2021-02-09 12:05:26 +01:00
Manuel Romero
190967a889 Using qlik smpt sender 2021-02-09 10:42:33 +01:00
Manuel Romero
510254922b adding axios 2021-02-05 17:43:03 +01:00
Manuel Romero
91da6199b3 Merge branch 'dev' 2021-02-05 17:16:32 +01:00
Manuel Romero
9374a60e2a send message with BAM 2021-02-05 17:16:25 +01:00
Manuel Romero
0e1817947e fix 2021-02-05 17:01:23 +01:00
Manuel Romero
870ad47cbc fix 2021-02-05 16:57:24 +01:00
Manuel Romero
4304c56685 fix 2021-02-05 16:36:09 +01:00
Manuel Romero
b7dfee506f Send with BAM 2021-02-05 16:31:49 +01:00
Manuel Romero
022b414766 fix 2021-02-05 14:44:08 +01:00
Manuel Romero
05143c78c0 fix 2021-02-05 13:15:13 +01:00
Manuel Romero
04ed3a22ef test email 2021-02-05 13:13:48 +01:00
Manuel Romero
d3f0513224 worker 2021-02-05 11:28:49 +01:00
Manuel Romero
d5efa608bc warning error cli 2020-12-04 13:11:03 +01:00
Manuel Romero
040d2187cb try catch start stop vms 2020-12-04 10:46:00 +01:00
Manuel Romero
2d254ae238 first tags then start 2020-12-03 12:18:05 +01:00
Manuel Romero
82861f2130 wait for updating tags azure 2020-12-03 11:43:21 +01:00
Manuel Romero
e0270e6925 wait for updating tags azure 2020-12-03 11:39:35 +01:00
Manuel Romero
dc2180af03 Using avatar-ui for avatarars 2020-12-01 12:40:06 +01:00
Manuel Romero
d240b06c5c support emails 2020-11-30 16:03:50 +01:00
Manuel Romero
2434d2d157 cosmetics 2020-11-26 14:12:16 +01:00
Manuel Romero
c631fb141e Adding user_email to qdi scenario 2020-11-24 09:34:45 +01:00
Manuel Romero
4e27a35e4e Adding scenario titles 2020-11-18 10:40:28 +01:00
Manuel Romero
1b458ab2df New image 2020-11-13 14:13:40 +01:00
Manuel Romero
082e98c01a Adding init password 2020-11-11 14:19:59 +01:00
Manuel Romero
c6d1f84c57 new versions 2020-11-03 13:51:03 +01:00
Manuel Romero
c3b9e8532f fix2 2020-11-03 13:36:03 +01:00
Manuel Romero
4194973884 fix 2020-11-03 12:56:00 +01:00
Manuel Romero
57a47d7794 fix 2020-11-03 12:52:04 +01:00
Manuel Romero
953930bc42 Synapse databases and others 2020-11-03 12:36:50 +01:00
Manuel Romero
35d78b4db0 Do not display error 2020-10-23 14:05:27 +02:00
Manuel Romero
b8a8b8bace error passport image 2020-10-23 12:08:37 +02:00
Manuel Romero
e09d03f1ef Photos 2020-10-23 10:46:07 +02:00
Manuel Romero
dd2f328f45 fix sort by region 2020-10-22 15:51:24 +02:00
Manuel Romero
b3895be44a Set url for sent emails 2020-10-22 15:39:21 +02:00
Manuel Romero
7516f46903 fix filter scenarioos 2020-10-20 21:22:46 +02:00
Manuel Romero
3c7327ed57 Allowed users 2020-10-20 11:34:20 +02:00
Manuel Romero
8e1c027038 No logs 2020-10-19 18:55:51 +02:00
Manuel Romero
f8fe33039c better ui 2020-10-19 18:51:05 +02:00
Manuel Romero
bf6ea3cd51 better ui 2020-10-19 18:43:45 +02:00
Manuel Romero
e3aeeea51f Allowed users for a scenario 2020-10-19 18:37:27 +02:00
Manuel Romero
1fba40289e Default enable if optional server 2020-10-19 11:17:04 +02:00
Manuel Romero
b32c18a349 Set default terraform image 2020-10-16 09:57:48 +02:00
Manuel Romero
9fc6bdd5a3 fix 2020-10-16 09:12:31 +02:00
Manuel Romero
755fd11f1a logs terraform version 2020-10-15 18:31:19 +02:00
Manuel Romero
82984673aa New package versions 2020-10-15 17:42:29 +02:00
Manuel Romero
de600d1525 Taking into account disabled vms for a scenario 2020-10-15 17:36:24 +02:00
Manuel Romero
c1335fdf25 Using terraform version 2020-10-15 17:13:43 +02:00
Manuel Romero
36eced4232 Merge branch 'master' into vmsselect 2020-10-15 14:49:51 +02:00
Manuel Romero
3f11e36b42 better logs 2020-10-15 14:49:31 +02:00
Manuel Romero
db2a3a4d60 better logs 2020-10-15 14:47:31 +02:00
Manuel Romero
d7222c6cf0 better logs 2020-10-15 14:39:18 +02:00
Manuel Romero
fca71efb1e Do not show logs for other subscriptions 2020-10-15 14:18:10 +02:00
Manuel Romero
6943d7eaa4 vmsselect 2020-10-15 14:05:52 +02:00
Manuel Romero
4b343830c9 Some polished UI 2020-10-13 09:57:05 +02:00
Manuel Romero
f50d81651b backend logs url 2020-10-09 16:20:04 +02:00
Manuel Romero
7ac86a435a fix 2020-10-08 14:06:45 +02:00
Manuel Romero
e2dd677c7f Limits of simultaneous provisions 2020-10-08 13:31:10 +02:00
Manuel Romero
1a8a59fd77 backend logs 2020-10-06 17:56:31 +02:00
Manuel Romero
80c085ca38 Adding backend logs section 2020-10-06 17:11:08 +02:00
Manuel Romero
6f079a6361 More logs 2020-10-05 13:12:19 +02:00
Manuel Romero
b2cf816e2f fix 2020-10-05 12:18:04 +02:00
Manuel Romero
6c176726f2 fix 2020-10-05 11:35:23 +02:00
Manuel Romero
47c6a51c39 DivvyCloud logs 2020-10-05 10:23:45 +02:00
Manuel Romero
04f509c76b DivvyCloud logs 2020-10-05 10:12:54 +02:00
Manuel Romero
261a3518ee fixed onScheduleRenewed 2020-10-01 18:01:05 +02:00
Manuel Romero
eb277aa5e8 some fixes and paging requests 2020-09-29 16:45:04 +02:00
Manuel Romero
c4b6ef56e6 totalCount results 2020-09-29 12:30:12 +02:00
Manuel Romero
886d8fa202 New objects for mashup 2020-09-28 12:41:20 +02:00
Manuel Romero
60ce0dcb3e Heights as numbers 2020-09-24 17:17:28 +02:00
Manuel Romero
35748fe333 cost mashup 2020-09-24 15:39:30 +02:00
Manuel Romero
aa826eb5f3 Added external qcs qdt-components 2020-09-24 13:21:25 +02:00
Manuel Romero
e25619b601 Addimg mystats as iframe 2020-09-23 18:06:32 +02:00
Manuel Romero
12b2e612aa qdt components to qcs 2020-09-23 14:52:05 +02:00
Manuel Romero
b6f095d504 set content type json 2020-09-16 13:11:47 +02:00
Manuel Romero
c5a9cbde58 Adding authentication 2020-09-16 12:59:08 +02:00
Manuel Romero
dc8cae1853 costexport folder 2020-09-16 12:46:45 +02:00
Manuel Romero
e22168f39c fix2 2020-09-15 14:14:17 +02:00
Manuel Romero
3319c400b5 fix 2020-09-15 14:03:17 +02:00
Manuel Romero
6725d91663 Added description to provisions table 2020-09-15 14:00:13 +02:00
Manuel Romero
7a78cb6b21 Fix location for secure scenarios 2020-09-04 12:03:06 +02:00
Manuel Romero
0dc76aaf94 fixes 2020-09-02 13:00:20 +02:00
Manuel Romero
58daa3a31e fix 2020-09-02 12:49:28 +02:00
Manuel Romero
beb2330bcd Fixes 2020-09-02 12:12:09 +02:00
Manuel Romero
f38aef13be Fixes 2020-09-02 11:36:59 +02:00
Manuel Romero
7920909308 Set startup time tag if is enable 2020-09-02 10:56:59 +02:00
Manuel Romero
d9a2df002c Disable startuptime 2020-09-01 17:53:40 +02:00
Manuel Romero
5ba87ef2c5 Added labels back to model 2020-09-01 13:49:04 +02:00
Manuel Romero
b83b599553 fix 2020-09-01 13:40:22 +02:00
Manuel Romero
646d49fa2e Fixed some bugs 2020-09-01 12:29:32 +02:00
Manuel Romero
b1535d74a1 UI enhancements 2020-09-01 10:32:43 +02:00
Manuel Romero
8606e31bc5 removed appgw rg name 2020-08-31 17:07:32 +02:00
Manuel Romero
4b87a7584a Getting WAF policy paramateres from DB 2020-08-31 16:08:59 +02:00
Manuel Romero
5234295a87 no subscription in scenario 2020-08-10 18:07:13 +02:00
Manuel Romero
aba7919400 fix2 2020-08-10 16:59:18 +02:00
Manuel Romero
3fdd58db33 fix 2020-08-10 16:37:51 +02:00
Manuel Romero
6651510249 deployOps for scenarios 2020-08-10 15:58:31 +02:00
Manuel Romero
326481521a set loggingLevel for passport to warn 2020-08-05 13:29:16 +02:00
Manuel Romero
b34895a8ae Adding schedule type to logs 2020-08-03 16:42:13 +02:00
Manuel Romero
3663462bb4 Do not change if provision is not finished 2020-07-30 13:00:05 +02:00
Manuel Romero
815df437c7 Adding UTC time 2020-07-30 10:30:47 +02:00
Manuel Romero
cfa47cd47d Fixes 2020-07-30 09:59:10 +02:00
Manuel Romero
fbfd0b5f4c Fix timeRunningOnSchedule 2020-07-30 09:33:45 +02:00
Manuel Romero
ea9a002e01 DivvyCloud event log 2020-07-30 09:14:10 +02:00
Manuel Romero
6f8f7b12ab tag ProvId should be a string 2020-07-30 09:07:05 +02:00
Manuel Romero
bec0ebc623 fix 2020-07-30 09:04:20 +02:00
Manuel Romero
5f863d6ec4 Divvy updates fix 2020-07-30 08:58:17 +02:00
Manuel Romero
d3345aa685 Set tag ProvId 2020-07-30 08:50:29 +02:00
Manuel Romero
aa48199e58 setting provId 2020-07-30 08:48:18 +02:00
Manuel Romero
028d9822bb moment 2020-07-29 16:49:06 +02:00
Manuel Romero
08deb29ae8 adding type to message 2020-07-29 16:32:36 +02:00
Manuel Romero
1a7537ef27 brown 2020-07-29 16:25:25 +02:00
Manuel Romero
e4ef581049 New versions 2020-07-29 15:56:06 +02:00
Manuel Romero
c642c5a5e9 fix sendemail 2020-07-29 15:23:50 +02:00
Manuel Romero
0821049fc1 Some fixes 2020-07-29 15:20:28 +02:00
Manuel Romero
996be45987 yeah 2020-07-29 13:45:45 +02:00
Manuel Romero
44f654c085 yeah 2020-07-29 13:39:29 +02:00
Manuel Romero
98fe966f32 yeah 2020-07-29 13:25:33 +02:00
Manuel Romero
159c9a80c1 minor fixes 2020-07-29 13:06:11 +02:00
Manuel Romero
f407ed5899 fix confirm button colors 2020-07-29 12:28:26 +02:00
Manuel Romero
77ed627312 fix 2020-07-29 12:19:16 +02:00
Manuel Romero
57030be78f fixes 2020-07-29 12:17:15 +02:00
Manuel Romero
c8953e46d5 admin provision info 2020-07-29 12:01:53 +02:00
Manuel Romero
e18fbd7e6e fix 2020-07-29 11:43:26 +02:00
Manuel Romero
551ad78345 fix error 2020-07-29 11:29:32 +02:00
Manuel Romero
dbabd39967 Adding info to emails 2020-07-29 11:16:16 +02:00
Manuel Romero
5cf2f37e7c fix description decodeURI emails 2020-07-29 11:08:19 +02:00
Manuel Romero
fb82a18a5a fixes 2020-07-29 11:04:50 +02:00
Manuel Romero
930a9dab4a isStartupTimeEnable to false if stop from CLI 2020-07-29 11:01:25 +02:00
Manuel Romero
382b9b1576 fixes 2020-07-29 10:56:51 +02:00
Manuel Romero
524b16fd75 fixes 2020-07-29 10:35:33 +02:00
Manuel Romero
07f29da574 stuff 2020-07-29 10:06:19 +02:00
Manuel Romero
ecb6ad4d86 k 2020-07-28 20:44:37 +02:00
Manuel Romero
0c79d43ba1 fix 2020-07-28 20:26:51 +02:00
Manuel Romero
52f8d098b3 Fix cli 2020-07-28 20:17:51 +02:00
Manuel Romero
e4230d58fa keep schedule at stop 2020-07-28 18:36:17 +02:00
Manuel Romero
8df6915b38 fixes 2020-07-28 17:30:44 +02:00
Manuel Romero
2616332b4a polish 2020-07-28 17:05:52 +02:00
Manuel Romero
8218f0469b go 2020-07-28 16:56:24 +02:00
Manuel Romero
8bfd76981f Adding bundle hours 2020-07-28 15:48:27 +02:00
Manuel Romero
2205a9520d New prov schedule fixes 2020-07-28 14:35:36 +02:00
Manuel Romero
3f73c93eb2 stop start messages 2020-07-28 12:58:10 +02:00
Manuel Romero
5dfd363ecd fix 2020-07-28 12:02:56 +02:00
Manuel Romero
c69125c5f2 Adding Divvy time received 2020-07-28 11:37:49 +02:00
Manuel Romero
50d68d0078 Adding timezone 2020-07-28 11:33:03 +02:00
Manuel Romero
73f37b7567 Some minor 2020-07-28 11:17:12 +02:00
Manuel Romero
d7b2ae93bb Changed to Schedule 2020-07-28 10:30:12 +02:00
Manuel Romero
1ab433daec fix 2020-07-27 17:48:24 +02:00
Manuel Romero
4fa0f78b42 last fixes 2020-07-27 17:25:16 +02:00
Manuel Romero
fdea228ed1 fix tags 2020-07-27 16:55:25 +02:00
Manuel Romero
707f0c6830 fix error 2020-07-27 16:38:42 +02:00
Manuel Romero
f71ef166b5 Fix emails to be 7 days 2020-07-27 16:21:50 +02:00
Manuel Romero
89462fd21a renamed tags 2020-07-27 15:37:20 +02:00
Manuel Romero
5f99f553c5 Change owner 2020-07-27 15:20:34 +02:00
Manuel Romero
dddc1314e7 fixes 2020-07-27 15:15:21 +02:00
Manuel Romero
c5f50cb6b1 timeRunning to service. 2020-07-27 14:53:05 +02:00
Manuel Romero
885f2986ef cli 2020-07-27 13:41:50 +02:00
Manuel Romero
e45445f919 Using timezone for times 2020-07-24 15:54:53 +02:00
Manuel Romero
2040c9f914 fixes 2020-07-23 19:28:23 +02:00
Manuel Romero
93884ebeea polishing 2020-07-23 19:12:59 +02:00
Manuel Romero
dc9354a36a Fixes 2020-07-23 18:31:32 +02:00
Manuel Romero
5e1e193688 Scheduler 2020-07-23 18:13:37 +02:00
Manuel Romero
ac420b448c return rgName 2020-07-23 12:37:42 +02:00
Manuel Romero
9a7fcfc885 result returned 2020-07-23 12:25:47 +02:00
Manuel Romero
d545acd5eb Adding updatetags endpoint and functions 2020-07-23 12:23:59 +02:00
Manuel Romero
50e2bf7562 fix 2020-07-23 11:07:36 +02:00
Manuel Romero
ac846624df getClient AzureRm 2020-07-23 11:06:28 +02:00
Manuel Romero
37ae3a6cac autoshutdown 7 to 20 2020-07-22 17:09:50 +02:00
Manuel Romero
4bff8d0ecd Updateing provision according to Divvy updates 2020-07-22 13:33:22 +02:00
Manuel Romero
a0fe0dc055 Adding post divvy update received process 2020-07-22 13:18:07 +02:00
Manuel Romero
640ddf1726 fix 2020-07-21 16:38:05 +02:00
Manuel Romero
81262b2c14 Adding autoshutdown info 2020-07-21 16:17:21 +02:00
Manuel Romero
2159eb67e0 fixed 403 by encoding scenarios description (html) 2020-07-21 14:10:01 +02:00
Manuel Romero
9a362f2d52 no custom query populates at provision admin table 2020-07-21 13:38:33 +02:00
Manuel Romero
e974a4bd08 Adding Divvy stuff 2020-07-21 12:53:07 +02:00
Manuel Romero
a4867225d6 Loading QS component only if in stats section 2020-07-15 11:58:59 +02:00
Manuel Romero
08188fdf27 Merge branch 'master' into dev 2020-07-15 11:05:24 +02:00
Manuel Romero
7ccaa69a6a Added Divvy endpoint and header apikey auth 2020-07-15 11:05:11 +02:00
Manuel Romero
1a06334920 Merge branch 'givvy' into dev 2020-07-14 15:25:21 +02:00
Manuel Romero
e4f070826d Divvy toggle on scenario props 2020-07-14 15:02:58 +02:00
Manuel Romero
bf84db1254 Finished 24x7 UI 2020-07-14 13:37:37 +02:00
Manuel Romero
36ea9bbba1 Autoshutdown 2020-07-13 17:57:50 +02:00
Manuel Romero
f191fbd7be Added Stats intengration 2020-07-13 12:56:44 +02:00
Manuel Romero
beef010d40 small fixes for stefan 2020-07-10 14:06:11 +02:00
sbackstrand
4177c357c2 Merge branch 'dev' of gitlab.com:qmi/qmi-cloud into dev 2020-07-10 13:20:08 +02:00
Manuel Romero
7aa064b7a8 delete archive file 2020-07-10 13:19:16 +02:00
sbackstrand
60d7d4fb00 Stats update 2020-07-10 13:14:55 +02:00
Manuel Romero
bd63ef3837 costexports download file 2020-07-09 12:57:38 +02:00
Manuel Romero
2ce1939161 Merge branch 'master' into dev 2020-07-06 14:48:14 +02:00
Manuel Romero
0283850cce Assign user to provision 2020-07-06 14:33:17 +02:00
Manuel Romero
13150ff2c8 Merge branch 'virtual' into dev 2020-06-26 14:26:56 +02:00
Manuel Romero
456bd00d47 populates 2020-06-26 14:11:33 +02:00
Manuel Romero
5a2a73a671 Provision populates from UI services 2020-06-26 14:06:57 +02:00
Manuel Romero
4fc3ea8ad2 virtual scenario injection in provision 2020-06-26 13:36:30 +02:00
Manuel Romero
dd1380f13b discurage external access 2020-06-25 16:53:23 +02:00
Manuel Romero
6988f95e4a deleted no needed stuff 2020-06-23 13:08:05 +02:00
Manuel Romero
9f37068d7c fix 2020-06-23 13:06:23 +02:00
Manuel Romero
717fb16e64 QS embed using qdc-components 2020-06-23 12:59:17 +02:00
Manuel Romero
4c84bbc464 Merge branch 'master' into dev 2020-06-23 12:56:46 +02:00
sbackstrand
86142a0ca3 Mashup code for stats, first try 2020-06-23 10:47:15 +02:00
Manuel Romero
811c1560c4 docker-compose back to version 3.7 2020-06-10 16:46:00 +02:00
Manuel Romero
257cc64d8d Added docker image versions for workers 2020-06-10 16:40:15 +02:00
Manuel Romero
7abf246fd5 some examples in readme.md 2020-06-08 10:33:51 +02:00
Manuel Romero
3aea0e6acc new version 2020-06-08 09:16:46 +02:00
Manuel Romero
d3bf735edc build order changed 2020-06-05 15:53:09 +02:00
Manuel Romero
de09fe22a7 build order changed 2020-06-05 15:43:25 +02:00
Manuel Romero
75bbf452d2 dbinit 2020-06-05 15:30:11 +02:00
Manuel Romero
c5f3ddc4f2 better help script for cli 2020-06-05 15:24:23 +02:00
Manuel Romero
6751e8f0e3 final commit 2020-06-05 15:04:20 +02:00
Manuel Romero
aa4e6a9008 entrypoint for cli 2020-06-05 14:50:32 +02:00
Manuel Romero
9ef992752c dockerfiles 2020-06-05 13:46:24 +02:00
Manuel Romero
9ca0d8c374 rename projects 2020-06-05 12:56:06 +02:00
Manuel Romero
0ba99ed104 fix 2020-06-05 12:50:53 +02:00
Manuel Romero
a4b2262699 new cli docker image. Depency qmi-cloud-common 2020-06-05 12:46:30 +02:00
Manuel Romero
6f93a796a5 boom new dependency 2020-06-05 11:20:40 +02:00
Manuel Romero
2388fb6796 Better docker-compose 2020-06-05 10:44:29 +02:00
Manuel Romero
a920087c2c worker refactor with common 2020-06-04 17:21:06 +02:00
Manuel Romero
676057c583 new fix 2020-06-04 13:40:57 +02:00
Manuel Romero
bc9d2979f0 revert fix 2020-06-04 13:35:27 +02:00
Manuel Romero
4f79244f41 fix 2020-06-04 12:21:49 +02:00
Manuel Romero
297fe7bdbf server 2020-06-03 18:06:42 +02:00
Manuel Romero
52f4d11085 do not delete destroy items from destroy table 2020-06-03 18:00:19 +02:00
Manuel Romero
c4fe70cd9a Adding actualDestroyDate 2020-06-03 17:23:07 +02:00
Manuel Romero
422e5223c0 fix timeRunning for destroy with stopped vms 2020-06-03 16:22:33 +02:00
Manuel Romero
ccfb966afa disabled vmtypes query 2020-06-02 17:51:47 +02:00
Manuel Romero
a4a0c0a8d6 fix 2020-06-02 17:36:08 +02:00
Manuel Romero
749e607634 disabled vmtype 2020-06-02 17:34:51 +02:00
Manuel Romero
ae7c30cf23 Merge branch 'dev' 2020-06-02 14:55:15 +02:00
Manuel Romero
72e18a5758 last small fix 2020-06-02 14:49:48 +02:00
Manuel Romero
8fdef58216 fix 2020-06-02 13:50:27 +02:00
Manuel Romero
493d0f255d fixes 2020-06-02 13:30:14 +02:00
Manuel Romero
aba0eeff9c fix error_plan and error_init 2020-06-02 13:22:12 +02:00
Manuel Romero
600390ba5d Try error at init and plan 2020-06-02 13:06:37 +02:00
Manuel Romero
14d1c929a8 Removed old attributes for provision and scenario 2020-06-01 15:39:33 +02:00
Manuel Romero
22b0f5f66e Merge branch 'dev' 2020-05-29 14:26:48 +02:00
Manuel Romero
368d1fb318 fix old scenarios 2020-05-29 13:53:40 +02:00
Manuel Romero
fd7f2011ba provision showing scenario version 2020-05-29 13:35:41 +02:00
Manuel Romero
4d55ea40f1 fix version provision 2020-05-29 13:16:50 +02:00
Manuel Romero
3436b762bb Fix scenario version 2020-05-29 13:11:39 +02:00
Manuel Romero
d154688afc A lot of things. 2020-05-29 12:31:49 +02:00
Manuel Romero
d40f7b2aef fix sendEmail 2020-05-28 17:42:23 +02:00
Manuel Romero
ef53b8856e Fix sendEmail 2020-05-28 17:39:17 +02:00
Manuel Romero
4cf3611134 new version 2020-05-28 12:31:17 +02:00
Manuel Romero
a33bfa3012 apikeys on ui 2020-05-28 12:27:55 +02:00
Manuel Romero
2fe3ff5a0d echo 2020-05-28 10:36:30 +02:00
Manuel Romero
e6b03ad6b7 no uris 2020-05-28 10:24:55 +02:00
Manuel Romero
b7fb34bf07 Some minor fixes 2020-05-28 09:57:55 +02:00
Manuel Romero
a87924e6e6 faq 2020-05-28 09:50:55 +02:00
Manuel Romero
4d58eff50b Stop period to 20 days 2020-05-28 09:48:42 +02:00
Manuel Romero
5cf2e46c20 new version 2020-05-26 08:03:34 +02:00
Manuel Romero
89c431d651 fix 2020-05-22 13:43:40 +02:00
Manuel Romero
f7b21062d4 fix 2020-05-22 13:39:03 +02:00
Manuel Romero
1486130bb2 deploy opts 2020-05-22 13:15:52 +02:00
Manuel Romero
52d612ce3e Merge branch 'master' into dev 2020-05-22 12:49:17 +02:00
Manuel Romero
f44aad53d9 Send error back as soon as object not found after provision or destroy 2020-05-22 09:27:52 +02:00
Manuel Romero
e3fd3151c9 small fix table users 2020-05-22 09:07:02 +02:00
Manuel Romero
a8288938f5 if isExtenal 2020-05-21 15:16:55 +02:00
Manuel Romero
3c3d6b0477 Adding subnet for appgw 2020-05-21 14:50:15 +02:00
Manuel Romero
695943a194 fix 2020-05-21 12:54:34 +02:00
Manuel Romero
40f3ad19e0 Getting subscription at provision 2020-05-21 12:07:00 +02:00
Manuel Romero
57d0c14aa5 fix 2020-05-21 11:01:55 +02:00
Manuel Romero
f715a0c910 Fix db 2020-05-21 11:00:15 +02:00
Manuel Romero
6f97c0e712 Adding subscription id and subnetid to tf execution 2020-05-21 10:20:44 +02:00
Manuel Romero
1ba83095d4 building lastestdev 2020-05-21 09:53:48 +02:00
Manuel Romero
d798fe4b40 trigger 2020-05-21 09:50:45 +02:00
Manuel Romero
b8d9d60df9 fix 2020-05-21 09:42:07 +02:00
Manuel Romero
6da9570384 test build 2020-05-21 09:33:03 +02:00
Manuel Romero
031c989747 do not build latest if branch 2020-05-21 09:10:21 +02:00
Manuel Romero
d57936a780 tag names for branches 2020-05-21 09:00:39 +02:00
Manuel Romero
558f1523d4 Test 2020-05-21 08:51:59 +02:00
Manuel Romero
183d743600 removed mongo-express 2020-05-20 19:03:16 +02:00
Manuel Romero
47688990ff fi 2020-05-20 18:17:18 +02:00
Manuel Romero
7fea117e64 Fix mongo url 2020-05-20 18:11:15 +02:00
Manuel Romero
a2b623a36c Adding GIT_TAG 2020-05-20 16:15:54 +02:00
Manuel Romero
00bbd12e6d vmtypes to dbinit 2020-05-20 14:12:46 +02:00
Manuel Romero
29dd07c1bd Added initial data 2020-05-20 14:00:29 +02:00
Manuel Romero
646c075ebe Little thing for cosmosdb in sessions for express 2020-05-20 12:57:37 +02:00
Manuel Romero
6c00375362 Accomodation for CosmosDB 2020-05-19 17:26:54 +02:00
Manuel Romero
2baaa1e0d5 Fix edit scenario with subscription 2020-05-19 17:26:13 +02:00
Manuel Romero
007b2bcc97 Added subscriptions 2020-05-18 09:12:31 +02:00
Manuel Romero
7e74f80e0f subscription 2020-05-17 19:02:58 +02:00
Manuel Romero
3833e45655 Subscriptions per scenario 2020-05-17 13:10:35 +02:00
Manuel Romero
825bdfb3e1 Setting prefix from provision scenario 2020-05-16 15:17:47 +02:00
Manuel Romero
e924252a21 get provision vmImages 2020-05-14 19:06:37 +02:00
Manuel Romero
dd3078b943 Edit and Add scenario 2020-05-13 12:46:38 +02:00
Manuel Romero
bfa1c9201a fix scenarios admin 2020-05-13 10:15:34 +02:00
Manuel Romero
dbd7a10202 fix scenarios admin 2020-05-13 09:59:42 +02:00
Manuel Romero
0328373022 Adding populates and selet to get mongo 2020-05-12 19:05:43 +02:00
Manuel Romero
a072653cac is enabled info 2020-05-12 12:53:15 +02:00
Manuel Romero
794eb8c908 Adding AutoDestroy times 2020-05-12 12:40:25 +02:00
Manuel Romero
62cc26e65d _buildVarsExec 2020-05-10 18:10:17 +02:00
Manuel Romero
f7a0968a5e Do not set waf policy if not external 2020-05-10 18:02:03 +02:00
Manuel Romero
3acba670ee fix 2020-05-10 14:41:53 +02:00
Manuel Romero
3a3cb3196e fix provisions 2020-05-10 12:58:20 +02:00
Manuel Romero
d742a4ff2f More to admin provisions 2020-05-10 12:44:45 +02:00
Manuel Romero
990b0d80e3 Fix 2020-05-10 11:57:23 +02:00
Manuel Romero
2d512b49be Disable scenario property 2020-05-10 11:50:35 +02:00
Manuel Romero
61b57d5bc7 Setting isExternalAccess from UI 2020-05-08 16:27:54 +02:00
Manuel Romero
8f48cfbc69 lastLogin 2020-05-07 17:43:31 +02:00
Manuel Romero
9cee830fd4 Admin enhance 2020-05-07 17:18:19 +02:00
Manuel Romero
4f481fd88f vmtypes endpoint 2020-05-07 12:32:21 +02:00
Manuel Romero
2faf109353 disksize default 2020-05-07 12:21:09 +02:00
Manuel Romero
19a0fa715e 128 as minimum disk size 2020-05-07 12:10:54 +02:00
Manuel Romero
2e194b72b8 display disk size on UI 2020-05-07 12:06:02 +02:00
Manuel Romero
039a13bd30 set disk size from UI 2020-05-07 11:56:14 +02:00
Manuel Romero
26fa09541a less logs and oid as index 2020-05-07 09:13:55 +02:00
Manuel Romero
cfbe52efc1 paging 2020-05-06 17:37:28 +02:00
Manuel Romero
a267fedaef Adding notifications to Admin 2020-05-06 08:59:57 +02:00
Manuel Romero
d6cb0fc78f No auto refresh provisions 2020-05-05 16:34:31 +02:00
Manuel Romero
1fbbbde1a1 No needed log 2020-05-05 14:59:16 +02:00
Manuel Romero
08721bb810 populate user for ApiKey model 2020-05-05 14:25:21 +02:00
Manuel Romero
68d2bef6ba populate user for ApiKey model 2020-05-05 14:23:59 +02:00
Manuel Romero
5199cabd26 fix 2020-05-05 14:19:51 +02:00
Manuel Romero
59546838ac fix 2020-05-05 14:15:21 +02:00
Manuel Romero
4740163572 fix 2020-05-05 13:59:13 +02:00
Manuel Romero
22af7f903e reorg shell scripts and cron 2020-05-05 13:55:38 +02:00
Manuel Romero
e921182575 Getting scenarios from git 2020-05-05 13:26:49 +02:00
Manuel Romero
b88e356536 Scenarios edit from admin 2020-05-04 13:41:36 +02:00
Manuel Romero
9292bba09a Admin sections pills 2020-05-04 12:32:57 +02:00
Manuel Romero
8b1e978e7c Merge branch 'master' into p2 2020-05-04 11:08:13 +02:00
Manuel Romero
24b1252911 fix start vms 2020-05-04 09:22:05 +02:00
Manuel Romero
edece4f91c Scenarios in admin 2020-05-03 21:53:36 +02:00
Manuel Romero
b84d6631b3 Merge branch 'master' into p2 2020-04-30 16:27:17 +02:00
Manuel Romero
73a427bb09 Disable scenarios 2020-04-30 15:34:06 +02:00
Manuel Romero
0063e27bb2 only populates for user 2020-04-30 13:25:59 +02:00
Manuel Romero
24708f2bd8 Api-docs only for admins 2020-04-30 13:14:00 +02:00
Manuel Romero
317266e09a getById instead of getSingle 2020-04-30 13:08:00 +02:00
Manuel Romero
a9ad3d34f9 user model less methods 2020-04-30 13:02:41 +02:00
Manuel Romero
2b2554e4f7 Security on provisions 2020-04-30 12:56:27 +02:00
Manuel Romero
343c14d846 Improvements 2020-04-30 12:46:31 +02:00
Manuel Romero
fd158a2e56 paging provisions 2020-04-29 16:14:11 +02:00
Manuel Romero
dd542457de polish ui 2020-04-29 13:59:32 +02:00
Manuel Romero
74cacd2854 Info 2020-04-28 14:06:29 +02:00
Manuel Romero
5fada4feed Also fixed send email 2020-04-28 14:00:44 +02:00
Manuel Romero
4ef3df4d1d info showing new sizing 2020-04-28 12:53:17 +02:00
Manuel Romero
d7ba6dca3b Change order 2020-04-28 11:28:29 +02:00
Manuel Romero
0702c2a058 Test fix 2020-04-28 11:13:22 +02:00
Manuel Romero
3fb9c3b522 ImageID 2020-04-28 10:58:35 +02:00
Manuel Romero
22d7b724a1 No needed field 2020-04-28 10:08:37 +02:00
Manuel Romero
9a627d4927 New way to size provisions 2020-04-28 10:05:32 +02:00
Manuel Romero
c8fddfe18d Adding more comples provision details for vms 2020-04-27 18:17:00 +02:00
Manuel Romero
805a93dc60 Using vmImage 2020-04-27 12:20:03 +02:00
Manuel Romero
f65391ef6d fix destroy 2020-04-27 12:01:35 +02:00
Manuel Romero
6ed9bedae0 UI and provision with Image 2020-04-27 12:00:35 +02:00
Manuel Romero
6b4757df36 Green text 2020-04-26 11:11:24 +02:00
Manuel Romero
e1970e716b More tooltips 2020-04-26 11:04:14 +02:00
Manuel Romero
b996cf004c Adding provision description 2020-04-26 10:58:08 +02:00
Manuel Romero
92f325a67b les logs 2020-04-25 11:15:16 +02:00
Manuel Romero
81919c8e9d Add notification 2020-04-25 11:10:01 +02:00
Manuel Romero
2a3eccfe30 fix 2020-04-24 15:51:51 +02:00
Manuel Romero
14158d3f60 fix scenarios model 2020-04-24 15:23:19 +02:00
Manuel Romero
fbec2def38 remove no needed templates 2020-04-24 13:58:37 +02:00
Manuel Romero
b610a376f1 Name gen image 2020-04-24 13:40:17 +02:00
Manuel Romero
d9f7eff0f2 Set random image name 2020-04-24 13:30:20 +02:00
Manuel Romero
8399f18e11 Default values 2020-04-24 13:25:42 +02:00
Manuel Romero
067dc2c7da newImageName field 2020-04-24 13:21:27 +02:00
Manuel Romero
a7f8c42983 faq typos 2020-04-24 13:19:52 +02:00
Manuel Romero
8d041ee600 Create image 2020-04-24 13:18:53 +02:00
Manuel Romero
186fb52ac1 fix 2020-04-23 11:01:55 +02:00
Manuel Romero
2814c92a2e stop5 2020-04-23 10:47:19 +02:00
Manuel Romero
fb5abbdee0 process stop and destroy 2020-04-23 10:38:54 +02:00
Manuel Romero
6c29373a0f Destroy email to actual owner 2020-04-23 09:42:23 +02:00
Manuel Romero
ece1183e55 Typo 2020-04-22 16:37:21 +02:00
Manuel Romero
54973c7306 Typo 2020-04-22 16:35:59 +02:00
Manuel Romero
cd99761892 using stoppedFrom 2020-04-22 16:27:35 +02:00
Manuel Romero
e764eac338 stoppedFrom in provision model 2020-04-22 16:10:02 +02:00
Manuel Romero
663e1f577d stoppedFrom 2020-04-22 16:07:36 +02:00
Manuel Romero
2b29df5164 fix 2020-04-22 16:02:27 +02:00
Manuel Romero
a6dc7dacdd Autodestroy 2020-04-22 15:36:02 +02:00
Manuel Romero
818114a701 faq local 2020-04-21 18:12:43 +02:00
Manuel Romero
a42eb85772 fix 2020-04-20 13:19:36 +02:00
Manuel Romero
130e0d8de9 fix 2020-04-20 13:18:47 +02:00
Manuel Romero
8a770ec0fa fix 2020-04-20 13:18:14 +02:00
Manuel Romero
7d15711bb2 fixes 2020-04-20 13:16:41 +02:00
Manuel Romero
39e3d777bc fix 2020-04-20 13:07:16 +02:00
Manuel Romero
8b6dac3216 new faq 2020-04-19 12:06:17 +02:00
Manuel Romero
9f412be93c new faq 2020-04-19 12:02:14 +02:00
Manuel Romero
0b43901c11 Do not show auto stop time if is deleted 2020-04-19 11:32:27 +02:00
Manuel Romero
c15fa47244 faq 2020-04-17 11:20:41 +02:00
Manuel Romero
8de21b4bbf faq 2020-04-17 11:11:47 +02:00
Manuel Romero
3c3e987c62 readme 2020-04-17 10:01:52 +02:00
Manuel Romero
f2d2d740d7 Test faq 2020-04-17 10:00:41 +02:00
Manuel Romero
8ff19f260a SOme fixes to docker-compose yaml 2020-04-17 09:58:07 +02:00
Manuel Romero
5a8056adee Adding FAQ 2020-04-17 09:48:20 +02:00
Manuel Romero
665871ba78 is real 2020-04-16 17:17:13 +02:00
Manuel Romero
1e937414d3 Extend pendingNextAction to null 2020-04-16 17:04:10 +02:00
Manuel Romero
356e1a3827 Notifications 2020-04-16 17:01:35 +02:00
Manuel Romero
98f1f1c08f Param RUNNING_PERIOD 2020-04-16 14:39:40 +02:00
Manuel Romero
c7f50a776b Negative time 2020-04-16 14:17:02 +02:00
Manuel Romero
a7b7551b52 Vms auto stop in admin 2020-04-16 13:39:15 +02:00
Manuel Romero
8123a7a850 Do not show destroy in admin 2020-04-16 13:13:30 +02:00
Manuel Romero
7fbb3318e9 Fixed runnign from created 2020-04-16 12:54:20 +02:00
Manuel Romero
379f373b86 fix typo 2020-04-16 12:46:21 +02:00
Manuel Romero
30825a6271 Not async 2020-04-16 12:28:49 +02:00
Manuel Romero
45ad35308e fix 2020-04-16 11:58:32 +02:00
Manuel Romero
b2fe88b6c7 Deallocate/start async functions 2020-04-16 11:44:13 +02:00
Manuel Romero
a8f111c463 Time to stop 2020-04-16 11:12:09 +02:00
Manuel Romero
70e5113ef9 sendemail 2020-04-15 18:34:01 +02:00
Manuel Romero
fae6276267 fix 2020-04-15 18:06:47 +02:00
Manuel Romero
ad08d71da1 Extend button 2020-04-15 17:13:28 +02:00
Manuel Romero
fd29c6c3ca checkstop 2020-04-15 16:10:12 +02:00
Manuel Romero
c1caefc207 Time running 2020-04-15 14:20:00 +02:00
Manuel Romero
5149a2c5e1 fix timeRunning 2020-04-15 10:40:11 +02:00
Manuel Romero
cb51334761 time running 2020-04-15 09:08:57 +02:00
Manuel Romero
45281587f7 stop5.js 2020-04-08 18:50:15 +02:00
Manuel Romero
1131a8607d new version 2020-04-08 16:49:07 +02:00
Manuel Romero
1ced9bbc9e trigger CDCI 2020-04-08 16:44:31 +02:00
Manuel Romero
353355a101 Added API Key authentication to API 2020-04-08 16:12:21 +02:00
Manuel Romero
ca081f0bdd Some enhancements 2020-04-08 15:02:21 +02:00
Manuel Romero
629c2a03da Using openapi300 2020-04-08 13:02:45 +02:00
Manuel Romero
ab15a02d54 Admin scenario 2020-04-07 16:45:26 +02:00
Manuel Romero
17a93838f9 More UI stuff 2020-04-07 16:16:11 +02:00
Manuel Romero
e3802d2af2 build 2020-04-07 10:09:10 +02:00
Manuel Romero
7cbe9dbf90 Fix message 2020-04-02 10:51:43 +02:00
Manuel Romero
6c60ccd08f appgw link if provisioned 2020-04-02 10:40:37 +02:00
Manuel Romero
14daf2fa8e Fix 2020-04-02 08:06:33 +02:00
Manuel Romero
0744654d3e Adding isWafPolicyAppGw 2020-04-02 08:02:03 +02:00
Manuel Romero
0ae75f82dc Confirm modal 2020-03-29 22:25:10 +02:00
Manuel Romero
872f07f043 delete old String fields and set index 2020-03-28 15:59:39 +01:00
Manuel Romero
19c22fbfec disable databse transform 2020-03-28 15:42:54 +01:00
508 changed files with 821907 additions and 24597 deletions

5
.gitignore vendored
View File

@@ -5,7 +5,7 @@
/out-tsc
# dependencies
/node_modules
**/node_modules
# IDEs and editors
/.idea
@@ -24,6 +24,7 @@
!.vscode/extensions.json
# misc
/.angular/cache
/.sass-cache
/connect.lock
/coverage
@@ -48,4 +49,4 @@ secrets.json
qmi-cloud-tf-modules/
*.pfx
/photos/*

View File

@@ -2,15 +2,17 @@ image: docker:stable
services:
- docker:dind
stages:
- build
'Docker build and push':
build-app:
stage: build
only:
- master
- dev
before_script:
- echo "$DOCKER_REGISTRY_PASSWORD" | docker login --username "$DOCKER_REGISTRY_USER" --password-stdin
script:
- chmod +x ./gitlab-ci.sh
- ./gitlab-ci.sh
- chmod +x ./ci/gitlab-ci-app.sh
- ./ci/gitlab-ci-app.sh

1
.npmrc Normal file
View File

@@ -0,0 +1 @@
@QMI:registry=https://gitlab.com/api/v4/packages/npm/

View File

@@ -1,3 +1,29 @@
FROM node:13.8-alpine
# Stage 1:
FROM node:20.14-alpine AS sources
WORKDIR /var/www/app
WORKDIR /app
ADD ./package.json ./
ADD ./.npmrc ./
RUN yarn install --production
# Stage 2:
FROM node:20.14-alpine AS production
ARG BUILD_ENV
RUN echo "Building enviroment is: $BUILD_ENV"
WORKDIR /app
COPY --from=sources /app/node_modules ./node_modules
COPY --from=sources /app/package.json ./package.json
COPY ./server ./server
COPY ./config ./config
COPY ./dist${BUILD_ENV} ./dist
COPY ./mystatsmashup ./mystatsmashup
EXPOSE 3000
EXPOSE 3100
CMD ["node", "server/server"]

View File

@@ -1,19 +1,25 @@
# QMI Cloud
[![pipeline status](https://gitlab.com/qmi/qmi-cloud/badges/master/pipeline.svg)](https://gitlab.com/qmi/qmi-cloud/-/commits/master)
## Pre-requisites
- Docker (desktop for Mac - temporary)
- A file named secrets.json with this JSON information
- Docker
- Docker-Compose
- A file named secrets.json with this JSON information (as Manuel Romero for this details)
```json
{
"AZURE_TENANT_ID" : "xxxxxxxx",
"AZURE_CLIENT_ID": "yyyyyyyy",
"AZURE_CLIENT_SECRET": "zzzzzzzz"
"IDENTITY_METADATA" : "xxxxxxxx",
"CLIENT_ID": "yyyyyyyy",
"CLIENT_SECRET": "zzzzzzzz"
}
```
## Run it
It will build necessary images if they don't exist.
```shell
git clone git@gitlab.com:qmi/qmi-cloud.git
cd qmi-cloud
@@ -24,9 +30,13 @@ Wait until this line shows up:
```qmi-cloud-app | MongoDB connected...```
On another terminal, run:
```shell
docker container ls
```
Should show these containers:
```
CONTAINER ID IMAGE COMMAND CREATED STATUS PORTS NAMES
@@ -37,41 +47,33 @@ ad01a01a4903 qlikgear/qmi-cloud-app "docker-entrypoint.s…" 4 hou
94a1414554aa redis "redis-server --appe…" 4 hours ago Up 2 minutes 6379/tcp qmi-cloud-redis
```
## TEST
## Authentication
Go to: http://localhost:3000
### Authentication
Authentication with Azure AD (Qlik).
## Bull QUEUE system
### Bull QUEUE system
It is used to queue Terraform executions in Docker containers.
UI: http://localhost:3000/arena
## Mongo / Mongo Express Client
### Mongo / Mongo Express Client
Mongo is for managment.
UI: http://localhost:8081
Basic-Auth: qlik / Qlik1234
Database: qmi
http://localhost:8081/db/qmi/
Database: qmicloud
## API / Swagger API-DOCS
### API / Swagger API-DOCS
It shows available endpoints
http://localhost:3000/api-docs
## TEST
- Go to: http://localhost:3000
- Authenticate
- Go to: http://localhost:3000/provisions
### Available Scenarios that will deploy to Azure
- azqmi-qdc-sn
__NOTE: WARNING!!! It's using MANUEL's personal account "Visual Studio Professional" credits in Azure for now.__

View File

@@ -23,23 +23,34 @@
"polyfills": "src/polyfills.ts",
"tsConfig": "src/tsconfig.app.json",
"assets": [
"src/favicon.ico",
"src/assets"
"src/favicon.svg",
"src/assets",
"src/env.js",
"src/oauth-callback.html"
],
"styles": [
"src/styles.scss",
"node_modules/@fortawesome/fontawesome-free/scss/fontawesome.scss",
"node_modules/@fortawesome/fontawesome-free/scss/solid.scss",
"node_modules/@fortawesome/fontawesome-free/scss/regular.scss",
"node_modules/@fortawesome/fontawesome-free/scss/brands.scss",
"node_modules/angular-bootstrap-md/assets/scss/bootstrap/bootstrap.scss",
"node_modules/angular-bootstrap-md/assets/scss/mdb.scss",
"node_modules/animate.css/animate.css"
"node_modules/animate.css/animate.css",
"src/styles.scss"
],
"scripts": [
"node_modules/chart.js/dist/Chart.js",
"node_modules/hammerjs/hammer.min.js"
]
"node_modules/hammerjs/hammer.min.js",
"src/assets/js/qlikMashupQCS.js"
],
"aot": false,
"vendorChunk": true,
"extractLicenses": false,
"buildOptimizer": false,
"sourceMap": true,
"optimization": false,
"namedChunks": true
},
"configurations": {
"production": {
@@ -52,7 +63,6 @@
"optimization": true,
"outputHashing": "all",
"sourceMap": false,
"extractCss": true,
"namedChunks": false,
"aot": true,
"extractLicenses": true,
@@ -62,20 +72,40 @@
{
"type": "initial",
"maximumWarning": "2mb",
"maximumError": "5mb"
"maximumError": "10mb"
}
]
},
"staging": {
"outputPath": "diststaging/qmi-cloud",
"index": {
"input": "src/index-dev.html",
"output": "index.html"
}
},
"local": {
"index": {
"input": "src/index-local.html",
"output": "index.html"
}
}
}
},
"defaultConfiguration": ""
},
"serve": {
"builder": "@angular-devkit/build-angular:dev-server",
"options": {
"browserTarget": "qmi-cloud:build"
"browserTarget": "qmi-cloud:build",
"proxyConfig": "proxy.conf.json"
},
"configurations": {
"production": {
"browserTarget": "qmi-cloud:build:production"
},"staging": {
"browserTarget": "qmi-cloud:build:staging"
},
"local": {
"browserTarget": "qmi-cloud:build:local"
}
}
},
@@ -97,22 +127,10 @@
],
"scripts": [],
"assets": [
"src/favicon.ico",
"src/favicon.svg",
"src/assets"
]
}
},
"lint": {
"builder": "@angular-devkit/build-angular:tslint",
"options": {
"tsConfig": [
"src/tsconfig.app.json",
"src/tsconfig.spec.json"
],
"exclude": [
"**/node_modules/**"
]
}
}
}
},
@@ -132,18 +150,11 @@
"devServerTarget": "qmi-cloud:serve:production"
}
}
},
"lint": {
"builder": "@angular-devkit/build-angular:tslint",
"options": {
"tsConfig": "e2e/tsconfig.e2e.json",
"exclude": [
"**/node_modules/**"
]
}
}
}
}
},
"defaultProject": "qmi-cloud"
"cli": {
"analytics": false
}
}

23
ci/gitlab-ci-app.sh Executable file
View File

@@ -0,0 +1,23 @@
echo "--- Building QMI Cloud docker images for branch $CI_COMMIT_REF_NAME"
IMAGE_NAME="qlikgear/qmi-cloud-app"
PROJECT_FOLDER="."
export VERSION=$(cat $PROJECT_FOLDER/package.json | grep version | head -1 | awk -F: '{ print $2 }' | sed 's/[",]//g' | tr -d '[[:space:]]')
export TAG=$VERSION
export STABLE_TAG="latest"
export BUILD_ENV=""
if [ "$CI_COMMIT_REF_NAME" != "master" ]; then
TAG="$VERSION-$CI_COMMIT_REF_NAME"
STABLE_TAG="latestdev"
BUILD_ENV="staging"
fi
echo "--- Building image: $IMAGE_NAME:$TAG"
docker build -f $PROJECT_FOLDER/Dockerfile --build-arg BUILD_ENV=$BUILD_ENV -t $IMAGE_NAME:$TAG ./
echo "--- Pushing image: $IMAGE_NAME:$TAG"
docker push $IMAGE_NAME:$TAG
docker image tag $IMAGE_NAME:$TAG $IMAGE_NAME:$STABLE_TAG
docker push $IMAGE_NAME:$STABLE_TAG

6
config/qmi-config.json Normal file
View File

@@ -0,0 +1,6 @@
{
"forced_destroy_groups":[
"SG-okta-cloud-team-admin-access"
],
"forced_destroy_period_days": 60
}

0
costexport/.keep Normal file
View File

1
costexport/sample.json Normal file
View File

@@ -0,0 +1 @@
{"test": "ok"}

View File

@@ -1,12 +0,0 @@
import { AppPage } from './app.po';
describe('workspace-project App', function () {
var page;
beforeEach(function () {
page = new AppPage();
});
it('should display welcome message', function () {
page.navigateTo();
expect(page.getTitleText()).toEqual('Welcome to qmi-cloud!');
});
});
//# sourceMappingURL=app.e2e-spec.js.map

View File

@@ -1 +0,0 @@
{"version":3,"file":"app.e2e-spec.js","sourceRoot":"","sources":["../../../../e2e/src/app.e2e-spec.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,EAAE,MAAM,UAAU,CAAC;AAEnC,QAAQ,CAAC,uBAAuB,EAAE;IAChC,IAAI,IAAa,CAAC;IAElB,UAAU,CAAC;QACT,IAAI,GAAG,IAAI,OAAO,EAAE,CAAC;IACvB,CAAC,CAAC,CAAC;IAEH,EAAE,CAAC,gCAAgC,EAAE;QACnC,IAAI,CAAC,UAAU,EAAE,CAAC;QAClB,MAAM,CAAC,IAAI,CAAC,YAAY,EAAE,CAAC,CAAC,OAAO,CAAC,uBAAuB,CAAC,CAAC;IAC/D,CAAC,CAAC,CAAC;AACL,CAAC,CAAC,CAAC"}

View File

@@ -1,14 +0,0 @@
import { browser, by, element } from 'protractor';
var AppPage = /** @class */ (function () {
function AppPage() {
}
AppPage.prototype.navigateTo = function () {
return browser.get('/');
};
AppPage.prototype.getTitleText = function () {
return element(by.css('app-root h1')).getText();
};
return AppPage;
}());
export { AppPage };
//# sourceMappingURL=app.po.js.map

View File

@@ -1 +0,0 @@
{"version":3,"file":"app.po.js","sourceRoot":"","sources":["../../../../e2e/src/app.po.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,EAAE,EAAE,EAAE,OAAO,EAAE,MAAM,YAAY,CAAC;AAElD;IAAA;IAQA,CAAC;IAPC,4BAAU,GAAV;QACE,OAAO,OAAO,CAAC,GAAG,CAAC,GAAG,CAAC,CAAC;IAC1B,CAAC;IAED,8BAAY,GAAZ;QACE,OAAO,OAAO,CAAC,EAAE,CAAC,GAAG,CAAC,aAAa,CAAC,CAAC,CAAC,OAAO,EAAE,CAAC;IAClD,CAAC;IACH,cAAC;AAAD,CAAC,AARD,IAQC"}

View File

@@ -1,129 +0,0 @@
var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
return c > 3 && r && Object.defineProperty(target, key, r), r;
};
var __metadata = (this && this.__metadata) || function (k, v) {
if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);
};
import { Component } from '@angular/core';
import { UsersService } from '../services/users.service';
import { ProvisionsService } from '../services/provisions.service';
import { timer } from 'rxjs';
import { switchMap } from 'rxjs/operators';
import { AuthGuard } from '../services/auth.guard';
var AdminComponent = /** @class */ (function () {
function AdminComponent(_usersService, _provisionsService, _auth) {
var _this = this;
this._usersService = _usersService;
this._provisionsService = _provisionsService;
this._auth = _auth;
this.logShow = false;
this.logstype = 'provision';
this.selectedprov = null;
this._auth.getUserInfo().subscribe(function (value) {
_this.currentUser = value;
});
}
AdminComponent.prototype._fillUser = function (pair) {
var _this = this;
pair['0'].forEach(function (prov) {
var foundDes = _this.users.filter(function (u) {
return u._id.toString() === prov.userId.toString();
});
if (foundDes.length) {
prov.user = foundDes[0].displayName;
}
});
};
AdminComponent.prototype._getUsers = function () {
};
AdminComponent.prototype.ngOnInit = function () {
var _this = this;
this._usersService.getUsers().subscribe(function (res) {
_this.users = res;
_this.subscription = timer(0, 5000).pipe(switchMap(function () { return _this._provisionsService.getCombinedProvisionsAdmin(); })).subscribe(function (pair) {
_this._provisionsService.composePair(pair);
_this._fillUser(pair);
_this.destroys = pair[1];
_this.provisions = pair[0];
});
});
};
AdminComponent.prototype._refresh = function () {
var _this = this;
this.instantSubs = this._provisionsService.getCombinedProvisionsAdmin().subscribe(function (pair) {
_this._provisionsService.composePair(pair);
_this._fillUser(pair);
_this.destroys = pair[1];
_this.provisions = pair[0];
_this.instantSubs.unsubscribe();
});
};
AdminComponent.prototype.ngOnDestroy = function () {
this.subscription.unsubscribe();
if (this.instantSubs) {
this.instantSubs.unsubscribe();
}
};
AdminComponent.prototype.del = function (provision) {
var _this = this;
this._provisionsService.delProvision(provision._id.toString(), provision.userId).subscribe(function (res) {
console.log("Done!", res);
_this._refresh();
});
};
AdminComponent.prototype.destroy = function (provision) {
var _this = this;
this._provisionsService.newDestroy({ "id": provision._id.toString() }, provision.userId).subscribe(function (res) {
console.log("Done!", res);
_this._refresh();
});
};
AdminComponent.prototype.showLogs = function ($event, provision, type) {
$event.preventDefault();
$event.stopPropagation();
this.logstype = type;
this.logShow = false;
this.selectedprov = provision;
this.logShow = true;
};
AdminComponent.prototype.onLogsClose = function ($event) {
this.selectedprov = null;
this.logShow = false;
};
AdminComponent.prototype.onStartProvision = function ($event) {
console.log("onStartProvision");
this._refresh();
};
AdminComponent.prototype.setAdmin = function (user) {
var _this = this;
this._usersService.updateUser(user._id, { "role": "admin" }).subscribe(function (res1) {
console.log("Updated", res1);
_this._usersService.getUsers().subscribe(function (res) {
_this.users = res;
});
});
};
AdminComponent.prototype.removeAdmin = function (user) {
var _this = this;
this._usersService.updateUser(user._id, { "role": null }).subscribe(function (res1) {
console.log("Updated", res1);
_this._usersService.getUsers().subscribe(function (res) {
_this.users = res;
});
});
};
AdminComponent = __decorate([
Component({
selector: 'app-admin',
templateUrl: './admin.component.html',
styleUrls: ['./admin.component.scss']
}),
__metadata("design:paramtypes", [UsersService, ProvisionsService, AuthGuard])
], AdminComponent);
return AdminComponent;
}());
export { AdminComponent };
//# sourceMappingURL=admin.component.js.map

View File

@@ -1 +0,0 @@
{"version":3,"file":"admin.component.js","sourceRoot":"","sources":["../../../../../src/app/admin/admin.component.ts"],"names":[],"mappings":"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"}

View File

@@ -1,21 +0,0 @@
import { async, TestBed } from '@angular/core/testing';
import { AdminComponent } from './admin.component';
describe('AdminComponent', function () {
var component;
var fixture;
beforeEach(async(function () {
TestBed.configureTestingModule({
declarations: [AdminComponent]
})
.compileComponents();
}));
beforeEach(function () {
fixture = TestBed.createComponent(AdminComponent);
component = fixture.componentInstance;
fixture.detectChanges();
});
it('should create', function () {
expect(component).toBeTruthy();
});
});
//# sourceMappingURL=admin.component.spec.js.map

View File

@@ -1 +0,0 @@
{"version":3,"file":"admin.component.spec.js","sourceRoot":"","sources":["../../../../../src/app/admin/admin.component.spec.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,KAAK,EAAoB,OAAO,EAAE,MAAM,uBAAuB,CAAC;AAEzE,OAAO,EAAE,cAAc,EAAE,MAAM,mBAAmB,CAAC;AAEnD,QAAQ,CAAC,gBAAgB,EAAE;IACzB,IAAI,SAAyB,CAAC;IAC9B,IAAI,OAAyC,CAAC;IAE9C,UAAU,CAAC,KAAK,CAAC;QACf,OAAO,CAAC,sBAAsB,CAAC;YAC7B,YAAY,EAAE,CAAE,cAAc,CAAE;SACjC,CAAC;aACD,iBAAiB,EAAE,CAAC;IACvB,CAAC,CAAC,CAAC,CAAC;IAEJ,UAAU,CAAC;QACT,OAAO,GAAG,OAAO,CAAC,eAAe,CAAC,cAAc,CAAC,CAAC;QAClD,SAAS,GAAG,OAAO,CAAC,iBAAiB,CAAC;QACtC,OAAO,CAAC,aAAa,EAAE,CAAC;IAC1B,CAAC,CAAC,CAAC;IAEH,EAAE,CAAC,eAAe,EAAE;QAClB,MAAM,CAAC,SAAS,CAAC,CAAC,UAAU,EAAE,CAAC;IACjC,CAAC,CAAC,CAAC;AACL,CAAC,CAAC,CAAC"}

View File

@@ -1,35 +0,0 @@
var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
return c > 3 && r && Object.defineProperty(target, key, r), r;
};
import { NgModule } from '@angular/core';
import { RouterModule } from '@angular/router';
import { ProvisionsComponent } from './provisions/provisions.component';
import { AdminComponent } from './admin/admin.component';
import { HomeComponent } from './home/home.component';
import { AuthGuard } from './services/auth.guard';
var routes = [
{ path: 'home', component: HomeComponent },
{ path: 'provisions', component: ProvisionsComponent, canActivate: [AuthGuard] },
{ path: 'admin', component: AdminComponent, canActivate: [AuthGuard] },
{ path: '',
redirectTo: '/home',
pathMatch: 'full'
},
{ path: '**', redirectTo: '/home' }
];
var AppRoutingModule = /** @class */ (function () {
function AppRoutingModule() {
}
AppRoutingModule = __decorate([
NgModule({
imports: [RouterModule.forRoot(routes)],
exports: [RouterModule]
})
], AppRoutingModule);
return AppRoutingModule;
}());
export { AppRoutingModule };
//# sourceMappingURL=app-routing.module.js.map

View File

@@ -1 +0,0 @@
{"version":3,"file":"app-routing.module.js","sourceRoot":"","sources":["../../../../src/app/app-routing.module.ts"],"names":[],"mappings":";;;;;;AAAA,OAAO,EAAE,QAAQ,EAAE,MAAM,eAAe,CAAC;AACzC,OAAO,EAAU,YAAY,EAAE,MAAM,iBAAiB,CAAC;AACvD,OAAO,EAAE,mBAAmB,EAAE,MAAQ,mCAAmC,CAAC;AAC1E,OAAO,EAAE,cAAc,EAAE,MAAQ,yBAAyB,CAAC;AAC3D,OAAO,EAAE,aAAa,EAAE,MAAQ,uBAAuB,CAAC;AACxD,OAAO,EAAE,SAAS,EAAE,MAAM,uBAAuB,CAAC;AAElD,IAAM,MAAM,GAAW;IACrB,EAAE,IAAI,EAAE,MAAM,EAAE,SAAS,EAAE,aAAa,EAAC;IACzC,EAAE,IAAI,EAAE,YAAY,EAAE,SAAS,EAAE,mBAAmB,EAAE,WAAW,EAAE,CAAC,SAAS,CAAC,EAAC;IAC/E,EAAE,IAAI,EAAE,OAAO,EAAE,SAAS,EAAE,cAAc,EAAE,WAAW,EAAE,CAAC,SAAS,CAAC,EAAC;IACrE,EAAE,IAAI,EAAE,EAAE;QACR,UAAU,EAAE,OAAO;QACnB,SAAS,EAAE,MAAM;KAClB;IACD,EAAE,IAAI,EAAE,IAAI,EAAE,UAAU,EAAE,OAAO,EAAE;CACpC,CAAC;AAMF;IAAA;IAAgC,CAAC;IAApB,gBAAgB;QAJ5B,QAAQ,CAAC;YACR,OAAO,EAAE,CAAC,YAAY,CAAC,OAAO,CAAC,MAAM,CAAC,CAAC;YACvC,OAAO,EAAE,CAAC,YAAY,CAAC;SACxB,CAAC;OACW,gBAAgB,CAAI;IAAD,uBAAC;CAAA,AAAjC,IAAiC;SAApB,gBAAgB"}

View File

@@ -1,26 +0,0 @@
var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
return c > 3 && r && Object.defineProperty(target, key, r), r;
};
var __metadata = (this && this.__metadata) || function (k, v) {
if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);
};
import { Component } from '@angular/core';
var AppComponent = /** @class */ (function () {
function AppComponent() {
this.title = 'qmi-cloud';
}
AppComponent = __decorate([
Component({
selector: 'app-root',
templateUrl: './app.component.html',
styleUrls: ['./app.component.scss']
}),
__metadata("design:paramtypes", [])
], AppComponent);
return AppComponent;
}());
export { AppComponent };
//# sourceMappingURL=app.component.js.map

View File

@@ -1 +0,0 @@
{"version":3,"file":"app.component.js","sourceRoot":"","sources":["../../../../src/app/app.component.ts"],"names":[],"mappings":";;;;;;;;;AAAA,OAAO,EAAE,SAAS,EAAE,MAAM,eAAe,CAAC;AAQ1C;IAEE;QADA,UAAK,GAAG,WAAW,CAAC;IAGpB,CAAC;IAJU,YAAY;QANxB,SAAS,CAAC;YACT,QAAQ,EAAE,UAAU;YACpB,WAAW,EAAE,sBAAsB;YACnC,SAAS,EAAE,CAAC,sBAAsB,CAAC;SACpC,CAAC;;OAEW,YAAY,CAKxB;IAAD,mBAAC;CAAA,AALD,IAKC;SALY,YAAY"}

View File

@@ -1,32 +0,0 @@
import { TestBed, async } from '@angular/core/testing';
import { RouterTestingModule } from '@angular/router/testing';
import { AppComponent } from './app.component';
describe('AppComponent', function () {
beforeEach(async(function () {
TestBed.configureTestingModule({
imports: [
RouterTestingModule
],
declarations: [
AppComponent
],
}).compileComponents();
}));
it('should create the app', function () {
var fixture = TestBed.createComponent(AppComponent);
var app = fixture.debugElement.componentInstance;
expect(app).toBeTruthy();
});
it("should have as title 'qmi-cloud'", function () {
var fixture = TestBed.createComponent(AppComponent);
var app = fixture.debugElement.componentInstance;
expect(app.title).toEqual('qmi-cloud');
});
it('should render title in a h1 tag', function () {
var fixture = TestBed.createComponent(AppComponent);
fixture.detectChanges();
var compiled = fixture.debugElement.nativeElement;
expect(compiled.querySelector('h1').textContent).toContain('Welcome to qmi-cloud!');
});
});
//# sourceMappingURL=app.component.spec.js.map

View File

@@ -1 +0,0 @@
{"version":3,"file":"app.component.spec.js","sourceRoot":"","sources":["../../../../src/app/app.component.spec.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,EAAE,KAAK,EAAE,MAAM,uBAAuB,CAAC;AACvD,OAAO,EAAE,mBAAmB,EAAE,MAAM,yBAAyB,CAAC;AAC9D,OAAO,EAAE,YAAY,EAAE,MAAM,iBAAiB,CAAC;AAE/C,QAAQ,CAAC,cAAc,EAAE;IACvB,UAAU,CAAC,KAAK,CAAC;QACf,OAAO,CAAC,sBAAsB,CAAC;YAC7B,OAAO,EAAE;gBACP,mBAAmB;aACpB;YACD,YAAY,EAAE;gBACZ,YAAY;aACb;SACF,CAAC,CAAC,iBAAiB,EAAE,CAAC;IACzB,CAAC,CAAC,CAAC,CAAC;IAEJ,EAAE,CAAC,uBAAuB,EAAE;QAC1B,IAAM,OAAO,GAAG,OAAO,CAAC,eAAe,CAAC,YAAY,CAAC,CAAC;QACtD,IAAM,GAAG,GAAG,OAAO,CAAC,YAAY,CAAC,iBAAiB,CAAC;QACnD,MAAM,CAAC,GAAG,CAAC,CAAC,UAAU,EAAE,CAAC;IAC3B,CAAC,CAAC,CAAC;IAEH,EAAE,CAAC,kCAAkC,EAAE;QACrC,IAAM,OAAO,GAAG,OAAO,CAAC,eAAe,CAAC,YAAY,CAAC,CAAC;QACtD,IAAM,GAAG,GAAG,OAAO,CAAC,YAAY,CAAC,iBAAiB,CAAC;QACnD,MAAM,CAAC,GAAG,CAAC,KAAK,CAAC,CAAC,OAAO,CAAC,WAAW,CAAC,CAAC;IACzC,CAAC,CAAC,CAAC;IAEH,EAAE,CAAC,iCAAiC,EAAE;QACpC,IAAM,OAAO,GAAG,OAAO,CAAC,eAAe,CAAC,YAAY,CAAC,CAAC;QACtD,OAAO,CAAC,aAAa,EAAE,CAAC;QACxB,IAAM,QAAQ,GAAG,OAAO,CAAC,YAAY,CAAC,aAAa,CAAC;QACpD,MAAM,CAAC,QAAQ,CAAC,aAAa,CAAC,IAAI,CAAC,CAAC,WAAW,CAAC,CAAC,SAAS,CAAC,uBAAuB,CAAC,CAAC;IACtF,CAAC,CAAC,CAAC;AACL,CAAC,CAAC,CAAC"}

View File

@@ -1,50 +0,0 @@
var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
return c > 3 && r && Object.defineProperty(target, key, r), r;
};
import { BrowserModule } from '@angular/platform-browser';
import { NgModule } from '@angular/core';
import { AppRoutingModule } from './app-routing.module';
import { AppComponent } from './app.component';
import { UiModule } from './ui/ui.module';
import { HomeComponent } from './home/home.component';
import { ProvisionsComponent } from './provisions/provisions.component';
import { AuthGuard } from './services/auth.guard';
import { ProvisionsService } from './services/provisions.service';
import { ScenariosService } from './services/scenarios.service';
import { UsersService } from './services/users.service';
import { HttpClientModule } from '@angular/common/http';
import { LogsComponent } from './logs/logs.component';
import { ScenariosComponent } from './scenarios/scenarios.component';
import { AdminComponent } from './admin/admin.component';
import { PopoverconfirmComponent } from './popoverconfirm/popoverconfirm.component';
var AppModule = /** @class */ (function () {
function AppModule() {
}
AppModule = __decorate([
NgModule({
declarations: [
AppComponent,
HomeComponent,
ProvisionsComponent,
LogsComponent,
ScenariosComponent,
AdminComponent,
PopoverconfirmComponent
],
imports: [
BrowserModule,
AppRoutingModule,
UiModule,
HttpClientModule
],
providers: [ProvisionsService, ScenariosService, UsersService, AuthGuard],
bootstrap: [AppComponent]
})
], AppModule);
return AppModule;
}());
export { AppModule };
//# sourceMappingURL=app.module.js.map

View File

@@ -1 +0,0 @@
{"version":3,"file":"app.module.js","sourceRoot":"","sources":["../../../../src/app/app.module.ts"],"names":[],"mappings":";;;;;;AAAA,OAAO,EAAE,aAAa,EAAE,MAAM,2BAA2B,CAAC;AAC1D,OAAO,EAAE,QAAQ,EAAE,MAAM,eAAe,CAAC;AAEzC,OAAO,EAAE,gBAAgB,EAAE,MAAM,sBAAsB,CAAC;AACxD,OAAO,EAAE,YAAY,EAAE,MAAM,iBAAiB,CAAC;AAC/C,OAAO,EAAE,QAAQ,EAAE,MAAM,gBAAgB,CAAC;AAC1C,OAAO,EAAE,aAAa,EAAE,MAAM,uBAAuB,CAAC;AACtD,OAAO,EAAE,mBAAmB,EAAE,MAAM,mCAAmC,CAAC;AACxE,OAAO,EAAE,SAAS,EAAE,MAAM,uBAAuB,CAAC;AAClD,OAAO,EAAE,iBAAiB,EAAE,MAAM,+BAA+B,CAAC;AAClE,OAAO,EAAE,gBAAgB,EAAE,MAAM,8BAA8B,CAAC;AAChE,OAAO,EAAE,YAAY,EAAE,MAAM,0BAA0B,CAAC;AAGxD,OAAO,EAAE,gBAAgB,EAAE,MAAM,sBAAsB,CAAC;AACxD,OAAO,EAAE,aAAa,EAAE,MAAM,uBAAuB,CAAC;AACtD,OAAO,EAAE,kBAAkB,EAAE,MAAM,iCAAiC,CAAC;AACrE,OAAO,EAAE,cAAc,EAAE,MAAM,yBAAyB,CAAC;AACzD,OAAO,EAAE,uBAAuB,EAAE,MAAM,2CAA2C,CAAC;AAqBpF;IAAA;IAAyB,CAAC;IAAb,SAAS;QAnBrB,QAAQ,CAAC;YACR,YAAY,EAAE;gBACZ,YAAY;gBACZ,aAAa;gBACb,mBAAmB;gBACnB,aAAa;gBACb,kBAAkB;gBAClB,cAAc;gBACd,uBAAuB;aACxB;YACD,OAAO,EAAE;gBACP,aAAa;gBACb,gBAAgB;gBAChB,QAAQ;gBACR,gBAAgB;aACjB;YACD,SAAS,EAAE,CAAC,iBAAiB,EAAE,gBAAgB,EAAE,YAAY,EAAE,SAAS,CAAC;YACzE,SAAS,EAAE,CAAC,YAAY,CAAC;SAC1B,CAAC;OACW,SAAS,CAAI;IAAD,gBAAC;CAAA,AAA1B,IAA0B;SAAb,SAAS"}

View File

@@ -1,38 +0,0 @@
var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
return c > 3 && r && Object.defineProperty(target, key, r), r;
};
var __metadata = (this && this.__metadata) || function (k, v) {
if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);
};
import { Component } from '@angular/core';
import { AuthGuard } from '../services/auth.guard';
var HomeComponent = /** @class */ (function () {
function HomeComponent(_auth) {
var _this = this;
this._auth = _auth;
this.subs = this._auth.getUserInfo().subscribe(function (value) {
_this.user = value;
console.log("USER", _this.user);
});
}
HomeComponent.prototype.ngOnInit = function () {
};
HomeComponent.prototype.ngOnDestroy = function () {
this.subs.unsubscribe();
};
HomeComponent = __decorate([
Component({
selector: 'app-home',
templateUrl: './home.component.html',
styleUrls: ['./home.component.scss'],
providers: []
}),
__metadata("design:paramtypes", [AuthGuard])
], HomeComponent);
return HomeComponent;
}());
export { HomeComponent };
//# sourceMappingURL=home.component.js.map

View File

@@ -1 +0,0 @@
{"version":3,"file":"home.component.js","sourceRoot":"","sources":["../../../../../src/app/home/home.component.ts"],"names":[],"mappings":";;;;;;;;;AAAA,OAAO,EAAE,SAAS,EAAU,MAAM,eAAe,CAAC;AAElD,OAAO,EAAE,SAAS,EAAE,MAAM,wBAAwB,CAAC;AASnD;IAKE,uBAAqB,KAAgB;QAArC,iBAKC;QALoB,UAAK,GAAL,KAAK,CAAW;QACnC,IAAI,CAAC,IAAI,GAAG,IAAI,CAAC,KAAK,CAAC,WAAW,EAAE,CAAC,SAAS,CAAE,UAAA,KAAK;YACnD,KAAI,CAAC,IAAI,GAAG,KAAK,CAAC;YAClB,OAAO,CAAC,GAAG,CAAC,MAAM,EAAE,KAAI,CAAC,IAAI,CAAC,CAAC;QACjC,CAAC,CAAC,CAAC;IACL,CAAC;IAED,gCAAQ,GAAR;IAEA,CAAC;IAED,mCAAW,GAAX;QACE,IAAI,CAAC,IAAI,CAAC,WAAW,EAAE,CAAC;IAC1B,CAAC;IAlBU,aAAa;QANzB,SAAS,CAAC;YACT,QAAQ,EAAE,UAAU;YACpB,WAAW,EAAE,uBAAuB;YACpC,SAAS,EAAE,CAAC,uBAAuB,CAAC;YACpC,SAAS,EAAE,EAAE;SACd,CAAC;yCAM4B,SAAS;OAL1B,aAAa,CAoBzB;IAAD,oBAAC;CAAA,AApBD,IAoBC;SApBY,aAAa"}

View File

@@ -1,21 +0,0 @@
import { async, TestBed } from '@angular/core/testing';
import { HomeComponent } from './home.component';
describe('ProvisionsComponent', function () {
var component;
var fixture;
beforeEach(async(function () {
TestBed.configureTestingModule({
declarations: [HomeComponent]
})
.compileComponents();
}));
beforeEach(function () {
fixture = TestBed.createComponent(HomeComponent);
component = fixture.componentInstance;
fixture.detectChanges();
});
it('should create', function () {
expect(component).toBeTruthy();
});
});
//# sourceMappingURL=home.component.spec.js.map

View File

@@ -1 +0,0 @@
{"version":3,"file":"home.component.spec.js","sourceRoot":"","sources":["../../../../../src/app/home/home.component.spec.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,KAAK,EAAoB,OAAO,EAAE,MAAM,uBAAuB,CAAC;AAEzE,OAAO,EAAE,aAAa,EAAE,MAAM,kBAAkB,CAAC;AAEjD,QAAQ,CAAC,qBAAqB,EAAE;IAC9B,IAAI,SAAwB,CAAC;IAC7B,IAAI,OAAwC,CAAC;IAE7C,UAAU,CAAC,KAAK,CAAC;QACf,OAAO,CAAC,sBAAsB,CAAC;YAC7B,YAAY,EAAE,CAAE,aAAa,CAAE;SAChC,CAAC;aACD,iBAAiB,EAAE,CAAC;IACvB,CAAC,CAAC,CAAC,CAAC;IAEJ,UAAU,CAAC;QACT,OAAO,GAAG,OAAO,CAAC,eAAe,CAAC,aAAa,CAAC,CAAC;QACjD,SAAS,GAAG,OAAO,CAAC,iBAAiB,CAAC;QACtC,OAAO,CAAC,aAAa,EAAE,CAAC;IAC1B,CAAC,CAAC,CAAC;IAEH,EAAE,CAAC,eAAe,EAAE;QAClB,MAAM,CAAC,SAAS,CAAC,CAAC,UAAU,EAAE,CAAC;IACjC,CAAC,CAAC,CAAC;AACL,CAAC,CAAC,CAAC"}

View File

@@ -1,85 +0,0 @@
var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
return c > 3 && r && Object.defineProperty(target, key, r), r;
};
var __metadata = (this && this.__metadata) || function (k, v) {
if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);
};
import { Component, Input, Output, EventEmitter, ViewChild, HostListener } from '@angular/core';
import { ProvisionsService } from '../services/provisions.service';
import { timer } from 'rxjs';
import { switchMap } from 'rxjs/operators';
var LogsComponent = /** @class */ (function () {
function LogsComponent(_provisionsService) {
this._provisionsService = _provisionsService;
this.content = null;
this.onClose = new EventEmitter();
}
LogsComponent.prototype.onClick = function (targetElement) {
var clickedInside = this.insideElement.nativeElement.contains(targetElement);
if (!clickedInside) {
console.log('outside clicked');
this.onClose.emit(false);
}
};
LogsComponent.prototype.refresh = function () {
var _this = this;
if (!this.content) {
if (this.type === "provision") {
this.sub = timer(0, 5000).pipe(switchMap(function () { return _this._provisionsService.getProvisionLogs(_this.selectedprov._id); })).subscribe(function (content) {
_this.content = content;
});
}
else if (this.type === "destroy") {
this.sub = timer(0, 5000).pipe(switchMap(function () { return _this._provisionsService.getDestroyLogs(_this.selectedprov.destroyId); })).subscribe(function (content) {
_this.content = content;
});
}
}
};
LogsComponent.prototype.ngOnInit = function () {
this.refresh();
};
LogsComponent.prototype.ngOnDestroy = function () {
this.sub.unsubscribe();
};
LogsComponent.prototype.close = function () {
this.sub.unsubscribe();
this.onClose.emit(false);
};
__decorate([
ViewChild("insideElement"),
__metadata("design:type", Object)
], LogsComponent.prototype, "insideElement", void 0);
__decorate([
HostListener('document:click', ['$event.target']),
__metadata("design:type", Function),
__metadata("design:paramtypes", [Object]),
__metadata("design:returntype", void 0)
], LogsComponent.prototype, "onClick", null);
__decorate([
Input(),
__metadata("design:type", Object)
], LogsComponent.prototype, "selectedprov", void 0);
__decorate([
Input(),
__metadata("design:type", Object)
], LogsComponent.prototype, "type", void 0);
__decorate([
Output(),
__metadata("design:type", Object)
], LogsComponent.prototype, "onClose", void 0);
LogsComponent = __decorate([
Component({
selector: 'app-logs',
templateUrl: './logs.component.html',
styleUrls: ['./logs.component.scss']
}),
__metadata("design:paramtypes", [ProvisionsService])
], LogsComponent);
return LogsComponent;
}());
export { LogsComponent };
//# sourceMappingURL=logs.component.js.map

View File

@@ -1 +0,0 @@
{"version":3,"file":"logs.component.js","sourceRoot":"","sources":["../../../../../src/app/logs/logs.component.ts"],"names":[],"mappings":";;;;;;;;;AAAA,OAAO,EAAE,SAAS,EAAU,KAAK,EAAE,MAAM,EAAE,YAAY,EAAE,SAAS,EAAE,YAAY,EAAE,MAAM,eAAe,CAAC;AACxG,OAAO,EAAE,iBAAiB,EAAE,MAAM,gCAAgC,CAAC;AACnE,OAAO,EAAgB,KAAK,EAAC,MAAM,MAAM,CAAC;AAC1C,OAAO,EAAE,SAAS,EAAE,MAAM,gBAAgB,CAAC;AAO3C;IAgBE,uBAAoB,kBAAqC;QAArC,uBAAkB,GAAlB,kBAAkB,CAAmB;QAHzD,YAAO,GAAW,IAAI,CAAC;QAOb,YAAO,GAAG,IAAI,YAAY,EAAE,CAAC;IAJsB,CAAC;IAXvD,+BAAO,GAAd,UAAe,aAAa;QAC1B,IAAM,aAAa,GAAG,IAAI,CAAC,aAAa,CAAC,aAAa,CAAC,QAAQ,CAAC,aAAa,CAAC,CAAC;QAC/E,IAAI,CAAC,aAAa,EAAE;YAClB,OAAO,CAAC,GAAG,CAAC,iBAAiB,CAAC,CAAC;YAC/B,IAAI,CAAC,OAAO,CAAC,IAAI,CAAC,KAAK,CAAC,CAAC;SAC1B;IACH,CAAC;IAWD,+BAAO,GAAP;QAAA,iBAYC;QAXC,IAAI,CAAC,IAAI,CAAC,OAAO,EAAC;YAChB,IAAK,IAAI,CAAC,IAAI,KAAK,WAAW,EAAG;gBAC/B,IAAI,CAAC,GAAG,GAAG,KAAK,CAAC,CAAC,EAAE,IAAI,CAAC,CAAC,IAAI,CAAE,SAAS,CAAC,cAAM,OAAA,KAAI,CAAC,kBAAkB,CAAC,gBAAgB,CAAC,KAAI,CAAC,YAAY,CAAC,GAAG,CAAC,EAA/D,CAA+D,CAAE,CAAE,CAAC,SAAS,CAAC,UAAA,OAAO;oBACnI,KAAI,CAAC,OAAO,GAAG,OAAO,CAAC;gBACzB,CAAC,CAAC,CAAC;aACJ;iBAAM,IAAK,IAAI,CAAC,IAAI,KAAK,SAAS,EAAG;gBACpC,IAAI,CAAC,GAAG,GAAG,KAAK,CAAC,CAAC,EAAE,IAAI,CAAC,CAAC,IAAI,CAAE,SAAS,CAAC,cAAM,OAAA,KAAI,CAAC,kBAAkB,CAAC,cAAc,CAAC,KAAI,CAAC,YAAY,CAAC,SAAS,CAAC,EAAnE,CAAmE,CAAE,CAAE,CAAC,SAAS,CAAC,UAAA,OAAO;oBACvI,KAAI,CAAC,OAAO,GAAG,OAAO,CAAC;gBACzB,CAAC,CAAC,CAAA;aACH;SACF;IACH,CAAC;IACD,gCAAQ,GAAR;QACE,IAAI,CAAC,OAAO,EAAE,CAAC;IACjB,CAAC;IAED,mCAAW,GAAX;QACE,IAAI,CAAC,GAAG,CAAC,WAAW,EAAE,CAAC;IACzB,CAAC;IAED,6BAAK,GAAL;QACE,IAAI,CAAC,GAAG,CAAC,WAAW,EAAE,CAAC;QACvB,IAAI,CAAC,OAAO,CAAC,IAAI,CAAC,KAAK,CAAC,CAAC;IAC3B,CAAC;IA5C2B;QAA3B,SAAS,CAAC,eAAe,CAAC;;wDAAe;IAG1C;QAFC,YAAY,CAAC,gBAAgB,EAAE,CAAC,eAAe,CAAC,CAAC;;;;gDAQjD;IAOQ;QAAR,KAAK,EAAE;;uDAAc;IACb;QAAR,KAAK,EAAE;;+CAAM;IACJ;QAAT,MAAM,EAAE;;kDAA8B;IApB5B,aAAa;QALzB,SAAS,CAAC;YACT,QAAQ,EAAE,UAAU;YACpB,WAAW,EAAE,uBAAuB;YACpC,SAAS,EAAE,CAAC,uBAAuB,CAAC;SACrC,CAAC;yCAiBwC,iBAAiB;OAhB9C,aAAa,CAgDzB;IAAD,oBAAC;CAAA,AAhDD,IAgDC;SAhDY,aAAa"}

View File

@@ -1,21 +0,0 @@
import { async, TestBed } from '@angular/core/testing';
import { LogsComponent } from './logs.component';
describe('LogsComponent', function () {
var component;
var fixture;
beforeEach(async(function () {
TestBed.configureTestingModule({
declarations: [LogsComponent]
})
.compileComponents();
}));
beforeEach(function () {
fixture = TestBed.createComponent(LogsComponent);
component = fixture.componentInstance;
fixture.detectChanges();
});
it('should create', function () {
expect(component).toBeTruthy();
});
});
//# sourceMappingURL=logs.component.spec.js.map

View File

@@ -1 +0,0 @@
{"version":3,"file":"logs.component.spec.js","sourceRoot":"","sources":["../../../../../src/app/logs/logs.component.spec.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,KAAK,EAAoB,OAAO,EAAE,MAAM,uBAAuB,CAAC;AAEzE,OAAO,EAAE,aAAa,EAAE,MAAM,kBAAkB,CAAC;AAEjD,QAAQ,CAAC,eAAe,EAAE;IACxB,IAAI,SAAwB,CAAC;IAC7B,IAAI,OAAwC,CAAC;IAE7C,UAAU,CAAC,KAAK,CAAC;QACf,OAAO,CAAC,sBAAsB,CAAC;YAC7B,YAAY,EAAE,CAAE,aAAa,CAAE;SAChC,CAAC;aACD,iBAAiB,EAAE,CAAC;IACvB,CAAC,CAAC,CAAC,CAAC;IAEJ,UAAU,CAAC;QACT,OAAO,GAAG,OAAO,CAAC,eAAe,CAAC,aAAa,CAAC,CAAC;QACjD,SAAS,GAAG,OAAO,CAAC,iBAAiB,CAAC;QACtC,OAAO,CAAC,aAAa,EAAE,CAAC;IAC1B,CAAC,CAAC,CAAC;IAEH,EAAE,CAAC,eAAe,EAAE;QAClB,MAAM,CAAC,SAAS,CAAC,CAAC,UAAU,EAAE,CAAC;IACjC,CAAC,CAAC,CAAC;AACL,CAAC,CAAC,CAAC"}

View File

@@ -1,73 +0,0 @@
var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
return c > 3 && r && Object.defineProperty(target, key, r), r;
};
var __metadata = (this && this.__metadata) || function (k, v) {
if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);
};
import { Component, ElementRef } from '@angular/core';
import * as leonardoui from 'leonardo-ui';
var PopoverconfirmComponent = /** @class */ (function () {
function PopoverconfirmComponent(myElement) {
this.element = myElement;
}
PopoverconfirmComponent.prototype.open = function () {
console.log("myElement", this.element);
console.log("open popover", leonardoui);
/*this.popover = leonardoui.popover( {
content: this.element[0],
closeOnEscape: true,
dock: "bottom",
alignTo: this.element
} );
console.log("this.popover", this.popover);
}
ngOnInit() {
}
ok(): void {
this.popover.close();
}
cancel(): void {
this.popover.close();
}
}
};
PopoverconfirmComponent = __decorate([
Component({
selector: 'app-popoverconfirm',
templateUrl: './popoverconfirm.component.html',
styleUrls: ['./popoverconfirm.component.scss']
}),
__metadata("design:paramtypes", [ElementRef])
], PopoverconfirmComponent);
return PopoverconfirmComponent;
}());
export { PopoverconfirmComponent };
/*this.popover = leonardoui.popover( {
content: this.element[0],
closeOnEscape: true,
dock: "bottom",
alignTo: this.element
} );
console.log("this.popover", this.popover);
}
ngOnInit() {
}
ok(): void {
this.popover.close();
}
cancel(): void {
this.popover.close();
}
}
//# sourceMappingURL=popoverconfirm.component.js.map

View File

@@ -1 +0,0 @@
{"version":3,"file":"popoverconfirm.component.js","sourceRoot":"","sources":["../../../../../src/app/popoverconfirm/popoverconfirm.component.ts"],"names":[],"mappings":";;;;;;;;;AAAA,OAAO,EAAE,SAAS,EAAU,UAAU,EAAE,MAAM,eAAe,CAAC;AAC9D,OAAO,KAAK,UAAU,MAAM,aAAa,CAAC;AAO1C;IAKE,iCAAa,SAAqB;QAChC,IAAI,CAAC,OAAO,GAAG,SAAS,CAAC;IAC3B,CAAC;IAED,sCAAI,GAAJ;QACE,OAAO,CAAC,GAAG,CAAC,WAAW,EAAE,IAAI,CAAC,OAAO,CAAC,CAAC;QACvC,OAAO,CAAC,GAAG,CAAC,cAAc,EAAE,UAAU,CAAC,CAAC;QACxC;;;;;;;;;;;;;;;;;;;;QAoBJ;IAAA,CAAC,AArB2C;IAX/B,uBAAuB;QALnC,SAAS,CAAC;YACT,QAAQ,EAAE,oBAAoB;YAC9B,WAAW,EAAE,iCAAiC;YAC9C,SAAS,EAAE,CAAC,iCAAiC,CAAC;SAC/C,CAAC;yCAMwB,UAAU;OALvB,uBAAuB,CAWQ;IAqB5C,8BAAC;CArB2C,AAX5C,IAW4C;SAX/B,uBAAuB;AAYhC;;;;;;;;;;;;;;;;;;;;AAoBJ"}

View File

@@ -1,21 +0,0 @@
import { async, TestBed } from '@angular/core/testing';
import { PopoverconfirmComponent } from './popoverconfirm.component';
describe('PopoverconfirmComponent', function () {
var component;
var fixture;
beforeEach(async(function () {
TestBed.configureTestingModule({
declarations: [PopoverconfirmComponent]
})
.compileComponents();
}));
beforeEach(function () {
fixture = TestBed.createComponent(PopoverconfirmComponent);
component = fixture.componentInstance;
fixture.detectChanges();
});
it('should create', function () {
expect(component).toBeTruthy();
});
});
//# sourceMappingURL=popoverconfirm.component.spec.js.map

View File

@@ -1 +0,0 @@
{"version":3,"file":"popoverconfirm.component.spec.js","sourceRoot":"","sources":["../../../../../src/app/popoverconfirm/popoverconfirm.component.spec.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,KAAK,EAAoB,OAAO,EAAE,MAAM,uBAAuB,CAAC;AAEzE,OAAO,EAAE,uBAAuB,EAAE,MAAM,4BAA4B,CAAC;AAErE,QAAQ,CAAC,yBAAyB,EAAE;IAClC,IAAI,SAAkC,CAAC;IACvC,IAAI,OAAkD,CAAC;IAEvD,UAAU,CAAC,KAAK,CAAC;QACf,OAAO,CAAC,sBAAsB,CAAC;YAC7B,YAAY,EAAE,CAAE,uBAAuB,CAAE;SAC1C,CAAC;aACD,iBAAiB,EAAE,CAAC;IACvB,CAAC,CAAC,CAAC,CAAC;IAEJ,UAAU,CAAC;QACT,OAAO,GAAG,OAAO,CAAC,eAAe,CAAC,uBAAuB,CAAC,CAAC;QAC3D,SAAS,GAAG,OAAO,CAAC,iBAAiB,CAAC;QACtC,OAAO,CAAC,aAAa,EAAE,CAAC;IAC1B,CAAC,CAAC,CAAC;IAEH,EAAE,CAAC,eAAe,EAAE;QAClB,MAAM,CAAC,SAAS,CAAC,CAAC,UAAU,EAAE,CAAC;IACjC,CAAC,CAAC,CAAC;AACL,CAAC,CAAC,CAAC"}

View File

@@ -1,92 +0,0 @@
var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
return c > 3 && r && Object.defineProperty(target, key, r), r;
};
var __metadata = (this && this.__metadata) || function (k, v) {
if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);
};
import { Component } from '@angular/core';
import { ProvisionsService } from '../services/provisions.service';
import { timer } from 'rxjs';
import { switchMap } from 'rxjs/operators';
import { AuthGuard } from '../services/auth.guard';
var ProvisionsComponent = /** @class */ (function () {
function ProvisionsComponent(_provisionsService, _auth) {
var _this = this;
this._provisionsService = _provisionsService;
this._auth = _auth;
this.logShow = false;
this.logstype = 'provision';
this.selectedprov = null;
this._auth.getUserInfo().subscribe(function (value) {
_this._userId = value._id;
});
}
ProvisionsComponent.prototype._refresh = function () {
var _this = this;
this.instantSubs = this._provisionsService.getCombinedProvisions(this._userId).subscribe(function (pair) {
_this._provisionsService.composePair(pair);
_this.destroys = pair[1];
_this.provisions = pair[0];
_this.instantSubs.unsubscribe();
});
};
ProvisionsComponent.prototype.ngOnInit = function () {
var _this = this;
this.subscription = timer(0, 5000).pipe(switchMap(function () { return _this._provisionsService.getCombinedProvisions(_this._userId); })).subscribe(function (pair) {
_this._provisionsService.composePair(pair);
_this.destroys = pair[1];
_this.provisions = pair[0];
});
};
ProvisionsComponent.prototype.ngOnDestroy = function () {
this.subscription.unsubscribe();
if (this.instantSubs) {
this.instantSubs.unsubscribe();
}
};
ProvisionsComponent.prototype.del = function (provision) {
var _this = this;
this._provisionsService.delProvision(provision._id.toString(), this._userId).subscribe(function (res) {
console.log("Done!", res);
_this._refresh();
});
};
ProvisionsComponent.prototype.destroy = function (provision) {
var _this = this;
this._provisionsService.newDestroy({ "id": provision._id.toString() }, this._userId).subscribe(function (res) {
console.log("Done!", res);
_this._refresh();
});
};
ProvisionsComponent.prototype.showLogs = function ($event, provision, type) {
$event.preventDefault();
$event.stopPropagation();
this.logstype = type;
this.logShow = false;
this.selectedprov = provision;
this.logShow = true;
};
ProvisionsComponent.prototype.onLogsClose = function ($event) {
this.selectedprov = null;
this.logShow = false;
};
ProvisionsComponent.prototype.onStartProvision = function ($event) {
console.log("onStartProvision");
this._refresh();
};
ProvisionsComponent = __decorate([
Component({
selector: 'app-provisions',
templateUrl: './provisions.component.html',
styleUrls: ['./provisions.component.scss'],
providers: [ProvisionsService]
}),
__metadata("design:paramtypes", [ProvisionsService, AuthGuard])
], ProvisionsComponent);
return ProvisionsComponent;
}());
export { ProvisionsComponent };
//# sourceMappingURL=provisions.component.js.map

View File

@@ -1 +0,0 @@
{"version":3,"file":"provisions.component.js","sourceRoot":"","sources":["../../../../../src/app/provisions/provisions.component.ts"],"names":[],"mappings":"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"}

View File

@@ -1,21 +0,0 @@
import { async, TestBed } from '@angular/core/testing';
import { ProvisionsComponent } from './provisions.component';
describe('ProvisionsComponent', function () {
var component;
var fixture;
beforeEach(async(function () {
TestBed.configureTestingModule({
declarations: [ProvisionsComponent]
})
.compileComponents();
}));
beforeEach(function () {
fixture = TestBed.createComponent(ProvisionsComponent);
component = fixture.componentInstance;
fixture.detectChanges();
});
it('should create', function () {
expect(component).toBeTruthy();
});
});
//# sourceMappingURL=provisions.component.spec.js.map

View File

@@ -1 +0,0 @@
{"version":3,"file":"provisions.component.spec.js","sourceRoot":"","sources":["../../../../../src/app/provisions/provisions.component.spec.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,KAAK,EAAoB,OAAO,EAAE,MAAM,uBAAuB,CAAC;AAEzE,OAAO,EAAE,mBAAmB,EAAE,MAAM,wBAAwB,CAAC;AAE7D,QAAQ,CAAC,qBAAqB,EAAE;IAC9B,IAAI,SAA8B,CAAC;IACnC,IAAI,OAA8C,CAAC;IAEnD,UAAU,CAAC,KAAK,CAAC;QACf,OAAO,CAAC,sBAAsB,CAAC;YAC7B,YAAY,EAAE,CAAE,mBAAmB,CAAE;SACtC,CAAC;aACD,iBAAiB,EAAE,CAAC;IACvB,CAAC,CAAC,CAAC,CAAC;IAEJ,UAAU,CAAC;QACT,OAAO,GAAG,OAAO,CAAC,eAAe,CAAC,mBAAmB,CAAC,CAAC;QACvD,SAAS,GAAG,OAAO,CAAC,iBAAiB,CAAC;QACtC,OAAO,CAAC,aAAa,EAAE,CAAC;IAC1B,CAAC,CAAC,CAAC;IAEH,EAAE,CAAC,eAAe,EAAE;QAClB,MAAM,CAAC,SAAS,CAAC,CAAC,UAAU,EAAE,CAAC;IACjC,CAAC,CAAC,CAAC;AACL,CAAC,CAAC,CAAC"}

View File

@@ -1,53 +0,0 @@
var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
return c > 3 && r && Object.defineProperty(target, key, r), r;
};
var __metadata = (this && this.__metadata) || function (k, v) {
if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);
};
import { Component, Output, EventEmitter } from '@angular/core';
import { ProvisionsService } from '../services/provisions.service';
import { ScenariosService } from '../services/scenarios.service';
import { AuthGuard } from '../services/auth.guard';
var ScenariosComponent = /** @class */ (function () {
function ScenariosComponent(_provisionsService, _scenariosService, _auth) {
var _this = this;
this._provisionsService = _provisionsService;
this._scenariosService = _scenariosService;
this._auth = _auth;
this.onStartProvision = new EventEmitter();
this._auth.getUserInfo().subscribe(function (value) {
_this._userId = value._id;
});
}
ScenariosComponent.prototype.ngOnInit = function () {
var _this = this;
this._scenariosService.getScenarios().subscribe(function (res) {
_this.scenarios = res;
});
};
ScenariosComponent.prototype.provision = function (scenario) {
var _this = this;
this._provisionsService.newProvision({ "scenario": scenario.name }, this._userId).subscribe(function (res) {
console.log("Done!", res);
_this.onStartProvision.emit();
});
};
__decorate([
Output(),
__metadata("design:type", Object)
], ScenariosComponent.prototype, "onStartProvision", void 0);
ScenariosComponent = __decorate([
Component({
selector: 'app-scenarios',
templateUrl: './scenarios.component.html',
styleUrls: ['./scenarios.component.scss']
}),
__metadata("design:paramtypes", [ProvisionsService, ScenariosService, AuthGuard])
], ScenariosComponent);
return ScenariosComponent;
}());
export { ScenariosComponent };
//# sourceMappingURL=scenarios.component.js.map

View File

@@ -1 +0,0 @@
{"version":3,"file":"scenarios.component.js","sourceRoot":"","sources":["../../../../../src/app/scenarios/scenarios.component.ts"],"names":[],"mappings":";;;;;;;;;AAAA,OAAO,EAAE,SAAS,EAAE,MAAM,EAAU,YAAY,EAAE,MAAM,eAAe,CAAC;AACxE,OAAO,EAAE,iBAAiB,EAAE,MAAM,gCAAgC,CAAC;AACnE,OAAO,EAAE,gBAAgB,EAAE,MAAM,+BAA+B,CAAC;AACjE,OAAO,EAAE,SAAS,EAAE,MAAM,wBAAwB,CAAC;AAOnD;IAEE,4BAAoB,kBAAqC,EAAU,iBAAmC,EAAU,KAAgB;QAAhI,iBAIC;QAJmB,uBAAkB,GAAlB,kBAAkB,CAAmB;QAAU,sBAAiB,GAAjB,iBAAiB,CAAkB;QAAU,UAAK,GAAL,KAAK,CAAW;QAMtH,qBAAgB,GAAG,IAAI,YAAY,EAAE,CAAC;QAL9C,IAAI,CAAC,KAAK,CAAC,WAAW,EAAE,CAAC,SAAS,CAAE,UAAA,KAAK;YACvC,KAAI,CAAC,OAAO,GAAG,KAAK,CAAC,GAAG,CAAC;QAC3B,CAAC,CAAC,CAAC;IACL,CAAC;IAOD,qCAAQ,GAAR;QAAA,iBAIC;QAHC,IAAI,CAAC,iBAAiB,CAAC,YAAY,EAAE,CAAC,SAAS,CAAE,UAAA,GAAG;YAClD,KAAI,CAAC,SAAS,GAAG,GAAG,CAAC;QACvB,CAAC,CAAC,CAAA;IACJ,CAAC;IAED,sCAAS,GAAT,UAAU,QAAQ;QAAlB,iBAKC;QAJC,IAAI,CAAC,kBAAkB,CAAC,YAAY,CAAC,EAAC,UAAU,EAAE,QAAQ,CAAC,IAAI,EAAC,EAAE,IAAI,CAAC,OAAO,CAAC,CAAC,SAAS,CAAE,UAAA,GAAG;YAC5F,OAAO,CAAC,GAAG,CAAC,OAAO,EAAE,GAAG,CAAC,CAAC;YAC1B,KAAI,CAAC,gBAAgB,CAAC,IAAI,EAAE,CAAC;QAC/B,CAAC,CAAC,CAAA;IACJ,CAAC;IAhBS;QAAT,MAAM,EAAE;;gEAAuC;IARrC,kBAAkB;QAL9B,SAAS,CAAC;YACT,QAAQ,EAAE,eAAe;YACzB,WAAW,EAAE,4BAA4B;YACzC,SAAS,EAAE,CAAC,4BAA4B,CAAC;SAC1C,CAAC;yCAGwC,iBAAiB,EAA6B,gBAAgB,EAAiB,SAAS;OAFrH,kBAAkB,CA0B9B;IAAD,yBAAC;CAAA,AA1BD,IA0BC;SA1BY,kBAAkB"}

View File

@@ -1,21 +0,0 @@
import { async, TestBed } from '@angular/core/testing';
import { ScenariosComponent } from './scenarios.component';
describe('ScenariosComponent', function () {
var component;
var fixture;
beforeEach(async(function () {
TestBed.configureTestingModule({
declarations: [ScenariosComponent]
})
.compileComponents();
}));
beforeEach(function () {
fixture = TestBed.createComponent(ScenariosComponent);
component = fixture.componentInstance;
fixture.detectChanges();
});
it('should create', function () {
expect(component).toBeTruthy();
});
});
//# sourceMappingURL=scenarios.component.spec.js.map

View File

@@ -1 +0,0 @@
{"version":3,"file":"scenarios.component.spec.js","sourceRoot":"","sources":["../../../../../src/app/scenarios/scenarios.component.spec.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,KAAK,EAAoB,OAAO,EAAE,MAAM,uBAAuB,CAAC;AAEzE,OAAO,EAAE,kBAAkB,EAAE,MAAM,uBAAuB,CAAC;AAE3D,QAAQ,CAAC,oBAAoB,EAAE;IAC7B,IAAI,SAA6B,CAAC;IAClC,IAAI,OAA6C,CAAC;IAElD,UAAU,CAAC,KAAK,CAAC;QACf,OAAO,CAAC,sBAAsB,CAAC;YAC7B,YAAY,EAAE,CAAE,kBAAkB,CAAE;SACrC,CAAC;aACD,iBAAiB,EAAE,CAAC;IACvB,CAAC,CAAC,CAAC,CAAC;IAEJ,UAAU,CAAC;QACT,OAAO,GAAG,OAAO,CAAC,eAAe,CAAC,kBAAkB,CAAC,CAAC;QACtD,SAAS,GAAG,OAAO,CAAC,iBAAiB,CAAC;QACtC,OAAO,CAAC,aAAa,EAAE,CAAC;IAC1B,CAAC,CAAC,CAAC;IAEH,EAAE,CAAC,eAAe,EAAE;QAClB,MAAM,CAAC,SAAS,CAAC,CAAC,UAAU,EAAE,CAAC;IACjC,CAAC,CAAC,CAAC;AACL,CAAC,CAAC,CAAC"}

View File

@@ -1,52 +0,0 @@
var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
return c > 3 && r && Object.defineProperty(target, key, r), r;
};
var __metadata = (this && this.__metadata) || function (k, v) {
if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);
};
import { Injectable } from '@angular/core';
import { Router } from '@angular/router';
import { of, BehaviorSubject } from 'rxjs';
import { map, catchError } from 'rxjs/operators';
import { HttpClient } from '@angular/common/http';
var AuthGuard = /** @class */ (function () {
// Inject Router so we can hand off the user to the Login Page
function AuthGuard(httpClient, router) {
var _this = this;
this.httpClient = httpClient;
this.router = router;
this.userInfo = new BehaviorSubject(null);
this.getMe().subscribe(function (value) {
_this.userInfo.next(value);
localStorage.setItem("user", JSON.stringify(value));
});
}
AuthGuard.prototype.canActivate = function (route) {
var _this = this;
return this.getMe().pipe(map(function (res) {
_this.userInfo.next(res);
return true;
}), catchError(function (err) {
_this.userInfo.next(null);
return of(false);
}));
};
AuthGuard.prototype.getMe = function () {
return this.httpClient.get('/api/users/me');
};
AuthGuard.prototype.getUserInfo = function () {
return this.userInfo;
};
AuthGuard = __decorate([
Injectable({
providedIn: 'root'
}),
__metadata("design:paramtypes", [HttpClient, Router])
], AuthGuard);
return AuthGuard;
}());
export { AuthGuard };
//# sourceMappingURL=auth.guard.js.map

View File

@@ -1 +0,0 @@
{"version":3,"file":"auth.guard.js","sourceRoot":"","sources":["../../../../../src/app/services/auth.guard.ts"],"names":[],"mappings":";;;;;;;;;AAAA,OAAO,EAAE,UAAU,EAAE,MAAM,eAAe,CAAC;AAC3C,OAAO,EAA4D,MAAM,EAAE,MAAM,iBAAiB,CAAC;AAEnG,OAAO,EAAE,EAAE,EAAc,eAAe,EAAE,MAAM,MAAM,CAAC;AACvD,OAAO,EAAE,GAAG,EAAE,UAAU,EAAE,MAAM,gBAAgB,CAAC;AACjD,OAAO,EAAE,UAAU,EAAE,MAAM,sBAAsB,CAAC;AAMlD;IAIE,+DAA+D;IAC/D,mBAAoB,UAAsB,EAAU,MAAc;QAAlE,iBAOC;QAPmB,eAAU,GAAV,UAAU,CAAY;QAAU,WAAM,GAAN,MAAM,CAAQ;QAH1D,aAAQ,GAAyB,IAAI,eAAe,CAAC,IAAI,CAAC,CAAC;QAKjE,IAAI,CAAC,KAAK,EAAE,CAAC,SAAS,CAAC,UAAA,KAAK;YAC1B,KAAI,CAAC,QAAQ,CAAC,IAAI,CAAC,KAAK,CAAC,CAAC;YAC1B,YAAY,CAAC,OAAO,CAAC,MAAM,EAAE,IAAI,CAAC,SAAS,CAAC,KAAK,CAAC,CAAC,CAAC;QACtD,CAAC,CAAC,CAAC;IAEL,CAAC;IAED,+BAAW,GAAX,UAAY,KAA6B;QAAzC,iBAWC;QAVC,OAAO,IAAI,CAAC,KAAK,EAAE,CAAC,IAAI,CACtB,GAAG,CAAC,UAAA,GAAG;YACL,KAAI,CAAC,QAAQ,CAAC,IAAI,CAAC,GAAG,CAAC,CAAC;YACxB,OAAO,IAAI,CAAC;QACd,CAAC,CAAC,EACF,UAAU,CAAC,UAAC,GAAG;YACb,KAAI,CAAC,QAAQ,CAAC,IAAI,CAAC,IAAI,CAAC,CAAC;YACzB,OAAO,EAAE,CAAC,KAAK,CAAC,CAAC;QACnB,CAAC,CAAC,CACH,CAAC;IACJ,CAAC;IAED,yBAAK,GAAL;QACE,OAAO,IAAI,CAAC,UAAU,CAAC,GAAG,CAAC,eAAe,CAAC,CAAC;IAC9C,CAAC;IAED,+BAAW,GAAX;QACE,OAAO,IAAI,CAAC,QAAQ,CAAC;IACvB,CAAC;IAjCU,SAAS;QAHrB,UAAU,CAAC;YACV,UAAU,EAAE,MAAM;SACnB,CAAC;yCAMgC,UAAU,EAAkB,MAAM;OALvD,SAAS,CAkCrB;IAAD,gBAAC;CAAA,AAlCD,IAkCC;SAlCY,SAAS"}

View File

@@ -1,13 +0,0 @@
import { TestBed, inject } from '@angular/core/testing';
import { AuthGuard } from './auth.guard';
describe('AuthGuard', function () {
beforeEach(function () {
TestBed.configureTestingModule({
providers: [AuthGuard]
});
});
it('should ...', inject([AuthGuard], function (guard) {
expect(guard).toBeTruthy();
}));
});
//# sourceMappingURL=auth.guard.spec.js.map

View File

@@ -1 +0,0 @@
{"version":3,"file":"auth.guard.spec.js","sourceRoot":"","sources":["../../../../../src/app/services/auth.guard.spec.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,EAAS,MAAM,EAAE,MAAM,uBAAuB,CAAC;AAE/D,OAAO,EAAE,SAAS,EAAE,MAAM,cAAc,CAAC;AAEzC,QAAQ,CAAC,WAAW,EAAE;IACpB,UAAU,CAAC;QACT,OAAO,CAAC,sBAAsB,CAAC;YAC7B,SAAS,EAAE,CAAC,SAAS,CAAC;SACvB,CAAC,CAAC;IACL,CAAC,CAAC,CAAC;IAEH,EAAE,CAAC,YAAY,EAAE,MAAM,CAAC,CAAC,SAAS,CAAC,EAAE,UAAC,KAAgB;QACpD,MAAM,CAAC,KAAK,CAAC,CAAC,UAAU,EAAE,CAAC;IAC7B,CAAC,CAAC,CAAC,CAAC;AACN,CAAC,CAAC,CAAC"}

View File

@@ -1,72 +0,0 @@
var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
return c > 3 && r && Object.defineProperty(target, key, r), r;
};
var __metadata = (this && this.__metadata) || function (k, v) {
if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);
};
import { Injectable } from '@angular/core';
import { HttpClient } from '@angular/common/http';
import { forkJoin } from 'rxjs';
var ProvisionsService = /** @class */ (function () {
function ProvisionsService(httpClient) {
this.httpClient = httpClient;
}
ProvisionsService.prototype.getProvisionsAdmin = function () {
return this.httpClient.get("/api/provisions");
};
ProvisionsService.prototype.getDestroyProvisionsAdmin = function () {
return this.httpClient.get("/api/destroyprovisions");
};
ProvisionsService.prototype.getProvisions = function (userId) {
return this.httpClient.get("/api/users/" + userId + "/provisions");
};
ProvisionsService.prototype.newProvision = function (body, userId) {
return this.httpClient.post("/api/users/" + userId + "/provisions", body);
};
ProvisionsService.prototype.delProvision = function (id, userId) {
return this.httpClient.delete("/api/users/" + userId + "/provisions/" + id);
};
ProvisionsService.prototype.newDestroy = function (body, userId) {
return this.httpClient.post("/api/users/" + userId + "/destroyprovisions", body);
};
ProvisionsService.prototype.getDestroyProvisions = function (userId) {
return this.httpClient.get("/api/users/" + userId + "/destroyprovisions");
};
ProvisionsService.prototype.getCombinedProvisions = function (userId) {
return forkJoin(this.getProvisions(userId), this.getDestroyProvisions(userId));
};
ProvisionsService.prototype.getCombinedProvisionsAdmin = function () {
return forkJoin(this.getProvisionsAdmin(), this.getDestroyProvisionsAdmin());
};
ProvisionsService.prototype.getProvisionLogs = function (id) {
return this.httpClient.get("/api/provisions/" + id + "/logs", { responseType: 'text' });
};
ProvisionsService.prototype.getDestroyLogs = function (id) {
return this.httpClient.get("/api/destroyprovisions/" + id + "/logs", { responseType: 'text' });
};
ProvisionsService.prototype.composePair = function (pair) {
pair['0'].forEach(function (prov) {
var foundDes = pair['1'].filter(function (d) {
return d.provId.toString() === prov._id.toString();
});
if (foundDes.length) {
prov.destroyId = foundDes[0]._id.toString();
prov.statusDestroy = foundDes[0].status;
prov.dateDestroy = foundDes[0].created;
}
});
return pair;
};
ProvisionsService = __decorate([
Injectable({
providedIn: 'root'
}),
__metadata("design:paramtypes", [HttpClient])
], ProvisionsService);
return ProvisionsService;
}());
export { ProvisionsService };
//# sourceMappingURL=provisions.service.js.map

View File

@@ -1 +0,0 @@
{"version":3,"file":"provisions.service.js","sourceRoot":"","sources":["../../../../../src/app/services/provisions.service.ts"],"names":[],"mappings":"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"}

View File

@@ -1,10 +0,0 @@
import { TestBed } from '@angular/core/testing';
import { ProvisionsService } from './provisions.service';
describe('ProvisionsService', function () {
beforeEach(function () { return TestBed.configureTestingModule({}); });
it('should be created', function () {
var service = TestBed.get(ProvisionsService);
expect(service).toBeTruthy();
});
});
//# sourceMappingURL=provisions.service.spec.js.map

View File

@@ -1 +0,0 @@
{"version":3,"file":"provisions.service.spec.js","sourceRoot":"","sources":["../../../../../src/app/services/provisions.service.spec.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,EAAE,MAAM,uBAAuB,CAAC;AAEhD,OAAO,EAAE,iBAAiB,EAAE,MAAM,sBAAsB,CAAC;AAEzD,QAAQ,CAAC,mBAAmB,EAAE;IAC5B,UAAU,CAAC,cAAM,OAAA,OAAO,CAAC,sBAAsB,CAAC,EAAE,CAAC,EAAlC,CAAkC,CAAC,CAAC;IAErD,EAAE,CAAC,mBAAmB,EAAE;QACtB,IAAM,OAAO,GAAsB,OAAO,CAAC,GAAG,CAAC,iBAAiB,CAAC,CAAC;QAClE,MAAM,CAAC,OAAO,CAAC,CAAC,UAAU,EAAE,CAAC;IAC/B,CAAC,CAAC,CAAC;AACL,CAAC,CAAC,CAAC"}

View File

@@ -1,28 +0,0 @@
var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
return c > 3 && r && Object.defineProperty(target, key, r), r;
};
var __metadata = (this && this.__metadata) || function (k, v) {
if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);
};
import { Injectable } from '@angular/core';
import { HttpClient } from '@angular/common/http';
var ScenariosService = /** @class */ (function () {
function ScenariosService(httpClient) {
this.httpClient = httpClient;
}
ScenariosService.prototype.getScenarios = function () {
return this.httpClient.get("/api/scenarios");
};
ScenariosService = __decorate([
Injectable({
providedIn: 'root'
}),
__metadata("design:paramtypes", [HttpClient])
], ScenariosService);
return ScenariosService;
}());
export { ScenariosService };
//# sourceMappingURL=scenarios.service.js.map

View File

@@ -1 +0,0 @@
{"version":3,"file":"scenarios.service.js","sourceRoot":"","sources":["../../../../../src/app/services/scenarios.service.ts"],"names":[],"mappings":";;;;;;;;;AAAA,OAAO,EAAE,UAAU,EAAE,MAAM,eAAe,CAAC;AAC3C,OAAO,EAAE,UAAU,EAAE,MAAM,sBAAsB,CAAC;AAMlD;IAEE,0BAAqB,UAAsB;QAAtB,eAAU,GAAV,UAAU,CAAY;IAAK,CAAC;IAEjD,uCAAY,GAAZ;QACE,OAAO,IAAI,CAAC,UAAU,CAAC,GAAG,CAAC,gBAAgB,CAAC,CAAC;IAC/C,CAAC;IANU,gBAAgB;QAH5B,UAAU,CAAC;YACV,UAAU,EAAE,MAAM;SACnB,CAAC;yCAGiC,UAAU;OAFhC,gBAAgB,CAO5B;IAAD,uBAAC;CAAA,AAPD,IAOC;SAPY,gBAAgB"}

View File

@@ -1,10 +0,0 @@
import { TestBed } from '@angular/core/testing';
import { ScenariosService } from './scenarios.service';
describe('ScenariosService', function () {
beforeEach(function () { return TestBed.configureTestingModule({}); });
it('should be created', function () {
var service = TestBed.get(ScenariosService);
expect(service).toBeTruthy();
});
});
//# sourceMappingURL=scenarios.service.spec.js.map

View File

@@ -1 +0,0 @@
{"version":3,"file":"scenarios.service.spec.js","sourceRoot":"","sources":["../../../../../src/app/services/scenarios.service.spec.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,EAAE,MAAM,uBAAuB,CAAC;AAEhD,OAAO,EAAE,gBAAgB,EAAE,MAAM,qBAAqB,CAAC;AAEvD,QAAQ,CAAC,kBAAkB,EAAE;IAC3B,UAAU,CAAC,cAAM,OAAA,OAAO,CAAC,sBAAsB,CAAC,EAAE,CAAC,EAAlC,CAAkC,CAAC,CAAC;IAErD,EAAE,CAAC,mBAAmB,EAAE;QACtB,IAAM,OAAO,GAAqB,OAAO,CAAC,GAAG,CAAC,gBAAgB,CAAC,CAAC;QAChE,MAAM,CAAC,OAAO,CAAC,CAAC,UAAU,EAAE,CAAC;IAC/B,CAAC,CAAC,CAAC;AACL,CAAC,CAAC,CAAC"}

View File

@@ -1,31 +0,0 @@
var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
return c > 3 && r && Object.defineProperty(target, key, r), r;
};
var __metadata = (this && this.__metadata) || function (k, v) {
if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);
};
import { Injectable } from '@angular/core';
import { HttpClient } from '@angular/common/http';
var UsersService = /** @class */ (function () {
function UsersService(httpClient) {
this.httpClient = httpClient;
}
UsersService.prototype.getUsers = function () {
return this.httpClient.get("/api/users");
};
UsersService.prototype.updateUser = function (userId, patchData) {
return this.httpClient.put("/api/users/" + userId, patchData);
};
UsersService = __decorate([
Injectable({
providedIn: 'root'
}),
__metadata("design:paramtypes", [HttpClient])
], UsersService);
return UsersService;
}());
export { UsersService };
//# sourceMappingURL=users.service.js.map

View File

@@ -1 +0,0 @@
{"version":3,"file":"users.service.js","sourceRoot":"","sources":["../../../../../src/app/services/users.service.ts"],"names":[],"mappings":";;;;;;;;;AAAA,OAAO,EAAE,UAAU,EAAE,MAAM,eAAe,CAAC;AAC3C,OAAO,EAAE,UAAU,EAAE,MAAM,sBAAsB,CAAC;AAMlD;IAEE,sBAAqB,UAAsB;QAAtB,eAAU,GAAV,UAAU,CAAY;IAAK,CAAC;IAEjD,+BAAQ,GAAR;QACE,OAAO,IAAI,CAAC,UAAU,CAAC,GAAG,CAAC,YAAY,CAAC,CAAC;IAC3C,CAAC;IAED,iCAAU,GAAV,UAAW,MAAM,EAAE,SAAS;QAC1B,OAAO,IAAI,CAAC,UAAU,CAAC,GAAG,CAAC,gBAAc,MAAQ,EAAE,SAAS,CAAC,CAAC;IAChE,CAAC;IAVU,YAAY;QAHxB,UAAU,CAAC;YACV,UAAU,EAAE,MAAM;SACnB,CAAC;yCAGiC,UAAU;OAFhC,YAAY,CAWxB;IAAD,mBAAC;CAAA,AAXD,IAWC;SAXY,YAAY"}

View File

@@ -1,10 +0,0 @@
import { TestBed } from '@angular/core/testing';
import { UsersService } from './users.service';
describe('UsersService', function () {
beforeEach(function () { return TestBed.configureTestingModule({}); });
it('should be created', function () {
var service = TestBed.get(UsersService);
expect(service).toBeTruthy();
});
});
//# sourceMappingURL=users.service.spec.js.map

View File

@@ -1 +0,0 @@
{"version":3,"file":"users.service.spec.js","sourceRoot":"","sources":["../../../../../src/app/services/users.service.spec.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,EAAE,MAAM,uBAAuB,CAAC;AAEhD,OAAO,EAAE,YAAY,EAAE,MAAM,iBAAiB,CAAC;AAE/C,QAAQ,CAAC,cAAc,EAAE;IACvB,UAAU,CAAC,cAAM,OAAA,OAAO,CAAC,sBAAsB,CAAC,EAAE,CAAC,EAAlC,CAAkC,CAAC,CAAC;IAErD,EAAE,CAAC,mBAAmB,EAAE;QACtB,IAAM,OAAO,GAAiB,OAAO,CAAC,GAAG,CAAC,YAAY,CAAC,CAAC;QACxD,MAAM,CAAC,OAAO,CAAC,CAAC,UAAU,EAAE,CAAC;IAC/B,CAAC,CAAC,CAAC;AACL,CAAC,CAAC,CAAC"}

View File

@@ -1,27 +0,0 @@
var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
return c > 3 && r && Object.defineProperty(target, key, r), r;
};
var __metadata = (this && this.__metadata) || function (k, v) {
if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);
};
import { Component } from '@angular/core';
var FooterComponent = /** @class */ (function () {
function FooterComponent() {
}
FooterComponent.prototype.ngOnInit = function () {
};
FooterComponent = __decorate([
Component({
selector: 'app-footer',
templateUrl: './footer.component.html',
styleUrls: ['./footer.component.scss']
}),
__metadata("design:paramtypes", [])
], FooterComponent);
return FooterComponent;
}());
export { FooterComponent };
//# sourceMappingURL=footer.component.js.map

View File

@@ -1 +0,0 @@
{"version":3,"file":"footer.component.js","sourceRoot":"","sources":["../../../../../../src/app/ui/footer/footer.component.ts"],"names":[],"mappings":";;;;;;;;;AAAA,OAAO,EAAE,SAAS,EAAU,MAAM,eAAe,CAAC;AAOlD;IAEE;IAAgB,CAAC;IAEjB,kCAAQ,GAAR;IACA,CAAC;IALU,eAAe;QAL3B,SAAS,CAAC;YACT,QAAQ,EAAE,YAAY;YACtB,WAAW,EAAE,yBAAyB;YACtC,SAAS,EAAE,CAAC,yBAAyB,CAAC;SACvC,CAAC;;OACW,eAAe,CAO3B;IAAD,sBAAC;CAAA,AAPD,IAOC;SAPY,eAAe"}

View File

@@ -1,21 +0,0 @@
import { async, TestBed } from '@angular/core/testing';
import { FooterComponent } from './footer.component';
describe('FooterComponent', function () {
var component;
var fixture;
beforeEach(async(function () {
TestBed.configureTestingModule({
declarations: [FooterComponent]
})
.compileComponents();
}));
beforeEach(function () {
fixture = TestBed.createComponent(FooterComponent);
component = fixture.componentInstance;
fixture.detectChanges();
});
it('should create', function () {
expect(component).toBeTruthy();
});
});
//# sourceMappingURL=footer.component.spec.js.map

View File

@@ -1 +0,0 @@
{"version":3,"file":"footer.component.spec.js","sourceRoot":"","sources":["../../../../../../src/app/ui/footer/footer.component.spec.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,KAAK,EAAoB,OAAO,EAAE,MAAM,uBAAuB,CAAC;AAEzE,OAAO,EAAE,eAAe,EAAE,MAAM,oBAAoB,CAAC;AAErD,QAAQ,CAAC,iBAAiB,EAAE;IAC1B,IAAI,SAA0B,CAAC;IAC/B,IAAI,OAA0C,CAAC;IAE/C,UAAU,CAAC,KAAK,CAAC;QACf,OAAO,CAAC,sBAAsB,CAAC;YAC7B,YAAY,EAAE,CAAE,eAAe,CAAE;SAClC,CAAC;aACD,iBAAiB,EAAE,CAAC;IACvB,CAAC,CAAC,CAAC,CAAC;IAEJ,UAAU,CAAC;QACT,OAAO,GAAG,OAAO,CAAC,eAAe,CAAC,eAAe,CAAC,CAAC;QACnD,SAAS,GAAG,OAAO,CAAC,iBAAiB,CAAC;QACtC,OAAO,CAAC,aAAa,EAAE,CAAC;IAC1B,CAAC,CAAC,CAAC;IAEH,EAAE,CAAC,eAAe,EAAE;QAClB,MAAM,CAAC,SAAS,CAAC,CAAC,UAAU,EAAE,CAAC;IACjC,CAAC,CAAC,CAAC;AACL,CAAC,CAAC,CAAC"}

View File

@@ -1,37 +0,0 @@
var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
return c > 3 && r && Object.defineProperty(target, key, r), r;
};
var __metadata = (this && this.__metadata) || function (k, v) {
if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);
};
import { Component } from '@angular/core';
import { AuthGuard } from '../../services/auth.guard';
var HeaderComponent = /** @class */ (function () {
function HeaderComponent(_auth) {
var _this = this;
this._auth = _auth;
this.subs = this._auth.getUserInfo().subscribe(function (value) {
_this.user = value;
console.log("USER", _this.user);
});
}
HeaderComponent.prototype.ngOnInit = function () {
};
HeaderComponent.prototype.ngOnDestroy = function () {
this.subs.unsubscribe();
};
HeaderComponent = __decorate([
Component({
selector: 'app-header',
templateUrl: './header.component.html',
styleUrls: ['./header.component.scss']
}),
__metadata("design:paramtypes", [AuthGuard])
], HeaderComponent);
return HeaderComponent;
}());
export { HeaderComponent };
//# sourceMappingURL=header.component.js.map

View File

@@ -1 +0,0 @@
{"version":3,"file":"header.component.js","sourceRoot":"","sources":["../../../../../../src/app/ui/header/header.component.ts"],"names":[],"mappings":";;;;;;;;;AAAA,OAAO,EAAE,SAAS,EAAU,MAAM,eAAe,CAAC;AAClD,OAAO,EAAE,SAAS,EAAE,MAAM,2BAA2B,CAAC;AAQtD;IAKE,yBAAqB,KAAgB;QAArC,iBAKC;QALoB,UAAK,GAAL,KAAK,CAAW;QACnC,IAAI,CAAC,IAAI,GAAG,IAAI,CAAC,KAAK,CAAC,WAAW,EAAE,CAAC,SAAS,CAAE,UAAA,KAAK;YACnD,KAAI,CAAC,IAAI,GAAG,KAAK,CAAC;YAClB,OAAO,CAAC,GAAG,CAAC,MAAM,EAAE,KAAI,CAAC,IAAI,CAAC,CAAC;QACjC,CAAC,CAAC,CAAC;IACL,CAAC;IAED,kCAAQ,GAAR;IAEA,CAAC;IAED,qCAAW,GAAX;QACE,IAAI,CAAC,IAAI,CAAC,WAAW,EAAE,CAAC;IAC1B,CAAC;IAlBU,eAAe;QAL3B,SAAS,CAAC;YACT,QAAQ,EAAE,YAAY;YACtB,WAAW,EAAE,yBAAyB;YACtC,SAAS,EAAE,CAAC,yBAAyB,CAAC;SACvC,CAAC;yCAM4B,SAAS;OAL1B,eAAe,CAoB3B;IAAD,sBAAC;CAAA,AApBD,IAoBC;SApBY,eAAe"}

View File

@@ -1,21 +0,0 @@
import { async, TestBed } from '@angular/core/testing';
import { HeaderComponent } from './header.component';
describe('HeaderComponent', function () {
var component;
var fixture;
beforeEach(async(function () {
TestBed.configureTestingModule({
declarations: [HeaderComponent]
})
.compileComponents();
}));
beforeEach(function () {
fixture = TestBed.createComponent(HeaderComponent);
component = fixture.componentInstance;
fixture.detectChanges();
});
it('should create', function () {
expect(component).toBeTruthy();
});
});
//# sourceMappingURL=header.component.spec.js.map

View File

@@ -1 +0,0 @@
{"version":3,"file":"header.component.spec.js","sourceRoot":"","sources":["../../../../../../src/app/ui/header/header.component.spec.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,KAAK,EAAoB,OAAO,EAAE,MAAM,uBAAuB,CAAC;AAEzE,OAAO,EAAE,eAAe,EAAE,MAAM,oBAAoB,CAAC;AAErD,QAAQ,CAAC,iBAAiB,EAAE;IAC1B,IAAI,SAA0B,CAAC;IAC/B,IAAI,OAA0C,CAAC;IAE/C,UAAU,CAAC,KAAK,CAAC;QACf,OAAO,CAAC,sBAAsB,CAAC;YAC7B,YAAY,EAAE,CAAE,eAAe,CAAE;SAClC,CAAC;aACD,iBAAiB,EAAE,CAAC;IACvB,CAAC,CAAC,CAAC,CAAC;IAEJ,UAAU,CAAC;QACT,OAAO,GAAG,OAAO,CAAC,eAAe,CAAC,eAAe,CAAC,CAAC;QACnD,SAAS,GAAG,OAAO,CAAC,iBAAiB,CAAC;QACtC,OAAO,CAAC,aAAa,EAAE,CAAC;IAC1B,CAAC,CAAC,CAAC;IAEH,EAAE,CAAC,eAAe,EAAE;QAClB,MAAM,CAAC,SAAS,CAAC,CAAC,UAAU,EAAE,CAAC;IACjC,CAAC,CAAC,CAAC;AACL,CAAC,CAAC,CAAC"}

View File

@@ -1,27 +0,0 @@
var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
return c > 3 && r && Object.defineProperty(target, key, r), r;
};
var __metadata = (this && this.__metadata) || function (k, v) {
if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);
};
import { Component } from '@angular/core';
var LayoutComponent = /** @class */ (function () {
function LayoutComponent() {
}
LayoutComponent.prototype.ngOnInit = function () {
};
LayoutComponent = __decorate([
Component({
selector: 'app-layout',
templateUrl: './layout.component.html',
styleUrls: ['./layout.component.scss']
}),
__metadata("design:paramtypes", [])
], LayoutComponent);
return LayoutComponent;
}());
export { LayoutComponent };
//# sourceMappingURL=layout.component.js.map

View File

@@ -1 +0,0 @@
{"version":3,"file":"layout.component.js","sourceRoot":"","sources":["../../../../../../src/app/ui/layout/layout.component.ts"],"names":[],"mappings":";;;;;;;;;AAAA,OAAO,EAAE,SAAS,EAAU,MAAM,eAAe,CAAC;AAOlD;IAEE;IAAgB,CAAC;IAEjB,kCAAQ,GAAR;IACA,CAAC;IALU,eAAe;QAL3B,SAAS,CAAC;YACT,QAAQ,EAAE,YAAY;YACtB,WAAW,EAAE,yBAAyB;YACtC,SAAS,EAAE,CAAC,yBAAyB,CAAC;SACvC,CAAC;;OACW,eAAe,CAO3B;IAAD,sBAAC;CAAA,AAPD,IAOC;SAPY,eAAe"}

View File

@@ -1,21 +0,0 @@
import { async, TestBed } from '@angular/core/testing';
import { LayoutComponent } from './layout.component';
describe('LayoutComponent', function () {
var component;
var fixture;
beforeEach(async(function () {
TestBed.configureTestingModule({
declarations: [LayoutComponent]
})
.compileComponents();
}));
beforeEach(function () {
fixture = TestBed.createComponent(LayoutComponent);
component = fixture.componentInstance;
fixture.detectChanges();
});
it('should create', function () {
expect(component).toBeTruthy();
});
});
//# sourceMappingURL=layout.component.spec.js.map

View File

@@ -1 +0,0 @@
{"version":3,"file":"layout.component.spec.js","sourceRoot":"","sources":["../../../../../../src/app/ui/layout/layout.component.spec.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,KAAK,EAAoB,OAAO,EAAE,MAAM,uBAAuB,CAAC;AAEzE,OAAO,EAAE,eAAe,EAAE,MAAM,oBAAoB,CAAC;AAErD,QAAQ,CAAC,iBAAiB,EAAE;IAC1B,IAAI,SAA0B,CAAC;IAC/B,IAAI,OAA0C,CAAC;IAE/C,UAAU,CAAC,KAAK,CAAC;QACf,OAAO,CAAC,sBAAsB,CAAC;YAC7B,YAAY,EAAE,CAAE,eAAe,CAAE;SAClC,CAAC;aACD,iBAAiB,EAAE,CAAC;IACvB,CAAC,CAAC,CAAC,CAAC;IAEJ,UAAU,CAAC;QACT,OAAO,GAAG,OAAO,CAAC,eAAe,CAAC,eAAe,CAAC,CAAC;QACnD,SAAS,GAAG,OAAO,CAAC,iBAAiB,CAAC;QACtC,OAAO,CAAC,aAAa,EAAE,CAAC;IAC1B,CAAC,CAAC,CAAC;IAEH,EAAE,CAAC,eAAe,EAAE;QAClB,MAAM,CAAC,SAAS,CAAC,CAAC,UAAU,EAAE,CAAC;IACjC,CAAC,CAAC,CAAC;AACL,CAAC,CAAC,CAAC"}

View File

@@ -1,32 +0,0 @@
var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
return c > 3 && r && Object.defineProperty(target, key, r), r;
};
import { NgModule, CUSTOM_ELEMENTS_SCHEMA } from '@angular/core';
import { CommonModule } from '@angular/common';
import { LayoutComponent } from './layout/layout.component';
import { HeaderComponent } from './header/header.component';
import { FooterComponent } from './footer/footer.component';
import { AppRoutingModule } from '../app-routing.module';
var UiModule = /** @class */ (function () {
function UiModule() {
}
UiModule = __decorate([
NgModule({
declarations: [LayoutComponent, HeaderComponent, FooterComponent],
imports: [
CommonModule,
AppRoutingModule
],
exports: [LayoutComponent],
schemas: [
CUSTOM_ELEMENTS_SCHEMA
]
})
], UiModule);
return UiModule;
}());
export { UiModule };
//# sourceMappingURL=ui.module.js.map

View File

@@ -1 +0,0 @@
{"version":3,"file":"ui.module.js","sourceRoot":"","sources":["../../../../../src/app/ui/ui.module.ts"],"names":[],"mappings":";;;;;;AAAA,OAAO,EAAE,QAAQ,EAAE,sBAAsB,EAAE,MAAM,eAAe,CAAC;AACjE,OAAO,EAAE,YAAY,EAAE,MAAM,iBAAiB,CAAC;AAC/C,OAAO,EAAE,eAAe,EAAE,MAAM,2BAA2B,CAAC;AAC5D,OAAO,EAAE,eAAe,EAAE,MAAM,2BAA2B,CAAC;AAC5D,OAAO,EAAE,eAAe,EAAE,MAAM,2BAA2B,CAAC;AAC5D,OAAO,EAAE,gBAAgB,EAAE,MAAM,uBAAuB,CAAC;AAazD;IAAA;IAAwB,CAAC;IAAZ,QAAQ;QAXpB,QAAQ,CAAC;YACR,YAAY,EAAE,CAAC,eAAe,EAAE,eAAe,EAAE,eAAe,CAAC;YACjE,OAAO,EAAE;gBACP,YAAY;gBACZ,gBAAgB;aACjB;YACD,OAAO,EAAE,CAAC,eAAe,CAAC;YAC1B,OAAO,EAAE;gBACP,sBAAsB;aACvB;SACF,CAAC;OACW,QAAQ,CAAI;IAAD,eAAC;CAAA,AAAzB,IAAyB;SAAZ,QAAQ"}

View File

@@ -1,12 +0,0 @@
export var environment = {
production: false,
config: {
tenant: 'c21eeb5f-f5a6-44e8-a997-124f2f7a497c',
clientId: '40742f13-bde8-4b1b-ac07-54c11b36b779',
postLogoutRedirectUri: 'http://localhost:4200',
endpoints: {
'http://localhost:4200/': 'the id'
}
}
};
//# sourceMappingURL=environment.js.map

View File

@@ -1 +0,0 @@
{"version":3,"file":"environment.js","sourceRoot":"","sources":["../../../../src/environments/environment.ts"],"names":[],"mappings":"AAAA,MAAM,CAAC,IAAM,WAAW,GAAG;IACzB,UAAU,EAAE,KAAK;IACjB,MAAM,EAAE;QACN,MAAM,EAAE,sCAAsC;QAC9C,QAAQ,EAAE,sCAAsC;QAChD,qBAAqB,EAAE,uBAAuB;QAC9C,SAAS,EAAE;YACT,wBAAwB,EAAE,QAAQ;SACnC;KACF;CACF,CAAC"}

View File

@@ -1,4 +0,0 @@
export var environment = {
production: true
};
//# sourceMappingURL=environment.prod.js.map

View File

@@ -1 +0,0 @@
{"version":3,"file":"environment.prod.js","sourceRoot":"","sources":["../../../../src/environments/environment.prod.ts"],"names":[],"mappings":"AAAA,MAAM,CAAC,IAAM,WAAW,GAAG;IACzB,UAAU,EAAE,IAAI;CACjB,CAAC"}

View File

@@ -1,10 +0,0 @@
import { enableProdMode } from '@angular/core';
import { platformBrowserDynamic } from '@angular/platform-browser-dynamic';
import { AppModule } from './app/app.module';
import { environment } from './environments/environment';
if (environment.production) {
enableProdMode();
}
platformBrowserDynamic().bootstrapModule(AppModule)
.catch(function (err) { return console.error(err); });
//# sourceMappingURL=main.js.map

View File

@@ -1 +0,0 @@
{"version":3,"file":"main.js","sourceRoot":"","sources":["../../../src/main.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,cAAc,EAAE,MAAM,eAAe,CAAC;AAC/C,OAAO,EAAE,sBAAsB,EAAE,MAAM,mCAAmC,CAAC;AAE3E,OAAO,EAAE,SAAS,EAAE,MAAM,kBAAkB,CAAC;AAC7C,OAAO,EAAE,WAAW,EAAE,MAAM,4BAA4B,CAAC;AAEzD,IAAI,WAAW,CAAC,UAAU,EAAE;IAC1B,cAAc,EAAE,CAAC;CAClB;AAED,sBAAsB,EAAE,CAAC,eAAe,CAAC,SAAS,CAAC;KAChD,KAAK,CAAC,UAAA,GAAG,IAAI,OAAA,OAAO,CAAC,KAAK,CAAC,GAAG,CAAC,EAAlB,CAAkB,CAAC,CAAC"}

View File

@@ -1,69 +0,0 @@
/**
* This file includes polyfills needed by Angular and is loaded before the app.
* You can add your own extra polyfills to this file.
*
* This file is divided into 2 sections:
* 1. Browser polyfills. These are applied before loading ZoneJS and are sorted by browsers.
* 2. Application imports. Files imported after ZoneJS that should be loaded before your main
* file.
*
* The current setup is for so-called "evergreen" browsers; the last versions of browsers that
* automatically update themselves. This includes Safari >= 10, Chrome >= 55 (including Opera),
* Edge >= 13 on the desktop, and iOS 10 and Chrome on mobile.
*
* Learn more in https://angular.io/guide/browser-support
*/
/***************************************************************************************************
* BROWSER POLYFILLS
*/
/** IE9, IE10 and IE11 requires all of the following polyfills. **/
// import 'core-js/es6/symbol';
// import 'core-js/es6/object';
// import 'core-js/es6/function';
// import 'core-js/es6/parse-int';
// import 'core-js/es6/parse-float';
// import 'core-js/es6/number';
// import 'core-js/es6/math';
// import 'core-js/es6/string';
// import 'core-js/es6/date';
// import 'core-js/es6/array';
// import 'core-js/es6/regexp';
// import 'core-js/es6/map';
// import 'core-js/es6/weak-map';
// import 'core-js/es6/set';
/**
* If the application will be indexed by Google Search, the following is required.
* Googlebot uses a renderer based on Chrome 41.
* https://developers.google.com/search/docs/guides/rendering
**/
// import 'core-js/es6/array';
/** IE10 and IE11 requires the following for NgClass support on SVG elements */
// import 'classlist.js'; // Run `npm install --save classlist.js`.
/** IE10 and IE11 requires the following for the Reflect API. */
// import 'core-js/es6/reflect';
/**
* Web Animations `@angular/platform-browser/animations`
* Only required if AnimationBuilder is used within the application and using IE/Edge or Safari.
* Standard animation support in Angular DOES NOT require any polyfills (as of Angular 6.0).
**/
// import 'web-animations-js'; // Run `npm install --save web-animations-js`.
/**
* By default, zone.js will patch all possible macroTask and DomEvents
* user can disable parts of macroTask/DomEvents patch by setting following flags
*/
// (window as any).__Zone_disable_requestAnimationFrame = true; // disable patch requestAnimationFrame
// (window as any).__Zone_disable_on_property = true; // disable patch onProperty such as onclick
// (window as any).__zone_symbol__BLACK_LISTED_EVENTS = ['scroll', 'mousemove']; // disable patch specified eventNames
/*
* in IE/Edge developer tools, the addEventListener will also be wrapped by zone.js
* with the following flag, it will bypass `zone.js` patch for IE/Edge
*/
// (window as any).__Zone_enable_cross_context_check = true;
/***************************************************************************************************
* Zone JS is required by default for Angular itself.
*/
import 'zone.js/dist/zone'; // Included with Angular CLI.
/***************************************************************************************************
* APPLICATION IMPORTS
*/
//# sourceMappingURL=polyfills.js.map

View File

@@ -1 +0,0 @@
{"version":3,"file":"polyfills.js","sourceRoot":"","sources":["../../../src/polyfills.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAEH;;GAEG;AAEH,mEAAmE;AACnE,+BAA+B;AAC/B,+BAA+B;AAC/B,iCAAiC;AACjC,kCAAkC;AAClC,oCAAoC;AACpC,+BAA+B;AAC/B,6BAA6B;AAC7B,+BAA+B;AAC/B,6BAA6B;AAC7B,8BAA8B;AAC9B,+BAA+B;AAC/B,4BAA4B;AAC5B,iCAAiC;AACjC,4BAA4B;AAE5B;;;;IAII;AACJ,8BAA8B;AAE9B,+EAA+E;AAC/E,oEAAoE;AAEpE,gEAAgE;AAChE,gCAAgC;AAEhC;;;;IAII;AACJ,8EAA8E;AAE9E;;;GAGG;AAEF,sGAAsG;AACtG,iGAAiG;AACjG,sHAAsH;AAEtH;;;EAGE;AACH,4DAA4D;AAE5D;;GAEG;AACH,OAAO,mBAAmB,CAAC,CAAE,6BAA6B;AAG1D;;GAEG"}

View File

@@ -1,11 +0,0 @@
// This file is required by karma.conf.js and loads recursively all the .spec and framework files
import 'zone.js/dist/zone-testing';
import { getTestBed } from '@angular/core/testing';
import { BrowserDynamicTestingModule, platformBrowserDynamicTesting } from '@angular/platform-browser-dynamic/testing';
// First, initialize the Angular testing environment.
getTestBed().initTestEnvironment(BrowserDynamicTestingModule, platformBrowserDynamicTesting());
// Then we find all the tests.
var context = require.context('./', true, /\.spec\.ts$/);
// And load the modules.
context.keys().map(context);
//# sourceMappingURL=test.js.map

View File

@@ -1 +0,0 @@
{"version":3,"file":"test.js","sourceRoot":"","sources":["../../../src/test.ts"],"names":[],"mappings":"AAAA,iGAAiG;AAEjG,OAAO,2BAA2B,CAAC;AACnC,OAAO,EAAE,UAAU,EAAE,MAAM,uBAAuB,CAAC;AACnD,OAAO,EACL,2BAA2B,EAC3B,6BAA6B,EAC9B,MAAM,2CAA2C,CAAC;AAInD,qDAAqD;AACrD,UAAU,EAAE,CAAC,mBAAmB,CAC9B,2BAA2B,EAC3B,6BAA6B,EAAE,CAChC,CAAC;AACF,8BAA8B;AAC9B,IAAM,OAAO,GAAG,OAAO,CAAC,OAAO,CAAC,IAAI,EAAE,IAAI,EAAE,aAAa,CAAC,CAAC;AAC3D,wBAAwB;AACxB,OAAO,CAAC,IAAI,EAAE,CAAC,GAAG,CAAC,OAAO,CAAC,CAAC"}

View File

Before

Width:  |  Height:  |  Size: 211 B

After

Width:  |  Height:  |  Size: 211 B

View File

Before

Width:  |  Height:  |  Size: 213 B

After

Width:  |  Height:  |  Size: 213 B

View File

Before

Width:  |  Height:  |  Size: 209 B

After

Width:  |  Height:  |  Size: 209 B

View File

Before

Width:  |  Height:  |  Size: 211 B

After

Width:  |  Height:  |  Size: 211 B

View File

Before

Width:  |  Height:  |  Size: 213 B

After

Width:  |  Height:  |  Size: 213 B

View File

Before

Width:  |  Height:  |  Size: 211 B

After

Width:  |  Height:  |  Size: 211 B

View File

Before

Width:  |  Height:  |  Size: 215 B

After

Width:  |  Height:  |  Size: 215 B

View File

Before

Width:  |  Height:  |  Size: 146 B

After

Width:  |  Height:  |  Size: 146 B

View File

Before

Width:  |  Height:  |  Size: 137 B

After

Width:  |  Height:  |  Size: 137 B

Binary file not shown.

Binary file not shown.

View File

Before

Width:  |  Height:  |  Size: 215 B

After

Width:  |  Height:  |  Size: 215 B

View File

Before

Width:  |  Height:  |  Size: 214 B

After

Width:  |  Height:  |  Size: 214 B

127
dist/qmi-cloud/assets/faq.md vendored Normal file
View File

@@ -0,0 +1,127 @@
# FAQ
Just an assorted selection of questions and answers.
### 1\. What can I use QMI Cloud for?
- QMI Cloud scenarios can be used to perform product demonstrations, enablement sessions and PoC environments. It is built to aid with Customer Engagements.
* * *
### 2\. Are these QMI scenarios ready to go End-To-End demos?
- Not at this moment, a global environment is being built for PreSales by Innovation & Excellence Team.
- Provided scenarios are meant for (See 1). QMI works by installing licensing the products. QMI completes the main setup for the scenario to properly work where possible. You may need to put custom data, Qlik Sense applications or whatever you need for your customer engagement.
* * *
### 3\. Where are QMI Cloud resources deployed?
- All cloud resources such as Virtual Machines (VMs), disks, etc are deployed in the Qlik Azure subscription.
- For the time being, all resources are deployed in the __East US__ region in Azure. This means that it could be some significant latency or delays if you are located in another region.
* * *
### 4\. What will happen when I provision a scenario?
- Necessary resources for that scenario to work are deployed within Azure.
- An email is sent to the owner (e.g. you) indicating whether the provision was successful or with failures.
- Upon success, all credentials and access information for this provision is sent with that email.
- From that moment, VMs will keep at 'Running' status for 4 full days.
- On day 3, an email is sent warning that in the next 24 hours the VMs will automatically stop.
- You can "extend" VMs at Running status. This will renew the 'Running' period for 4 extra days. Other way, VMs will automatically stop within the next 24 hours.
- You can monitor 'Running time' and 'Time remaining until auto stop' at all times.
- __Provision will be automatically destroyed after 20 days of inactivity (20 days with Stopped VMs). On day 18 you'll get a warning email advising this will happen in 48 hours.__
* * *
### 5\. How many scenarios can I have provisioned at the same time?
- There is no limitation on the number of scenarios (or instances of the same one) provisioned at the same time. Just be aware of COST and keep VMs Stopped when possible.
- Do not forget to Destroy those provisions that you no longer need.
* * *
### 6\. Are scenarios accessible from the Internet or just from within Qlik VPN?
- All scenarios are accessible from within the Qlik VPN.
- Some are also accessible from the Intenet (external access). This is indicated on the UI for each scenario.
* * *
### 7\. Is QMI Cloud under the 'Qlik Customer Engagement Terms' policy?
- Yes.
- Only anonymous or public/free data can be used.
- Customer data is available with QSE SaaS, work is being done to aid PreSales manage 3rd Party data.
* * *
### 8\. Do scenarios communicate with each other?
- Yes.
- Private IPs assigned to all VMs are reachable.
- All ports are open for these private IPs (within the Qlik VPN).
* * *
### 9\. What can I do if I don't find a scenario that suits my needs?
- You can create end-to-end more complete demos with different Qlik products using combination of multiple scenarios.
- For example, if you needed an NPrinting demo/poc, you could use Qlik Sense scenario and Windows Blank scenario, then you can install NPrinting in this Windows Blank scenario and complete the setup yourself.
* * *
### 10\. Who is paying for these instances?
- The costs for these instances are allocated to PreSales.
- It is essential that we are all cost consciouse setup yourself.
* * *
### 11\. Can I manually stop and start the scenarios?
- Yes.
* * *
### 12\. If I shutdown the scenario, does it allocate a new IP Address?
- No.
* * *
### 13\. Are the mandatory security tools installed on these instances?
- Yes.
- Security is key for Qlik, whilst these are initially installed (Cabon Black on Windows, CrowdStrike on Linux) it is your responsibility as the owner of this instance to ensure everything is upto date.
* * *
### 14\. Can I create new instances?
- This capability will be described soon.
* * *
### 15\. How are we managing Costs?
- Excessive use for instances, will need to be justified, every instance logged it tagged with your trigram. The usage of QMI Cloud will be made public within a Qlik Sense Application.
* * *
### 16\. My Team use a team server; can I use this as well?
- This is open to everyone, if you do have a team server, then for cost purposes, please use that server.
* * *

Some files were not shown because too many files have changed in this diff Show More