Commit Graph

359 Commits

Author SHA1 Message Date
Tsu-ba-me
5de6046715 fix(striker-ui-api): add install manifest builder 2023-06-19 15:15:32 -04:00
Tsu-ba-me
2e599971cc fix(striker-ui-api): add DELETE one or more manifest 2023-06-19 15:15:32 -04:00
Tsu-ba-me
d368f8dd7b fix(striker-ui-api): ignore deleted manifest(s) when listing 2023-06-19 15:15:32 -04:00
Tsu-ba-me
a4359b1fa4 docs(striker-ui-api): explain sorting networks in GET manifest detail 2023-06-19 15:15:32 -04:00
Tsu-ba-me
340a04de47 fix(striker-ui-api): change sequence number type in manifest detail 2023-06-19 15:15:32 -04:00
Tsu-ba-me
4104b87b2d fix(striker-ui-api): add next sequence number to manifest template 2023-06-19 15:15:32 -04:00
Tsu-ba-me
a066fb7ede fix(striker-ui-api): allow get manifest detail 2023-06-19 15:15:32 -04:00
Tsu-ba-me
7575bf8aed fix(striker-ui-api): add function to disassemble entity id 2023-06-19 15:15:32 -04:00
Tsu-ba-me
9e9b84604f fix(striker-ui-api): add /manifest/template 2023-06-19 15:15:32 -04:00
Tsu-ba-me
db248efd96 fix(striker-ui-api): consolidate disassemble host name functions 2023-06-19 15:15:32 -04:00
Tsu-ba-me
7b0a7e711d fix(striker-ui-api): add get host name to access module 2023-06-19 15:15:32 -04:00
Tsu-ba-me
6cdca8ee5f feat(striker-ui-api): add /manifest 2023-06-19 15:15:31 -04:00
Tsu-ba-me
58549eb3ed fix(striker-ui-api): extract link from UPS type description 2023-04-04 00:23:00 -04:00
Tsu-ba-me
ddb1cd61f1 fix(striker-ui-api): add GET UPS overviews 2023-04-04 00:23:00 -04:00
Tsu-ba-me
288597a95f fix(striker-ui-api): limit UPS types to APC 2023-04-04 00:23:00 -04:00
Tsu-ba-me
f3a2a9355e feat(striker-ui-api): add /ups 2023-04-04 00:23:00 -04:00
Tsu-ba-me
508c7aa1f5 fix(striker-ui-api): make getAnvilData generic to identify return value 2023-04-04 00:23:00 -04:00
Tsu-ba-me
92a38374cb fix(striker-ui-api): add /fence 2023-04-03 13:13:59 -04:00
Tsu-ba-me
271b33eaf7 fix(striker-ui-api): filter /host with host type(s) 2023-02-14 22:42:50 -05:00
Tsu-ba-me
58c9e05a9b fix(striker-ui-api): add hostType to /host/:hostUUID 2023-02-14 22:42:50 -05:00
Tsu-ba-me
32c32350bd fix(striker-ui-api): get NICs on specified host 2023-02-14 22:42:50 -05:00
Tsu-ba-me
950a98558f fix(striker-ui-api): improve receive server screenshot from named pipe 2023-02-02 19:25:40 -05:00
Tsu-ba-me
9d52213ef9 fix(striker-ui-api): add short name and rename to installTarget in GET /host/:hostUUID 2022-11-28 14:37:21 -05:00
Tsu-ba-me
81974ef626 fix(striker-ui-api): add short host name to GET /host 2022-11-28 14:37:21 -05:00
Tsu-ba-me
6d114b6d99 fix(striker-ui-api): add enterpriseUUID to prepareHost 2022-11-28 14:37:21 -05:00
Tsu-ba-me
099b2c9470 feat(striker-ui-api): add POST, DELETE /host/connection 2022-11-28 14:37:21 -05:00
Tsu-ba-me
e20a3a4af1 fix(striker-ui-api): add optional local host UUID in toHostUUID() 2022-11-28 14:37:21 -05:00
Tsu-ba-me
e394b0736e fix(striker-ui-api): add getPeerData() to accessModule 2022-11-28 14:37:21 -05:00
Tsu-ba-me
0a3d36c340 fix(striker-ui-api): add stdoutVar() 2022-11-28 14:37:21 -05:00
Tsu-ba-me
5e9c38b008 fix(striker-ui-api): add PUT /host/prepare and revise PUT /host/:hostUUID 2022-11-28 14:37:20 -05:00
Tsu-ba-me
54b78e9f25 fix(striker-ui-api): make return type in sanitize required 2022-11-28 14:37:20 -05:00
Tsu-ba-me
fcf999b11b fix(striker-ui-api): add prepareHost() 2022-11-28 14:37:20 -05:00
Tsu-ba-me
7033b64bb3 fix(striker-ui-api): add bad SSH keys to /command/inquire-host 2022-11-28 14:37:20 -05:00
Tsu-ba-me
5424fc3858 feat(striker-ui-api): add /command/inquire-peer 2022-11-28 14:37:20 -05:00
Tsu-ba-me
e67e732fd8 fix(striker-ui-api): split /ssh-key and /ssh-key/conflict 2022-11-28 14:37:20 -05:00
Tsu-ba-me
14a5b178dd fix(striker-ui-api): add PUT /update-system 2022-11-28 14:37:20 -05:00
Tsu-ba-me
00aa2c02df fix(striker-ui-api): wrap missed job calls in try-catch 2022-11-28 14:37:20 -05:00
Tsu-ba-me
3a01052e03 feat(striker-ui-api): add PUT /host/:hostUUID 2022-11-28 14:37:20 -05:00
Tsu-ba-me
1b6f1c2a2e refactor(striker-ui-api): replace 'local' with constant 2022-11-28 14:37:20 -05:00
Tsu-ba-me
f9bd775ed6 fix(striker-ui-api): add install-target state to GET /host/:hostUUID 2022-11-28 14:37:20 -05:00
Tsu-ba-me
0aec411e1a feat(striker-ui-api): add GET /ssh-key 2022-11-28 14:37:20 -05:00
Tsu-ba-me
c023c08310 fix(striker-ui-api): allow direct destructure from match() result 2022-11-28 14:37:20 -05:00
Tsu-ba-me
e3d4c243b9 feat(striker-ui-api): add /ssh-key WIP 2022-11-28 14:37:20 -05:00
Tsu-ba-me
6afa296858 refactor(striker-ui-api): relocate getLocalHostUUID try-catch 2022-11-28 14:37:20 -05:00
Tsu-ba-me
be1332b4f3 fix(striker-ui-api): prioritize /host/connection over /host/:hostUUID 2022-11-28 14:37:20 -05:00
Tsu-ba-me
df77899be1 fix(striker-ui-api): add /user 2022-11-28 14:37:20 -05:00
Tsu-ba-me
884742cb0a fix(striker-ui-api): remove excess from GET /host detail 2022-11-28 14:37:20 -05:00
Tsu-ba-me
59ddc232e7 feat(striker-ui-api): add cap function 2022-11-28 14:37:20 -05:00
Tsu-ba-me
e31d4564ee fix(striker-ui-api): add /host/:hostUUID WIP 2022-11-28 14:37:20 -05:00
Tsu-ba-me
72e070bc38 fix(striker-ui-api): remove empty functions in buildCondition functions 2022-11-28 14:37:20 -05:00
Tsu-ba-me
28e12251d6 fix(striker-ui-api): simplify modify query result 2022-11-28 14:37:20 -05:00
Tsu-ba-me
1fec480af7 fix(striker-ui-api): rename buildCondition functions 2022-11-28 14:37:20 -05:00
Tsu-ba-me
e38864e256 fix(striker-ui-api): allow replace modifier in sanitizeQS 2022-11-28 14:37:20 -05:00
Tsu-ba-me
bbb0fa503e fix(striker-ui-api): replace empty function with call in join 2022-11-28 14:37:20 -05:00
Tsu-ba-me
ca7288cbdd fix(striker-ui-api): simplify build ID condition 2022-11-28 14:37:20 -05:00
Tsu-ba-me
58ef1c04c7 fix(striker-ui-api): add JoinFunction type 2022-11-28 14:37:20 -05:00
Tsu-ba-me
e412d615d1 fix(striker-ui-api): relocate sanitize input for SQL query 2022-11-28 14:37:20 -05:00
Tsu-ba-me
3cb7c0f7ee fix(striker-ui-api): add onEach callback to join 2022-11-28 14:37:20 -05:00
Tsu-ba-me
107b119d52 fix(striker-ui-api): reduce required variables when creating jobs 2022-11-28 14:37:20 -05:00
Tsu-ba-me
3e14c20f75 fix(striker-ui-api): move /initialize-striker->POST /host?hostType=striker 2022-11-28 14:37:20 -05:00
Tsu-ba-me
403bdaddbc fix(striker-ui-api): revise std outputs in accessModule 2022-11-28 14:37:20 -05:00
Tsu-ba-me
d5ee937a9e fix(striker-ui-api): add commands to manage host power actions 2022-11-28 14:37:20 -05:00
Tsu-ba-me
28596e15dd fix(striker-ui-api): add print functions to shell 2022-11-28 14:37:19 -05:00
Tsu-ba-me
d6e32c6c89 fix(striker-ui-api): simplify insert or update job 2022-11-28 14:37:19 -05:00
Tsu-ba-me
5d81d4934d fix(striker-ui-api): correct sanitize number query param 2022-11-28 14:37:19 -05:00
Tsu-ba-me
25f1e1e206 fix(striker-ui-api): rename /job query param to "start" 2022-11-28 14:37:19 -05:00
Tsu-ba-me
3d6f051a7d fix(striker-ui-api): output SQL query when debug 2022-11-28 14:37:19 -05:00
Tsu-ba-me
3bbc9c03c7 fix(striker-ui-api): allow multiple host views in GET /host/connection 2022-11-28 14:37:19 -05:00
Tsu-ba-me
e1db471366 refactor(striker-ui-api): reorder imports in getJob 2022-11-28 14:37:19 -05:00
Tsu-ba-me
bc91fcd88b fix(striker-ui-api): add /job 2022-11-28 14:37:19 -05:00
Tsu-ba-me
76e5f5f925 fix(striker-ui-api): add date to shell 2022-11-28 14:37:19 -05:00
Tsu-ba-me
43d7662c4d fix(striker-ui-api): sanitize query string as number 2022-11-28 14:37:19 -05:00
Tsu-ba-me
b576e799e2 feat(striker-ui-api): add /host, /host/connection 2022-11-28 14:37:19 -05:00
Tsu-ba-me
5a9f936913 feat(striker-ui-api): add getAnvilData to accessModule 2022-11-28 14:37:19 -05:00
Tsu-ba-me
0e31e31786 fix(striker-ui-api): specify return type in call() 2022-11-28 14:37:19 -05:00
Tsu-ba-me
8a8b3d798f fix(striker-ui-api): assert init striker input data 2022-11-28 14:37:19 -05:00
Tsu-ba-me
06c3b9bae4 fix(striker-ui-api): ignore empty body when create server 2022-11-28 14:37:19 -05:00
Tsu-ba-me
00ef2142a1 feat(striker-ui-api): add command/initialize-striker endpoint 2022-11-28 14:37:19 -05:00
Tsu-ba-me
a37e0e2b8a fix(striker-ui-api): simplify get local host UUID 2022-11-28 14:37:19 -05:00
Tsu-ba-me
439a7dfdc7 fix(striker-ui-api): limit NICs by host UUID and not DELETED 2022-11-28 14:37:18 -05:00
Tsu-ba-me
c424980bb7 feat(striker-ui-api): add /network-interface endpoint 2022-11-28 14:37:18 -05:00
Tsu-ba-me
4a268c4b57 fix(striker-ui-api): add anvil node pair info to /server 2022-11-28 14:37:18 -05:00
Tsu-ba-me
1d39e4d918 fix(striker-ui-api): use separate fifo for each server screenshot request and read all data chunks 2022-11-28 14:37:18 -05:00
Tsu-ba-me
90c3004e90 fix(striker-ui-api): consolidate system calls into shell module 2022-11-28 14:37:18 -05:00
Tsu-ba-me
4c4ce1834b feat(striker-ui-api): add fetch server screenshot endpoint logic 2022-11-28 14:37:18 -05:00
Tsu-ba-me
d3cd671288 fix(striker-ui-api): handle empty query params 2022-11-28 14:37:18 -05:00
Tsu-ba-me
f88ac0387d fix(striker-ui-api): hoist regex patterns 2022-11-28 14:37:18 -05:00
Tsu-ba-me
f476524461 fix(striker-ui-api): get anvil UUIDs from query params in GET /server 2022-11-28 14:37:18 -05:00
Tsu-ba-me
26a64ecb2f fix(striker-ui-api): change response format for GET /server 2022-11-28 14:37:18 -05:00
Tsu-ba-me
a3143ce172 fix(striker-ui): assert input data in provision server 2022-11-28 14:37:18 -05:00
Tsu-ba-me
e50d181a0d fix(striker-ui-api): build OS list once on server load 2022-11-28 14:37:18 -05:00
Tsu-ba-me
ad864c3a21 fix(striker-ui-api): replace Cluster->get_primary_host_uuid() with query 2022-11-28 14:37:18 -05:00
Tsu-ba-me
5325a4f7eb fix(striker-ui-api): remove 'os_list_' from key of OS 2022-11-28 14:37:18 -05:00
Tsu-ba-me
b553e880c9 fix(striker-ui-api): correct os and driver_iso fields when registering provision server job 2022-11-28 14:37:18 -05:00
Tsu-ba-me
c413e62798 fix(striker-ui-api): pass Remote->test_access() user to Cluster->get_primary_host_uuid() 2022-11-28 14:37:18 -05:00
Tsu-ba-me
011615e68f fix(striker-ui-api): allow using all or * as condition file/anvil UUIDs 2022-11-28 14:37:18 -05:00
Tsu-ba-me
2c4a025cf8 fix(striker-ui-api): use query strings instead of body for GETs 2022-11-28 14:37:17 -05:00
Tsu-ba-me
8e64a9a185 feat(striker-ui-api): add provision server endpoint 2022-11-28 14:37:17 -05:00
Tsu-ba-me
8310a6edbb fix(striker-ui-api): revise accessDB->accessModule to reflect anvil-access-module changes 2022-11-28 14:37:17 -05:00
Tsu-ba-me
d1f7a731bd fix(striker-ui-api): add anvil description to anvil detail for provision server 2022-11-28 14:37:17 -05:00
Tsu-ba-me
b0b9314a08 feat(striker-ui-api): handle fetch Anvil details for provision server 2022-11-28 14:37:17 -05:00
Tsu-ba-me
cf5cba3950 fix(striker-ui-api): include missed hosts in /anvil GET 2022-11-28 14:37:17 -05:00
Tsu-ba-me
de8d2ddd50 feat(striker-ui-api): add /anvil route and migrate to singular routes 2022-11-28 14:37:17 -05:00
Tsu-ba-me
c352fc5f0e feat(striker-ui-api): add /servers route 2022-11-28 14:37:17 -05:00
Tsu-ba-me
49fdc9cad4 fix(striker-ui-api): hoist and enhance join logic 2022-11-28 14:37:17 -05:00
Tsu-ba-me
035727b2e0 refactor(striker-ui-api): relocate buildGetRequestHandler 2022-11-28 14:37:17 -05:00
Tsu-ba-me
b583035630 fix(striker-ui-api): allow GET multiple files' detail 2022-11-28 14:37:17 -05:00
Tsu-ba-me
94dee357d8 chore(striker-ui-api): switch to TypeScript 2022-11-28 14:37:09 -05:00
Tsu-ba-me
4af65abe8e build(striker-ui-api): move all source to src folder 2022-11-28 14:29:14 -05:00