OpenEngSB
  1. OpenEngSB
  2. OPENENGSB-3246

Introduce a whitelist for model providing bundles instead of black lists

    Details

    • Changelog:
      Hide
      If a bundle provides models, which shall be enhanced by the model weaver, the bundle header need to have the header element "Provide-Models". An example maven-bundle-plugin definition would then look like this:

      <plugin>
              <groupId>org.apache.felix</groupId>
              <artifactId>maven-bundle-plugin</artifactId>
              <extensions>true</extensions>
              <configuration>
                <instructions>
                  <Delegation-Annotations>true</Delegation-Annotations>
                  <Provide-Models>true</Provide-Models>
                  <Domain-Name>example</Domain-Name>
                  <Domain-Interface>org.openengsb.domain.example.ExampleDomain</Domain-Interface>
                  <DomainEvents-Interface>org.openengsb.domain.example.ExampleDomainEvents</DomainEvents-Interface>
                </instructions>
              </configuration>
            </plugin>
      Show
      If a bundle provides models, which shall be enhanced by the model weaver, the bundle header need to have the header element "Provide-Models". An example maven-bundle-plugin definition would then look like this: <plugin>         <groupId>org.apache.felix</groupId>         <artifactId>maven-bundle-plugin</artifactId>         <extensions>true</extensions>         <configuration>           <instructions>             <Delegation-Annotations>true</Delegation-Annotations>             <Provide-Models>true</Provide-Models>             <Domain-Name>example</Domain-Name>             <Domain-Interface>org.openengsb.domain.example.ExampleDomain</Domain-Interface>             <DomainEvents-Interface>org.openengsb.domain.example.ExampleDomainEvents</DomainEvents-Interface>           </instructions>         </configuration>       </plugin>
    • Sprint:
      Sprint 6

      Description

      The model providing bundles now need to add a new bundle header. If the bundle header is present, this bundle will be checked for models.

        Gliffy Diagrams

        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

          Activity

          There are no comments yet on this issue.

            People

            • Assignee:
              Felix Mayerhuber
              Reporter:
              Felix Mayerhuber
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:

                Agile