Section V - service testing
./scripts/curl-sourcing.sh{
"status": "OK"
}Kafka genesis Topic
./kafka_2.13-2.6.0/bin/kafka-console-consumer.sh --bootstrap-server localhost:9092 --topic genesis --from-beginning{
"_id":"order~clothing~iStore~5000",
"_rev":"4",
"source_name":"iStore",
"source_uid":5000,
"category":"order",
"subcategory":"clothing",
"author":"istore_app",
"process_ind":false,
"last_updated":1604259792,
"data_usage_agreements":[
{
"agreement_name":"billing",
"location":"www.dua.org/billing.pdf",
"agreed_dtm":1553988607
}
],
"data_tracker":{
"chain":[
{
"identifier":{
"data_id":"order~clothing~iStore~5000",
"index":0,
"timestamp":0,
"actor_id":"",
"previous_hash":"0"
},
"hash":"72259503327276020952102368672148358485",
"nonce":5
}
]
},
"meta_data":{
"content-type":"application/json"
},
"tags":[
],
"data_obj":[
123,
10,
9,
34,
113,
117,
97,
110,
116,
105,
116,
121,
34,
58,
32,
49,
44,
10,
9,
34,
115,
116,
97,
116,
117,
115,
34,
58,
34,
110,
101,
119,
34,
10,
125
]
}Local Storage
PreviousSection IV - starting the serviceNextModule IV - Building a Genesis Microservice for Processing the Sourced Data
Last updated