Skip to content

Commit

Permalink
replate trust token by trust
Browse files Browse the repository at this point in the history
  • Loading branch information
AlvaroVega committed Oct 2, 2023
1 parent 3aca0f4 commit a6dde46
Show file tree
Hide file tree
Showing 2 changed files with 20 additions and 20 deletions.
38 changes: 19 additions & 19 deletions docs/images/dfd-0.dot
Original file line number Diff line number Diff line change
@@ -1,26 +1,26 @@
digraph dfd0 {

perseo[shape=circle];
sms[label="SMS Gateway"] [shape=box];
smtp[label="SMTP Server"] [shape=box];
orion[label="Orion"] [shape=box];
oriondb[label="Orion DB"] [shape=box];
http[label="HTTP Server"] [shape=box];
portal[label="Portal"] [shape=box];
auth[label="Auth server"] [shape=box];
sms[label="SMS Gateway"] [shape=box];
smtp[label="SMTP Server"] [shape=box];
orion[label="Orion"] [shape=box];
oriondb[label="Orion DB"] [shape=box];
http[label="HTTP Server"] [shape=box];
portal[label="Portal"] [shape=box];
auth[label="Auth server"] [shape=box];

perseo -> sms [label="action"];
perseo -> smtp [label="action"];
perseo -> http [label="action"];
orion -> perseo [label="event"];
perseo -> orion [label="action"];
portal -> perseo [label="rules"];
perseo -> portal [label="rules"];
oriondb -> perseo [label="entity"];
perseo -> auth [label="trust token"];
auth -> perseo [label="access token"];
perseo -> sms [label="action"];
perseo -> smtp [label="action"];
perseo -> http [label="action"];
orion -> perseo [label="event"];
perseo -> orion [label="action"];
portal -> perseo [label="rules"];
perseo -> portal [label="rules"];
oriondb -> perseo [label="entity"];
perseo -> auth [label="trust"];
auth -> perseo [label="access token"];

{ rank=uno; sms smtp http }
{ rank=two; orion oriondb portal }
{ rank=uno; sms smtp http }
{ rank=two; orion oriondb portal }

}
2 changes: 1 addition & 1 deletion test/component/auth_test.js
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ describe('Auth', function() {
afterEach(testEnv.commonAfterEach);

describe('#UpdateAction()', function() {
it('should return ok with using a trust token', function(done) {
it('should return ok with using a trust', function(done) {
var rule = utilsT.loadExample('./test/data/good_rules/blood_rule_update_trust.json'),
action = utilsT.loadExample('./test/data/good_actions/action_update_trust.json'),
date = new Date();
Expand Down

0 comments on commit a6dde46

Please sign in to comment.