Skip to content

Commit

Permalink
Merge pull request #17 from scaleoutsoftware/olivier-main-dynamodb
Browse files Browse the repository at this point in the history
Olivier main dynamodb
  • Loading branch information
ripleyb authored Apr 30, 2024
2 parents 783fd0f + 538222b commit 4065bc6
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -187,6 +187,7 @@ public ModelSchema(
break;
case SQLite:
case SQLServer:
case DynamoDb:
enablePersistence = true;
azureDigitalTwinModelName = null;
break;
Expand Down Expand Up @@ -240,6 +241,7 @@ public ModelSchema(
break;
case SQLite:
case SQLServer:
case DynamoDb:
enablePersistence = true;
azureDigitalTwinModelName = null;
break;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,10 @@ public enum PersistenceProviderType implements Serializable {
* Enum for the Azure Digital Twin service.
*/
AzureDigitalTwinsService("AzureDigitalTwinsService", 1),
/**
* Enum for DynamoDB
*/
DynamoDb("DynamoDB", 5),
/**
* Enum for SQLite
*/
Expand Down Expand Up @@ -62,6 +66,8 @@ public static PersistenceProviderType fromString(String name) {
return SQLite;
case "SQLServer":
return SQLServer;
case "DynamoDB":
return DynamoDb;
default:
return null;
}
Expand All @@ -84,6 +90,8 @@ public static PersistenceProviderType fromOrdinal(int ordinal) {
return SQLServer;
case 4:
return SQLite;
case 5:
return DynamoDb;
default:
return null;
}
Expand Down

0 comments on commit 4065bc6

Please sign in to comment.