Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -441,6 +441,7 @@ public ModelSchema(
case SQLServer:
case DynamoDb:
case CosmosDb:
case Warp10:
enablePersistence = true;
azureDigitalTwinModelName = null;
break;
Expand Down Expand Up @@ -619,6 +620,7 @@ public ModelSchema(
case SQLServer:
case DynamoDb:
case CosmosDb:
case Warp10:
enablePersistence = true;
azureDigitalTwinModelName = null;
break;
Expand Down Expand Up @@ -683,6 +685,7 @@ public ModelSchema(
case SQLServer:
case DynamoDb:
case CosmosDb:
case Warp10:
enablePersistence = true;
azureDigitalTwinModelName = null;
break;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -44,6 +44,11 @@ public enum PersistenceProviderType implements Serializable {
*/
SQLServer("SQLServer", 3),

/**
* Enum for SenX Warp10
*/
Warp10("Warp10", 7),

/**
* Enum for an unconfigured PersistenceProvider
*/
Expand Down Expand Up @@ -92,6 +97,8 @@ public static PersistenceProviderType fromString(String name) {
return DynamoDb;
case "Azure Cosmos DB":
return CosmosDb;
case "Warp10":
return Warp10;
case "Default":
case "default":
return Unconfigured;
Expand Down Expand Up @@ -123,6 +130,8 @@ public static PersistenceProviderType fromOrdinal(int ordinal) {
return DynamoDb;
case 6:
return CosmosDb;
case 7:
return Warp10;
default:
return null;
}
Expand Down