diff --git a/.gitignore b/.gitignore index f65251e..1485220 100644 --- a/.gitignore +++ b/.gitignore @@ -36,6 +36,12 @@ harness/var/goleveldb_data/CURRENT harness/var/goleveldb_data/LOG +harness/var/*.* + +harness/redis/*.* + +*.pprof + harness/var/goleveldb_data/CURRENT harness/var/goleveldb_data/CURRENT @@ -47,3 +53,4 @@ harness/var/goleveldb_data/CURRENT harness/var/goleveldb_data/LOCK harness/var/goleveldb_data/LOG + diff --git a/harness/nias.toml b/harness/nias.toml index fc940ee..ac031c5 100755 --- a/harness/nias.toml +++ b/harness/nias.toml @@ -8,6 +8,8 @@ TestYear = "2017" # Validations to invoke # ValidationRoute = ["schema", "local", "id", "dob", "asl"] +# ValidationRoute = ["schema", "id", "dob", "asl", "psi"] +# ValidationRoute = ["schema", "asl", "dob", "id"] ValidationRoute = ["schema", "schema2", "id", "dob", "asl", "psi", "numericvalid"] SSFRoute = ["privacy"] SMSRoute = ["sif2graph"] @@ -57,4 +59,5 @@ PoolSize = 3 # Remember to set -cluster_id of streaming server to 'nias' if used. MsgTransport = "NATS" +# MsgTransport = "MEM" # ============================================================================ diff --git a/lib/ledis.go b/lib/ledis.go index 25bc645..45681c0 100644 --- a/lib/ledis.go +++ b/lib/ledis.go @@ -10,10 +10,10 @@ import ( "log" ) -const DEF_STORAGE_DB_ADDRESS = "127.0.0.1:6379" -const DEF_STORAGE_DB_PROXY_ADDRESS = "127.0.0.1:6379" -const DEF_LOOKUP_DB_ADDRESS = "127.0.0.1:6380" -const DEF_LOOKUP_DB_PROXY_ADDRESS = "127.0.0.1:6380" +const DEF_STORAGE_DB_ADDRESS = "127.0.0.1:6397" +const DEF_STORAGE_DB_PROXY_ADDRESS = "127.0.0.1:6397" +const DEF_LOOKUP_DB_ADDRESS = "127.0.0.1:6399" +const DEF_LOOKUP_DB_PROXY_ADDRESS = "127.0.0.1:6399" // alternative ports for db clustering; twemproxy, xcodis etc. // const DEF_DB_ADDRESS = "127.0.0.1:6379"