Skip to content

Commit 0f1be2e

Browse files
committed
Refactor camel case.
1 parent 8786be3 commit 0f1be2e

File tree

4 files changed

+9
-5
lines changed

4 files changed

+9
-5
lines changed

admin-cli/src/main/java/cloud/katta/cli/KattaSetupCli.java

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,13 +4,17 @@
44

55
package cloud.katta.cli;
66

7-
import cloud.katta.cli.commands.*;
7+
import cloud.katta.cli.commands.AuthorizationCode;
8+
import cloud.katta.cli.commands.AwsStsSetup;
9+
import cloud.katta.cli.commands.StorageProfileArchive;
10+
import cloud.katta.cli.commands.StorageProfileAwsStaticSetup;
11+
import cloud.katta.cli.commands.StorageProfileAwsStsSetup;
812
import picocli.CommandLine;
913

1014
@CommandLine.Command(name = "katta-admin-cli",
1115
mixinStandardHelpOptions = true,
1216
subcommands = {
13-
AwsSTSSetup.class, CommandLine.HelpCommand.class, StorageProfileAWSSTSSetup.class, StorageProfileAWSStaticSetup.class,
17+
AwsStsSetup.class, CommandLine.HelpCommand.class, StorageProfileAwsStsSetup.class, StorageProfileAwsStaticSetup.class,
1418
AuthorizationCode.class,
1519
StorageProfileArchive.class
1620
})

admin-cli/src/main/java/cloud/katta/cli/commands/AwsSTSSetup.java renamed to admin-cli/src/main/java/cloud/katta/cli/commands/AwsStsSetup.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,7 @@
5454
* See also: <a href="https://github.com/shift7-ch/katta-docs/blob/main/SETUP_KATTA_SERVER.md#setup-aws">Katta Docs</a>.
5555
*/
5656
@CommandLine.Command(name = "awsSetup", description = "Setup/update OIDC provider and roles for STS in AWS.", mixinStandardHelpOptions = true)
57-
public class AwsSTSSetup implements Callable<Void> {
57+
public class AwsStsSetup implements Callable<Void> {
5858

5959
@CommandLine.Option(names = {"--realmUrl"}, description = "Keycloak realm URL with scheme. Example: \"https://testing.katta.cloud/kc/realms/tamarind\"", required = true)
6060
String realmUrl;

admin-cli/src/main/java/cloud/katta/cli/commands/StorageProfileAWSStaticSetup.java renamed to admin-cli/src/main/java/cloud/katta/cli/commands/StorageProfileAwsStaticSetup.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@
2525
@CommandLine.Command(name = "storageProfileAWSStatic",
2626
description = "Upload storage profile for AWS Static.",
2727
mixinStandardHelpOptions = true)
28-
public class StorageProfileAWSStaticSetup extends AbstractAuthorizationCode implements Callable<Void> {
28+
public class StorageProfileAwsStaticSetup extends AbstractAuthorizationCode implements Callable<Void> {
2929
@CommandLine.Option(names = {"--hubUrl"}, description = "Hub URL. Example: \"https://testing.katta.cloud/tamarind\"", required = true)
3030
String hubUrl;
3131

admin-cli/src/main/java/cloud/katta/cli/commands/StorageProfileAWSSTSSetup.java renamed to admin-cli/src/main/java/cloud/katta/cli/commands/StorageProfileAwsStsSetup.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@
2828
@CommandLine.Command(name = "storageProfileAWSSTS",
2929
description = "Upload storage profile for AWS STS.",
3030
mixinStandardHelpOptions = true)
31-
public class StorageProfileAWSSTSSetup extends AbstractAuthorizationCode implements Callable<Void> {
31+
public class StorageProfileAwsStsSetup extends AbstractAuthorizationCode implements Callable<Void> {
3232

3333
@CommandLine.Option(names = {"--hubUrl"}, description = "Hub URL. Example: \"https://testing.katta.cloud/tamarind\"", required = true)
3434
String hubUrl;

0 commit comments

Comments
 (0)