Skip to content

Commit

Permalink
Reformat using .editorconfig
Browse files Browse the repository at this point in the history
  • Loading branch information
tommy-ocs committed Oct 3, 2024
1 parent f9bea76 commit 289611c
Show file tree
Hide file tree
Showing 299 changed files with 14,574 additions and 14,672 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -9,9 +9,9 @@
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
*
* http://www.apache.org/licenses/LICENSE-2.0
*
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
Expand All @@ -21,13 +21,13 @@
*/

public interface BedrockProperties {
boolean isEnabled();
boolean isEnabled();

String getAccessKey();
String getAccessKey();

String getAccessSecret();
String getAccessSecret();

String getModelId();
String getModelId();

String getRegion();
String getRegion();
}
Original file line number Diff line number Diff line change
Expand Up @@ -9,9 +9,9 @@
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
*
* http://www.apache.org/licenses/LICENSE-2.0
*
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
Expand All @@ -21,13 +21,13 @@
*/

public interface CsvProperties {
char getEscapeChar();
char getEscapeChar();

char getQuoteChar();
char getQuoteChar();

char getSeparatorChar();
char getSeparatorChar();

Integer getMaxRowsBeforeStreaming();
Integer getMaxRowsBeforeStreaming();

boolean isThousandsGrouping();
boolean isThousandsGrouping();
}
Original file line number Diff line number Diff line change
Expand Up @@ -9,9 +9,9 @@
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
*
* http://www.apache.org/licenses/LICENSE-2.0
*
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
Expand All @@ -23,48 +23,48 @@
import org.dynamoframework.domain.model.*;

public interface DefaultProperties {
AttributeBooleanFieldMode getBooleanFieldMode();
AttributeBooleanFieldMode getBooleanFieldMode();

String getDateFormat();
String getDateFormat();

String getDateTimeFormat();
String getDateTimeFormat();

Integer getDecimalPrecision();
Integer getDecimalPrecision();

ElementCollectionMode getElementCollectionMode();
ElementCollectionMode getElementCollectionMode();

AttributeEnumFieldMode getEnumFieldMode();
AttributeEnumFieldMode getEnumFieldMode();

String getFalseRepresentation();
String getFalseRepresentation();

java.util.Map<String, String> getFalseRepresentations();
java.util.Map<String, String> getFalseRepresentations();

java.util.Map<String, String> getTrueRepresentations();
java.util.Map<String, String> getTrueRepresentations();

String getTrueRepresentation();
String getTrueRepresentation();

GroupTogetherMode getGroupTogetherMode();
GroupTogetherMode getGroupTogetherMode();

Integer getGroupTogetherWidth();
Integer getGroupTogetherWidth();

java.util.Locale getLocale();
java.util.Locale getLocale();

Integer getNestingDepth();
Integer getNestingDepth();

NumberFieldMode getNumberFieldMode();
NumberFieldMode getNumberFieldMode();

boolean isSearchCaseSensitive();
boolean isSearchCaseSensitive();

boolean isSearchPrefixOnly();
boolean isSearchPrefixOnly();

String getTimeFormat();
String getTimeFormat();

boolean isUsePromptValue();
boolean isUsePromptValue();

boolean isTrimSpaces();
boolean isTrimSpaces();

String getAiService();
String getAiService();

EndpointProperties getEndpoints();
EndpointProperties getEndpoints();
}

Original file line number Diff line number Diff line change
Expand Up @@ -9,9 +9,9 @@
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
*
* http://www.apache.org/licenses/LICENSE-2.0
*
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
Expand All @@ -21,12 +21,19 @@
*/

public interface DynamoProperties {
boolean isCapitalizePropertyNames();
DefaultProperties getDefaults();
CsvProperties getCsv();
OpenAiProperties getOpenai();
OllamaProperties getOllama();
VertexAiProperties getVertexai();
BedrockProperties getBedrock();
String getUnaccentFunctionName();
boolean isCapitalizePropertyNames();

DefaultProperties getDefaults();

CsvProperties getCsv();

OpenAiProperties getOpenai();

OllamaProperties getOllama();

VertexAiProperties getVertexai();

BedrockProperties getBedrock();

String getUnaccentFunctionName();
}
Original file line number Diff line number Diff line change
Expand Up @@ -9,9 +9,9 @@
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
*
* http://www.apache.org/licenses/LICENSE-2.0
*
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
Expand All @@ -22,10 +22,15 @@

public interface EndpointProperties {

String getExport();
String getAutofill();
String getStatus();
String getFile();
String getCrud();
String getModel();
String getExport();

String getAutofill();

String getStatus();

String getFile();

String getCrud();

String getModel();
}
Original file line number Diff line number Diff line change
Expand Up @@ -9,9 +9,9 @@
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
*
* http://www.apache.org/licenses/LICENSE-2.0
*
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
Expand All @@ -21,9 +21,9 @@
*/

public interface OllamaProperties {
boolean isEnabled();
boolean isEnabled();

String getUrl();
String getUrl();

String getModel();
String getModel();
}
Original file line number Diff line number Diff line change
Expand Up @@ -9,9 +9,9 @@
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
*
* http://www.apache.org/licenses/LICENSE-2.0
*
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
Expand All @@ -21,11 +21,11 @@
*/

public interface OpenAiProperties {
boolean isEnabled();
boolean isEnabled();

String getApiKey();
String getApiKey();

String getModel();
String getModel();

Integer getMaxTokens();
Integer getMaxTokens();
}
Original file line number Diff line number Diff line change
Expand Up @@ -9,9 +9,9 @@
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
*
* http://www.apache.org/licenses/LICENSE-2.0
*
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
Expand All @@ -21,11 +21,11 @@
*/

public interface VertexAiProperties {
boolean isEnabled();
boolean isEnabled();

String getProjectId();
String getProjectId();

String getProjectRegion();
String getProjectRegion();

String getModel();
String getModel();
}
Original file line number Diff line number Diff line change
Expand Up @@ -9,9 +9,9 @@
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
*
* http://www.apache.org/licenses/LICENSE-2.0
*
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
Expand All @@ -30,20 +30,20 @@
@UtilityClass
public class DynamoConstants {

/**
* The default ID field
*/
public static final String ID = "id";
/**
* The default ID field
*/
public static final String ID = "id";

/**
* Constant to use when searching for multiple IDs
*/
public static final String IDS = "ids";
/**
* Constant to use when searching for multiple IDs
*/
public static final String IDS = "ids";

/**
* The version field used for optimistic locking
*/
public static final String VERSION = "version";
/**
* The version field used for optimistic locking
*/
public static final String VERSION = "version";


}
Loading

0 comments on commit 289611c

Please sign in to comment.