Граф коммитов

63 Коммитов

Автор SHA1 Сообщение Дата
Amber Brown b53b70171e nextUUID -> newUUID 2022-07-28 13:21:57 +10:00
Amber Brown d9f33a0dc6 consistently use our uuids 2022-07-27 15:07:29 +10:00
Amber Brown 96a1386aaf fix the portal API tests to use the UUID generation where needed, and don't use the mock db for absolutely nothing 2022-07-27 13:38:00 +10:00
Jeremy Facchetti 8d6d4c3a95
added yaml lint (#2132)
* added yaml lint

* updated the doc
2022-05-27 13:10:11 -04:00
Jeremy Facchetti fdfd3900b4
added stylecheck and moved golangci-lint to a github action (#2083)
* enabled github action instead of running from ADO

* fixed style

* fixed some style

fixed styling

fixed failing tests because of case on errs
2022-05-02 10:38:27 -04:00
Aman Verma a53082acb9
Enable first basic linters in ARO (#2060)
* Enable first basic linters in ARO

* Remove modules-download-mode from the linter run config
2022-04-19 12:35:01 -04:00
Jeremy Facchetti d9d9fa0ed5 renamed oddly named metrics.Interface to Emitter 2022-04-11 15:27:22 +02:00
Ellis Johnson bedce2b2b0
Admin Portal v2 (#2019)
Add in sre portal v2, still default to v1

Co-authored-by: Amber Brown <ambrown@redhat.com>
Co-authored-by: Brett Embery <bembery@redhat.com>
Co-authored-by: Ben Vesel <10840174+bennerv@users.noreply.github.com>
2022-04-06 09:06:11 -04:00
Ellis Johnson ae9ee05b9f Build portal modules 2021-12-08 16:17:39 +11:00
Mikalai Radchuk ad846b0f1d Fixes rendering of SRE portal 2021-12-07 16:17:53 +00:00
Amber Brown ce0c6551e4 fix code drift 2021-11-08 12:45:41 +11:00
Amber Brown 46cee89bbd cleanup import names 2021-11-08 12:45:41 +11:00
Amber Brown 6a023afc1f Change the Admin Portal APIs for more consistency while we have a chance to 2021-11-08 12:45:41 +11:00
Amber Brown 0a236a3dae Minor code nit cleanups 2021-11-08 12:45:41 +11:00
Ellis Johnson 136fbbe5bc Update architecture version 2021-11-08 12:45:41 +11:00
Ellis Johnson 521538cd9e Finalised cluster details overview mvp 2021-11-08 12:45:41 +11:00
Ellis Johnson e4da2a88c7 Finished baseline grouped list for basic cluster information 2021-11-08 12:45:41 +11:00
Ellis Johnson a75cebbab3 Fixed 500 http error on call out to cosmodb 2021-11-08 12:45:41 +11:00
Brett Embery c6163969c8 Changed explict regex for resource ID parsing for azure.ParseResourceID 2021-11-08 12:45:41 +11:00
Ellis Johnson d52985f8b6 Connected openshiftclusterdocument information to frontend API 2021-11-08 12:45:41 +11:00
Ellis Johnson c4afb3936e Added last modified field 2021-11-08 12:45:41 +11:00
Ellis Johnson 848b511332 Added extra cluster list fields and added new icon and button for openshift console 2021-11-08 12:45:41 +11:00
Brett Embery ccb183b226 Add id, name, subscription to portal API 2021-11-08 12:45:41 +11:00
Amber Brown ce257dfbef cleanups and documentation 2021-11-08 12:45:41 +11:00
Amber Brown 0212d98612 wire cluster operator fetcher into portal api 2021-11-08 12:45:41 +11:00
Amber Brown 2679a4f0df initial portal fetching interface + fetch code for cluster operators 2021-11-08 12:45:41 +11:00
Amber Brown 9be28cafbd add a clusteroperator document for testing 2021-11-08 12:45:41 +11:00
Amber Brown d50ed565cd Changes for the front-end to run 2021-11-08 12:45:41 +11:00
Amber Brown 685f32dfd5 Add rp version 2021-11-08 12:45:41 +11:00
Amber Brown 31f1555f43 Refactor the portal cluster API and introduce an info API for getting RP info to the frontend 2021-11-08 12:45:41 +11:00
Amber Brown eac12cdc44
Merge pull request #1721 from mjudeikis/ssh.cleaning
Clean SSH Proxy
2021-10-11 11:17:00 +11:00
swiencki 6f3ca5136d Cloud Aware for Oauth Endpoints 2021-10-04 14:28:22 -07:00
Mangirdas Judeikis a8f6664f88
error revert 2021-09-03 14:27:05 +01:00
Mangirdas Judeikis 59cf5c181b
handle dead conns 2021-09-03 14:17:10 +01:00
Mangirdas Judeikis 6434b03883
rename and keep-alive 2021-09-03 12:44:08 +01:00
Jim Minter 4006cf08a7 add missing heartbeat metrics 2021-08-19 10:36:46 -04:00
bennerv c496a944b0 Add todo info about a race in a unit test 2021-07-07 17:27:17 -04:00
Peter Kostyukov 0f611469cd Adj poller to check for payload 2021-07-01 12:20:03 -05:00
Nils Elde 4c59ba73f5 use AROEnvironment everywhere 2021-06-24 10:19:16 -04:00
Amber Brown 3f1db40bec Make the admin portal REST API not perform redirects if user is not authenticated, introduce new API for that and reorganise slightly 2021-06-21 13:48:39 +10:00
Amber Brown c0ea3615bd Perform some polling to sidestep a race condition that I'm not sure we can wait on deterministically. It usually takes a few ms, but wait up to a second just in case of system pauses 2021-05-11 14:13:31 +10:00
Amber Brown f4c6a0cfb8 Revert "Merge pull request #1479 from mjudeikis/revert.portal"
This reverts commit 11fba06fd7, reversing
changes made to 4039d66ac8.
2021-05-11 14:13:31 +10:00
Mangirdas Judeikis c2d7b5027e
Revert "Merge pull request #1404 from hawkowl/hawkowl/portal-webpack"
This reverts commit a6c6619a93, reversing
changes made to eb247dbc7f.
2021-05-06 16:28:53 +01:00
Amber Brown 940877a61b regenerate portal + regenerate bindata for portal 2021-05-04 15:05:22 +10:00
Amber Brown 93de192725 Move to portal/ directory and use webpack to build 2021-05-04 15:05:03 +10:00
Jim Minter 2a869d0671
move Verifier to pkg/util/oidc 2021-04-26 13:56:50 -05:00
Jim Minter 81229ae196
for clarity, rename IsDevelopmentMode -> IsLocalDevelopmentMode 2021-04-23 10:25:46 -05:00
Ivan Sim 5eb56f7ed3
Add IFxAudit Logging To Admin Portal (#1411)
* Add ifxaudit logging to admin portal

Signed-off-by: Ivan Sim <isim@redhat.com>

* Update comment in test

Signed-off-by: Ivan Sim <isim@redhat.com>
2021-04-20 10:01:06 +01:00
Jim Minter 7125700728
remove unused isDevelopment 2021-04-08 09:12:13 -05:00
Jim Minter 10554999eb
remove pkg/util/deployment and revert to isDevelopment bool 2021-04-08 09:12:13 -05:00