From 9fa93e0449342b68c47cd03c55ca28a8514364d4 Mon Sep 17 00:00:00 2001 From: Christy Jacob Date: Wed, 27 Sep 2023 22:13:03 +0000 Subject: [PATCH] chore: review comments --- app/controllers/api/health.php | 18 +++++++++--------- composer.lock | 14 +++++++------- 2 files changed, 16 insertions(+), 16 deletions(-) diff --git a/app/controllers/api/health.php b/app/controllers/api/health.php index b2cf8676f7..2b41e2fef8 100644 --- a/app/controllers/api/health.php +++ b/app/controllers/api/health.php @@ -166,7 +166,7 @@ App::get('/v1/health/cache') }); App::get('/v1/health/queue') - ->desc('Get Queue') + ->desc('Get queue') ->groups(['api', 'health']) ->label('scope', 'health.read') ->label('sdk.auth', [APP_AUTH_TYPE_KEY]) @@ -223,7 +223,7 @@ App::get('/v1/health/queue') }); App::get('/v1/health/pubsub') - ->desc('Get PubSub') + ->desc('Get pubsub') ->groups(['api', 'health']) ->label('scope', 'health.read') ->label('sdk.auth', [APP_AUTH_TYPE_KEY]) @@ -354,7 +354,7 @@ App::get('/v1/health/queue/webhooks') }, ['response']); App::get('/v1/health/queue/logs') - ->desc('Get Logs Queue') + ->desc('Get logs queue') ->groups(['api', 'health']) ->label('scope', 'health.read') ->label('sdk.auth', [APP_AUTH_TYPE_KEY]) @@ -388,7 +388,7 @@ App::get('/v1/health/queue/certificates') }, ['response']); App::get('/v1/health/queue/builds') - ->desc('Get Builds Queue') + ->desc('Get builds queue') ->groups(['api', 'health']) ->label('scope', 'health.read') ->label('sdk.auth', [APP_AUTH_TYPE_KEY]) @@ -405,7 +405,7 @@ App::get('/v1/health/queue/builds') }, ['response']); App::get('/v1/health/queue/databases') - ->desc('Get Databases Queue') + ->desc('Get databases queue') ->groups(['api', 'health']) ->label('scope', 'health.read') ->label('sdk.auth', [APP_AUTH_TYPE_KEY]) @@ -422,7 +422,7 @@ App::get('/v1/health/queue/databases') }, ['response']); App::get('/v1/health/queue/deletes') - ->desc('Get Deletes Queue') + ->desc('Get deletes queue') ->groups(['api', 'health']) ->label('scope', 'health.read') ->label('sdk.auth', [APP_AUTH_TYPE_KEY]) @@ -439,7 +439,7 @@ App::get('/v1/health/queue/deletes') }, ['response']); App::get('/v1/health/queue/mails') - ->desc('Get Mails Queue') + ->desc('Get mails queue') ->groups(['api', 'health']) ->label('scope', 'health.read') ->label('sdk.auth', [APP_AUTH_TYPE_KEY]) @@ -456,7 +456,7 @@ App::get('/v1/health/queue/mails') }, ['response']); App::get('/v1/health/queue/messaging') - ->desc('Get Messaging Queue') + ->desc('Get messaging queue') ->groups(['api', 'health']) ->label('scope', 'health.read') ->label('sdk.auth', [APP_AUTH_TYPE_KEY]) @@ -473,7 +473,7 @@ App::get('/v1/health/queue/messaging') }, ['response']); App::get('/v1/health/queue/migrations') - ->desc('Get Migrations Queue') + ->desc('Get migrations queue') ->groups(['api', 'health']) ->label('scope', 'health.read') ->label('sdk.auth', [APP_AUTH_TYPE_KEY]) diff --git a/composer.lock b/composer.lock index 45c5cdb087..4bee848a3e 100644 --- a/composer.lock +++ b/composer.lock @@ -3434,16 +3434,16 @@ }, { "name": "doctrine/deprecations", - "version": "v1.1.1", + "version": "1.1.2", "source": { "type": "git", "url": "https://github.com/doctrine/deprecations.git", - "reference": "612a3ee5ab0d5dd97b7cf3874a6efe24325efac3" + "reference": "4f2d4f2836e7ec4e7a8625e75c6aa916004db931" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/doctrine/deprecations/zipball/612a3ee5ab0d5dd97b7cf3874a6efe24325efac3", - "reference": "612a3ee5ab0d5dd97b7cf3874a6efe24325efac3", + "url": "https://api.github.com/repos/doctrine/deprecations/zipball/4f2d4f2836e7ec4e7a8625e75c6aa916004db931", + "reference": "4f2d4f2836e7ec4e7a8625e75c6aa916004db931", "shasum": "" }, "require": { @@ -3475,9 +3475,9 @@ "homepage": "https://www.doctrine-project.org/", "support": { "issues": "https://github.com/doctrine/deprecations/issues", - "source": "https://github.com/doctrine/deprecations/tree/v1.1.1" + "source": "https://github.com/doctrine/deprecations/tree/1.1.2" }, - "time": "2023-06-03T09:27:29+00:00" + "time": "2023-09-27T20:04:15+00:00" }, { "name": "doctrine/instantiator", @@ -6019,5 +6019,5 @@ "platform-overrides": { "php": "8.0" }, - "plugin-api-version": "2.3.0" + "plugin-api-version": "2.6.0" }