update
This commit is contained in:
@@ -4,17 +4,17 @@
|
||||
#
|
||||
# This is serviceA - the sender that sends a dummy dictionary to serviceB
|
||||
|
||||
using NATSBridge
|
||||
using UUIDs
|
||||
using JSON
|
||||
using Dates
|
||||
|
||||
# Include the NATSBridge module
|
||||
include("src/NATSBridge.jl")
|
||||
include("../src/NATSBridge.jl")
|
||||
|
||||
# Configuration
|
||||
const SUBJECT = "/NATSBridge_dict_test"
|
||||
const NATS_URL = "nats://localhost:4222"
|
||||
const FILESERVER_URL = "http://localhost:8080"
|
||||
const NATS_URL = "nats.yiem.cc"
|
||||
const FILESERVER_URL = "http://192.168.88.104:8080"
|
||||
|
||||
# Create correlation ID for tracing
|
||||
correlation_id = string(uuid4())
|
||||
@@ -47,7 +47,7 @@ function send_dictionary()
|
||||
),
|
||||
"metadata" => Dict(
|
||||
"sender" => "serviceA",
|
||||
"timestamp" => Dates.now().iso8601
|
||||
"timestamp" => string(Dates.now())
|
||||
)
|
||||
)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user