Skip to content

Commit

Permalink
Support for DynamoDB persistence provider
Browse files Browse the repository at this point in the history
  • Loading branch information
olivier-tritschler committed Apr 30, 2024
1 parent 7577ec1 commit 538222b
Show file tree
Hide file tree
Showing 2 changed files with 6 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 @@ -66,6 +66,8 @@ public static PersistenceProviderType fromString(String name) {
return SQLite;
case "SQLServer":
return SQLServer;
case "DynamoDB":
return DynamoDb;
default:
return null;
}
Expand All @@ -88,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 538222b

Please sign in to comment.