mirror of
https://github.com/VinylDNS/vinyldns
synced 2025-08-30 05:47:56 +00:00
fix recordsetrepo, conf for running mysql (#365)
* fix recordsetrepo, conf for running mysql
This commit is contained in:
parent
ad99525cdf
commit
97bf1b50f9
@ -29,6 +29,7 @@ akka.http {
|
||||
}
|
||||
|
||||
vinyldns {
|
||||
data-stores = ["mysql", "dynamodb"]
|
||||
|
||||
mysql {
|
||||
settings {
|
||||
|
@ -51,8 +51,6 @@ vinyldns {
|
||||
port = 9000
|
||||
}
|
||||
|
||||
data-stores = ["mysql", "dynamodb"]
|
||||
|
||||
mysql {
|
||||
class-name = "vinyldns.mysql.repository.MySqlDataStoreProvider"
|
||||
|
||||
|
@ -233,6 +233,7 @@ object MySqlRecordSetRepository extends ProtobufConversions {
|
||||
case RecordType.SRV => 8
|
||||
case RecordType.SSHFP => 9
|
||||
case RecordType.TXT => 10
|
||||
case RecordType.SOA => 11
|
||||
case RecordType.UNKNOWN => unknownRecordType
|
||||
}
|
||||
}
|
||||
|
@ -32,6 +32,7 @@ class MySqlRecordSetRepositorySpec extends WordSpec with Matchers {
|
||||
fromRecordType(RecordType.SRV) shouldBe 8
|
||||
fromRecordType(RecordType.SSHFP) shouldBe 9
|
||||
fromRecordType(RecordType.TXT) shouldBe 10
|
||||
fromRecordType(RecordType.SOA) shouldBe 11
|
||||
fromRecordType(RecordType.UNKNOWN) shouldBe unknownRecordType
|
||||
}
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user