drogue-iot / drogue-cloud

Cloud Native IoT
https://drogue.io
Apache License 2.0
113 stars 30 forks source link

[refactor] drop unused whoami path and drop redundant endpoints info #358

Open jbtrystram opened 1 year ago

jbtrystram commented 1 year ago

As far as I can see, the whoami endpoint is not used anymore in the console as it pull the username from the oauth token claim. In the case where we need to keep it (to use with an access token? Is that a use case ? ) we could move it to /api/console/v1alpha1/user/whoami in order to prevent the clash with the apps managements paths.

jbtrystram commented 1 year ago

/test

drogue-bot commented 1 year ago

Aye, aye, captain! … Triggered System Test worklow!

drogue-bot commented 1 year ago
Total Passed Failed Ignored Filtered Duration
148 10 138 0 0 20m 23s

Git: https://github.com/drogue-iot/drogue-cloud @ refs/heads/refactor/drop_whoami

Commit: 699dd200bcd9ba053872df2e2b3d172b1b024b0a
Author: jbtrystram <jbtrystram@redhat.com>
Date: Wed, 23 Nov 2022 10:01:30 -0100

    [refactor] drop unused whoami path and drop redundant endpoints info resources

Job: https://github.com/drogue-iot/drogue-cloud-testing/actions/runs/3532827059

Report: https://drogue-iot.github.io/drogue-cloud-testing/test-report/2022/11/23/test-run-3532827059.html

drogue-bot commented 1 year ago
Total Passed Failed Ignored Filtered Duration
148 10 138 0 0 20m 23s

Git: https://github.com/drogue-iot/drogue-cloud @ refs/heads/refactor/drop_whoami

Commit: 699dd200bcd9ba053872df2e2b3d172b1b024b0a
Author: jbtrystram <jbtrystram@redhat.com>
Date: Wed, 23 Nov 2022 10:01:30 -0100

    [refactor] drop unused whoami path and drop redundant endpoints info resources

Job: https://github.com/drogue-iot/drogue-cloud-testing/actions/runs/3532827059

Report: https://drogue-iot.github.io/drogue-cloud-testing/test-report/2022/11/23/test-run-3532827059.html

jbtrystram commented 1 year ago

/test

drogue-bot commented 1 year ago

Aye, aye, captain! … Triggered System Test worklow!

drogue-bot commented 1 year ago
Total Passed Failed Ignored Filtered Duration
148 10 138 0 0 20m 50s

Git: https://github.com/drogue-iot/drogue-cloud @ refs/heads/refactor/drop_whoami

Commit: 2193e4d6cf9d230e493e6a6948bfd44f667aeaf4
Author: jbtrystram <jbtrystram@redhat.com>
Date: Tue, 31 Jan 2023 14:37:22 -0100

    [refactor] drop unused whoami path and drop redundant endpoints info resources

Job: https://github.com/drogue-iot/drogue-cloud-testing/actions/runs/4055727686

Report: https://drogue-iot.github.io/drogue-cloud-testing/test-report/2023/01/31/test-run-4055727686.html

drogue-bot commented 1 year ago
Total Passed Failed Ignored Filtered Duration
148 10 138 0 0 20m 50s

Git: https://github.com/drogue-iot/drogue-cloud @ refs/heads/refactor/drop_whoami

Commit: 2193e4d6cf9d230e493e6a6948bfd44f667aeaf4
Author: jbtrystram <jbtrystram@redhat.com>
Date: Tue, 31 Jan 2023 14:37:22 -0100

    [refactor] drop unused whoami path and drop redundant endpoints info resources

Job: https://github.com/drogue-iot/drogue-cloud-testing/actions/runs/4055727686

Report: https://drogue-iot.github.io/drogue-cloud-testing/test-report/2023/01/31/test-run-4055727686.html