Commit Graph

578 Commits

Author SHA1 Message Date
Michael Quigley
1c8ab67bf1
controller no longer needs an identity; identity management organization (#369) 2023-07-14 09:42:06 -04:00
Michael Quigley
04b0b64ebf
migrated all usages to the new package (#369) 2023-07-13 14:26:35 -04:00
Michael Quigley
c468c7ace9
environment -> env_v0_3 (#369) 2023-07-11 14:59:02 -04:00
Michael Quigley
ea71493f2f
zrokdir -> environment (#34) 2023-07-10 16:41:16 -04:00
Michael Quigley
75795b326b
cross-wire backend rx/tx (#356) 2023-06-26 16:58:32 -04:00
Michael Quigley
881c263132
fix for frontend detail handler 2023-06-26 16:47:09 -04:00
Michael Quigley
d09140b14e
error message improvements in amqpSink (#351) 2023-06-21 11:43:14 -04:00
Michael Quigley
c2021980fb
lint (#351) 2023-06-21 11:41:13 -04:00
Michael Quigley
5a2f6a1f72
simpler amqp sink approach (#351) 2023-06-21 11:33:43 -04:00
Michael Quigley
aabf695bec
interim step for enhacing ZitiEventJsonSink to support reconnection; bridge and model adjustments (#351) 2023-06-21 10:35:55 -04:00
Michael Quigley
17a2e66cb0
we can only skip missing ziti service ids when augmenting usage with zrok details 2023-06-16 13:51:57 -04:00
Michael Quigley
446485d74c
improved ingest logging 2023-06-16 13:41:53 -04:00
Michael Quigley
15ee4396f4
logging level tweaks 2023-06-16 13:28:41 -04:00
Michael Quigley
23c275f930
better handling of non-zrok usage data 2023-06-16 13:28:00 -04:00
Michael Quigley
36d267256f
tweaks for non-zrok traffic 2023-06-16 13:18:46 -04:00
Michael Quigley
1578ecca98
support for pprof endpoint 2023-06-16 11:52:42 -04:00
Michael Quigley
0e91c2687f
remove extraneous connect() call (#344) 2023-06-16 11:39:55 -04:00
Michael Quigley
dc3648f73d
third attempt at amqp reconnect in amqpSource (#344) 2023-06-15 12:51:39 -04:00
Michael Quigley
2f604d3e71
amqp reconnect tweak 2023-06-14 15:31:11 -04:00
Michael Quigley
d3ea780a1b
fixes for --override-endpoint (#347) 2023-06-14 13:18:44 -04:00
Michael Quigley
ec08ebf16f
Merge pull request #342 from openziti/v0.4.0_account_requests
remove unique constraint on email  to accomodate soft deletes (#338)
2023-06-12 14:05:17 -04:00
Michael Quigley
368ddf5f01
fix for controller shutdown when amqpSource is in reconnecting state (#344) 2023-06-09 12:05:02 -04:00
Michael Quigley
459e0e60a1
rudimentary reconnection support in metrics.amqpSource (#344) 2023-06-09 11:56:58 -04:00
Cam Otts
85616370fc
remove unique constraint on email to accomodate soft deletes 2023-06-07 11:05:59 -05:00
Michael Quigley
edef86d06a
limits.Agent.enforce needs to consider the store.Account.Limitless flag 2023-06-07 11:00:52 -04:00
Michael Quigley
0fa1a350cd
limits.CanAccessShare 2023-06-06 11:29:22 -04:00
Michael Quigley
243261d70a
limits check scaffolding in accessHandler 2023-06-06 10:54:57 -04:00
Michael Quigley
4a789ce341
need this 2023-06-05 16:16:07 -04:00
Michael Quigley
ec48d574fd
allocate an edge management session when it's needed, rather than trying to be efficient and keep one around 2023-06-05 16:01:04 -04:00
Cam Otts
fec0fd9e73
Format changes 2023-05-25 13:59:39 -05:00
Cam Otts
d6d5ac65a3
update deps 2023-05-25 10:50:38 -05:00
Michael Quigley
cf9514a0e1
lint 2023-05-23 14:30:24 -04:00
Michael Quigley
434972a9f1
tweaks to invites configuration and processing (#229) 2023-05-23 14:21:37 -04:00
Michael Quigley
93707b692d
password subsystem tweaks (#167) 2023-05-23 13:51:33 -04:00
Cam Otts
64fbfbf1d3
Enhanced password requirements and relevant ui changes 2023-05-23 10:51:15 -05:00
Cam Otts
6a572c9977
fix amqp 2023-05-22 15:23:55 -05:00
Michael Quigley
b334ff50b2
slight reworking on the configuration-based invite system to include open registration flag, contact details, and store strategy. moved to 'admin' stanza (#229) 2023-05-22 15:42:20 -04:00
Michael Quigley
41c30e4158
Merge branch 'v0.4.0' into v0.4_invite_overhaul 2023-05-22 15:07:24 -04:00
Michael Quigley
390c50b48e
logging lint 2023-05-22 14:54:28 -04:00
Michael Quigley
25116ec0cf
Merge branch 'v0.4.0' into amqp_ack 2023-05-22 14:39:17 -04:00
Michael Quigley
78ea98626d
support deleting multiple service policies in one shot; bug in limits (#329) 2023-05-18 14:25:53 -04:00
Michael Quigley
871bf2d528
make frontend dial policies for private access names more unique (include frontend token) (#329) 2023-05-18 13:19:16 -04:00
Michael Quigley
7963ba83b0
frontend details (#323) 2023-05-17 13:53:18 -04:00
Michael Quigley
05b53df6ba
frontends and data plane connections to owned shares (#323) 2023-05-17 13:21:01 -04:00
Michael Quigley
8a9e02e464
env+shrs -> env+res; making space to return frontends (#323) 2023-05-17 11:23:16 -04:00
Michael Quigley
75376969ca
limit details on explorer nodes (#320) 2023-05-16 13:45:43 -04:00
Michael Quigley
d0cedaf6e5
infrastructure for detecting limited accounts (#320) 2023-05-16 12:05:30 -04:00
Michael Quigley
9591f5150e
new overview response for '/overview' endpoint (#320) 2023-05-16 11:51:03 -04:00
Michael Quigley
7d48683df7
support for displaying limited shares in red in the visualizer (#320) 2023-05-15 14:14:52 -04:00
Michael Quigley
8bf2173c49
tweaks to get environment sparklines running (#327) 2023-05-12 13:24:29 -04:00
Michael Quigley
2655eaefc0
roughed in environment sparklines backend (#327) 2023-05-12 11:57:34 -04:00
Michael Quigley
ce4eac8e4c
metrics improvements (#234) 2023-05-11 15:56:29 -04:00
Michael Quigley
d1688c450d
'activity' (#234) 2023-05-11 15:41:21 -04:00
Michael Quigley
bb2b7c3da7
new sparkline implementation (#325) 2023-05-11 15:21:10 -04:00
Michael Quigley
945090f3e8
share metrics (#324) 2023-05-10 15:15:09 -04:00
Michael Quigley
c193482171
better slice size management? (#324) 2023-05-10 14:59:26 -04:00
Michael Quigley
43e6c56ec1
environment metrics wired in and working (#324) 2023-05-10 14:51:46 -04:00
Michael Quigley
b5b3385b46
recharts; account metrics (#319, #321) 2023-05-10 14:17:10 -04:00
Michael Quigley
7d611fda30
less timeslices in metrics output (#321) 2023-05-10 13:37:07 -04:00
Michael Quigley
e7048e4051
wire in environment and share handlers (#319) 2023-05-09 16:48:11 -04:00
Michael Quigley
3f8c939adb
share metrics handler (#319) 2023-05-09 16:47:22 -04:00
Michael Quigley
02c996b545
environment metrics handler (#319) 2023-05-09 16:36:50 -04:00
Michael Quigley
9f29bb59c7
alternate metrics model with sample objects (#319) 2023-05-09 16:22:30 -04:00
Michael Quigley
6b078abcd7
account metrics endpoint (#319) 2023-05-09 14:16:01 -04:00
Cam Otts
acb3b66342
added ack for amqp messages 2023-05-01 13:45:45 -05:00
Michael Quigley
fcc7699f0e
remove incorrect warnings (#308) 2023-05-01 14:14:13 -04:00
Michael Quigley
148281cb48
fix for panic occurring with missing email configuration for account/environment/share warnings (#296) 2023-05-01 14:03:34 -04:00
Michael Quigley
28916e8d2a
merged tui for tcpTunnel (#307) 2023-05-01 12:19:06 -04:00
Michael Quigley
29c26b94b7
fixes (#170) 2023-04-17 12:47:52 -04:00
Michael Quigley
ab6df21273
update schemas to support 'tunnel' backend mode (#170) 2023-04-17 11:53:18 -04:00
Michael Quigley
fd741353d7
getting a basic tunnel backend plumbed up (#170) 2023-04-14 14:55:49 -04:00
Cam Otts
b7623f80f6
moved token requirement to metadata and provide fields based on that 2023-04-11 18:41:40 -05:00
Michael Quigley
e0e3e0286c
preserve the form of the wss url for websocket_endpoint 2023-04-07 13:15:34 -04:00
Michael Quigley
c8313d12b7
fixes from video (#235) 2023-04-05 13:57:22 -04:00
Michael Quigley
0284e41b55
update config version from 2 to 3 and update reference configuration (#288) 2023-04-05 11:45:47 -04:00
Michael Quigley
ad818e1dfa
removed spark data log lint 2023-04-03 14:33:21 -04:00
Michael Quigley
5146ca8f24
better (?) limit email formatting (#279) 2023-04-03 14:19:43 -04:00
Michael Quigley
6fc794ea50
email subject (#279); record windowed transfer correctly in journals (#273); properly cycle the relax run when inbound usage is happenign (#276) 2023-03-29 17:03:42 -04:00
Michael Quigley
69990447c9
warning graphic for limit email (#279); only run relax actions when reverting a limit not a warning (#276) 2023-03-29 16:24:52 -04:00
Michael Quigley
d3be3195bf
improved warning email text (#279) 2023-03-29 16:14:57 -04:00
Michael Quigley
3c92b9a8d0
share, environment, and account relax actions all support private shares in addition to public shares; consolidated relax code (#278) 2023-03-29 15:08:04 -04:00
Michael Quigley
540e3ffa74
record share identifier for access private frontends (#278) 2023-03-29 14:21:02 -04:00
Michael Quigley
dfb35cc588
store implementation for private_share_id (#278) 2023-03-29 14:05:44 -04:00
Michael Quigley
98d5d20d34
sqlite3 'private_share_id' column in 'frontends' table (#278) 2023-03-29 13:57:15 -04:00
Michael Quigley
73ea6184c5
add 'private_share_id' to store 'frontends' table (#278) 2023-03-29 13:53:14 -04:00
Michael Quigley
f9dc0f6ba1
check limit journals for creating environments or shares (#281) 2023-03-29 13:29:12 -04:00
Michael Quigley
b8aec46548
debug lint (#276) 2023-03-28 15:19:01 -04:00
Michael Quigley
e2d0b7990e
empty metrics data sets are not an error (#280) 2023-03-28 15:06:19 -04:00
Michael Quigley
bd4ce22d97
don't try to replace policies for deleted shares (#276) 2023-03-28 15:05:51 -04:00
Michael Quigley
9a6f6a8e2f
tweaks, improvements, and minor fixes to limits infrastructure as a result of share limit testing (#276) 2023-03-28 14:39:42 -04:00
Michael Quigley
d279fbb8cb
roughed in limit warning email actions (#276) 2023-03-27 15:29:25 -04:00
Michael Quigley
bb61bdb664
limit warning emails (#276) 2023-03-27 15:07:09 -04:00
Michael Quigley
1c544c6c33
acount limit and relax action implementations (#276) 2023-03-27 14:06:57 -04:00
Michael Quigley
a6c2841cf2
environment limit and relax actions (#276) 2023-03-27 14:01:31 -04:00
Michael Quigley
558606fad3
add trx to action interfaces; implement limit and relax for share (#276) 2023-03-27 13:51:48 -04:00
Michael Quigley
44cbb8491c
action execution logic (#276) 2023-03-27 13:00:05 -04:00
Michael Quigley
067d9901d6
account action skeletons (#276) 2023-03-27 11:53:18 -04:00
Michael Quigley
2ab6730e23
environment action skeletons (#276) 2023-03-27 11:43:58 -04:00
Michael Quigley
662693c2c9
share action skeletons (#276) 2023-03-27 11:34:29 -04:00
Michael Quigley
fdc5154873
necessary actions (#276) 2023-03-23 17:16:35 -04:00
Michael Quigley
14c299ee80
strategy -> action (#276) 2023-03-23 17:07:48 -04:00
Michael Quigley
c91fc8ac9e
handlers for account, environment, and strategy (#276) 2023-03-23 17:04:10 -04:00
Michael Quigley
0bed934976
limit relax triggers and associated store tweaks (#273) 2023-03-23 15:13:59 -04:00
Michael Quigley
0ed00ebc2c
to find the current latest journal entries for each account_id (#273) 2023-03-22 15:42:47 -04:00
Michael Quigley
bc5481a249
self -> str 2023-03-22 15:17:27 -04:00
Michael Quigley
12de429ead
lint (#276) 2023-03-22 15:01:05 -04:00
Michael Quigley
b172ca1100
limit journal logic for limits.Agent (#273, #276) 2023-03-22 14:10:07 -04:00
Michael Quigley
b103195f88
working out the hitches in the limit journals (#273) 2023-03-22 13:09:21 -04:00
Michael Quigley
d0dd04a141
share limits check owned by limits.Agent now (#277) 2023-03-21 16:34:45 -04:00
Michael Quigley
79e9f484dc
centralized environment limits check (#277) 2023-03-21 16:18:17 -04:00
Michael Quigley
2ec228c496
basic limits infrastructure for detecting warning and enforcement conditions (#271) 2023-03-21 14:06:23 -04:00
Michael Quigley
73ef98d7a6
queue-based internal design for limits.Agent (#271) 2023-03-21 13:05:22 -04:00
Michael Quigley
7360598df5
naming (#271) 2023-03-21 12:38:31 -04:00
Michael Quigley
40ae2da2c9
better account and environment total efficiency and accuracy; 'bytesRead'/'bytesWritten' -> 'rx'/'tx' (#271) 2023-03-20 15:37:21 -04:00
Michael Quigley
8bf6875c3f
probably not an optimal approach for this flux query, but seems to be working (#271) 2023-03-20 15:05:45 -04:00
Michael Quigley
96d2f15055
working (but not correct) values for account and environment rx/tx (#271) 2023-03-17 14:04:01 -04:00
Michael Quigley
df56e49fab
flux query influx for duration totals (#271) 2023-03-17 13:51:12 -04:00
Michael Quigley
9418195150
more limits.Agent elaboration (#271) 2023-03-17 13:13:33 -04:00
Michael Quigley
b69237e9cc
include rx|tx byte counts in limits journals (#273) 2023-03-17 12:57:26 -04:00
Michael Quigley
0fa682e764
[account|environment|share] limit journals (#273) 2023-03-17 12:02:18 -04:00
Michael Quigley
1af440fa37
limits journals ddl (#273) 2023-03-17 11:46:28 -04:00
Michael Quigley
192a49fe19
wire in the new 'limits.Agent' infrastructure; extend the 'metrics.Agent' to support additional 'metrics.UsageSink' instances (#271) 2023-03-16 15:05:39 -04:00
Michael Quigley
86126b3f53
metrics2 -> metrics (#270) 2023-03-15 16:14:06 -04:00
Michael Quigley
3f7db68ed7
updated websocketSource (#270) 2023-03-15 16:11:12 -04:00
Michael Quigley
89202873bc
incorporate metrics.Agent into the controller (#270) 2023-03-15 16:05:01 -04:00
Michael Quigley
b4d13e15f0
agent (#270) 2023-03-15 15:38:35 -04:00
Michael Quigley
20bd5bbb09
detail cache (#270) 2023-03-15 15:16:48 -04:00
Michael Quigley
8b99d13f40
lint (#270) 2023-03-15 15:13:51 -04:00
Michael Quigley
917226012c
influxWriter (#270) 2023-03-15 15:13:21 -04:00
Michael Quigley
1e9a57cb81
usageIngest (#270) 2023-03-15 15:08:06 -04:00
Michael Quigley
bf43366e40
amqpSource (#270) 2023-03-15 14:52:14 -04:00
Michael Quigley
b420211c8d
lint (#270) 2023-03-15 14:39:25 -04:00
Michael Quigley
182c7bc510
basic amqp bridge (#270) 2023-03-15 13:49:17 -04:00
Michael Quigley
559a59cd8e
revamped fileSource+amqpSink (#270) 2023-03-15 12:47:26 -04:00
Michael Quigley
9ca7dfb102
amqp sender (#270) 2023-03-14 16:23:34 -04:00
Michael Quigley
858872f861
lint 2023-03-14 14:45:44 -04:00
Michael Quigley
66e0c0e479
record environment and account ids on metrics records (#235); 'zrok metrics' -> 'zrok ctrl metrics' (#269) 2023-03-13 16:20:56 -04:00
Michael Quigley
a601600bb4
write circuit data to metrics (#263) 2023-03-13 15:17:07 -04:00
Michael Quigley
d54fefb0fe
consolidated configuration; 'zrok metrics' and 'zrok ctrl' share config (#269) 2023-03-13 14:19:38 -04:00
Michael Quigley
bc1b42d946
incorporate a separate 'warning' and 'limit' threshold (#235) 2023-03-10 14:32:00 -05:00
Michael Quigley
83ab21f00c
roughed in limits model that incorporates bandwidth limit specs (#235) 2023-03-10 14:25:29 -05:00
Michael Quigley
84f5cd4e55
metrics agent needs soft deleted shares; kind of the whole point of soft deletes (#262) 2023-03-10 11:33:06 -05:00
Michael Quigley
fb14b12446
soft deletes for shares (#262) 2023-03-10 11:16:37 -05:00
Michael Quigley
01dd77ca3b
soft deletes for password_reset_request (#262) 2023-03-10 11:14:01 -05:00
Michael Quigley
d900043fa3
soft deletes for invite_tokens (#262) 2023-03-10 11:10:48 -05:00
Michael Quigley
b8d758080b
soft deletes for frontend (#262) 2023-03-10 11:07:57 -05:00
Michael Quigley
77894b18a1
reversing lint (#262) 2023-03-10 11:03:42 -05:00
Michael Quigley
d979d259c4
lint (#262) 2023-03-10 11:00:09 -05:00
Michael Quigley
bf63092cb2
better finder behavior (#262) 2023-03-10 10:57:59 -05:00
Michael Quigley
9da1137a78
soft delete support for account_requests (#262) 2023-03-09 15:29:15 -05:00