Skip to content
This repository has been archived by the owner on Feb 4, 2020. It is now read-only.

Add support for verification of application layers #5

Open
jpgneves opened this issue Jan 27, 2014 · 0 comments
Open

Add support for verification of application layers #5

jpgneves opened this issue Jan 27, 2014 · 0 comments

Comments

@jpgneves
Copy link
Owner

As part of an optional, user-triggered check, iota could be able to verify application layers to ensure applications are interacting in a correct fashion among themselves beyond merely calling the correct APIs.

For example, consider an application X consisting of a web interface application W, business logic applications B1 and B2 and a datastore interface D, with a generic utilities application U that is shared by all of them.

The desired interactions are:

  • W can call to B1 or B2
  • B1 and B2 can call to D
  • B1 and B2 cannot call W
  • D cannot call any of the above applications
  • All applications can call U

The layer definitions could be as such:

% Unspecified applications are not subject
% to the checks and can call or be called by every application.
% This is mostly to keep iota silent about third-party applications
% which generally are only called by user-defined applications.
% Layers are also specified in a top-down order.
% Each layer consists of a tuple with the layer name and the
% list of applications that belong to that layer.
{layers, [ {view, [w]},
           {business, [b1, b2]},
           {storage, [d]}
         ]}.

This information can be specified in the existing iota.config file.

This check could be run using iota check_layers <path> and would not be part of any default checks.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

1 participant