Skip to content

Wrong validation of end to end flow across data access #1974

@AaronGreenhouse

Description

@AaronGreenhouse

The example from Issue #643 has 2 errors on the declarative model that seem overly strict and should probably be removed. We need check what exactly are the rules in the spec and what exactly the verifier thinks it is verifying.

package issue643
public
    system top

    end top;

    system implementation top.i
        subcomponents
            p: system S;
            c: system S;
            d: data;
        connections
            c0: data access p.a <-> d;
            c1: data access d <-> c.a;
        flows
            e2e: end to end flow p -> c0 -> d -> c1 -> c;
    end top.i;

    system S
        features
            a: requires data access;
    end S;

end issue643;

On c0 in the flow spec we have the error

The destination of connection 'c0' does not match the succeeding subcomponent or in flow spec feature 'd'

On c1 in the flow spec we have the error

The source of connection 'c1' does not match the preceding subcomponent or out flow spec feature 'd'

Metadata

Metadata

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions