This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[ | |
{ | |
"bill@acmesoft.com":{ | |
"passwordAge":4343100, | |
"Name":"Bill SysAdmin", | |
"Password":"f1f16683f3e0208131b46d37a79c8921" | |
} | |
}, | |
{ | |
"jill@acmesoft.com":{ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"bill@acmesoft.com":{ | |
"passwordAge":"\u0000BE<", | |
"Name":"Bill SysAdmin", | |
"Password":"f1f16683f3e0208131b46d37a79c8921" | |
} | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"bill@acmesoft.com":{ | |
"passwordAge":4343100, | |
"Name":"Bill SysAdmin", | |
"Password":"f1f16683f3e0208131b46d37a79c8921" | |
} | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{"bill@acmesoft.com":{"passwordAge":4343100,"Name":"Bill SysAdmin","Password":"f1f16683f3e0208131b46d37a79c8921"}} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<flow name="AccountDelete" doc:name="AccountGet"> | |
<http:inbound-endpoint | |
exchange-pattern="request-response" | |
host="localhost" | |
port="8081" | |
path="account/delete"/> | |
<cassandradb:remove config-ref="CassandraDB" | |
columnPath="Accounts:#[message.inboundProperties['http.relative.path'].split('/')[1]]" | |
rowKey="#[message.inboundProperties['http.relative.path'].split('/')[0]]" doc:name="Cassandradb"/> | |
<json:object-to-json-transformer /> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<flow name="AccountList" doc:name="AccountsList"> | |
<http:inbound-endpoint | |
exchange-pattern="request-response" | |
host="localhost" port="8081" | |
path="account/list"/> | |
<cassandradb:get-slice | |
config-ref="CassandraDB" | |
rowKey="#[message.inboundProperties['http.relative.path'].split('/')[0]]" | |
columnParent="Accounts" count="100"> | |
<cassandradb:column-serializer |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<flow name="AccountGet" doc:name="AccountGet"> | |
<http:inbound-endpoint | |
exchange-pattern="request-response" | |
host="localhost" | |
port="8081" | |
path="account/get" /> | |
<cassandradb:get config-ref="CassandraDB" | |
columnPath="Accounts:#[message.inboundProperties['http.relative.path'].split('/')[1]]" | |
rowKey="#[message.inboundProperties['http.relative.path'].split('/')[0]]" doc:name="Cassandradb"> | |
<cassandradb:column-serializers> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<flow name="AccountGet" doc:name="AccountGet"> | |
<http:inbound-endpoint | |
exchange-pattern="request-response" | |
host="localhost" | |
port="8081" | |
path="account/get" | |
doc:name="HTTP"/> | |
<cassandradb:get config-ref="CassandraDB" | |
columnPath= | |
"Accounts:#[message.inboundProperties['http.relative.path'].split('/')[1]]" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<flow name="AccountCreate" doc:name="AccountsCreate"> | |
<http:inbound-endpoint | |
exchange-pattern="request-response" | |
host="localhost" | |
port="8081" | |
path="account/create" | |
mimeType="application/json" /> | |
<json:json-to-object-transformer | |
returnClass="java.util.Map"/> | |
<cassandradb:insert config-ref="CassandraDB" /> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"Accounts":{ | |
"engineering":{ | |
"joe@acmesoft.com":{ | |
"Name":"Joe Developer", | |
"Password":"286755fad04869ca523320acce0dc6a4", | |
"passwordAge": 731400 | |
}, | |
"jane@acmesoft.com":{ | |
"Name":"Jane Developer", |