OpenEngSB
  1. OpenEngSB
  2. OPENENGSB-3136

auto-inject requried services into domain-bundles

    Details

    • Changelog:
      Hide
      The services "DomainProvider" and "DomainEvents" are no longer specified in the domain's blueprint.xml, but are automatically created using metadata provided in the MANIFEST.MF of the bundle.
      *Migration*: Add the following fields to your MANIFEST.MF:
      * Domain-Name: example
      * Domain-Interface: org.openengsb.domain.example.ExampleDomain
      * DomainEvents-Interface: org.openengsb.domain.example.ExampleDomainEvents
      You can use the maven-bundle-plugin for that:

          <plugin>
              <groupId>org.apache.felix</groupId>
              <artifactId>maven-bundle-plugin</artifactId>
              <extensions>true</extensions>
              <configuration>
                <instructions>
                  <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
      The services "DomainProvider" and "DomainEvents" are no longer specified in the domain's blueprint.xml, but are automatically created using metadata provided in the MANIFEST.MF of the bundle. *Migration*: Add the following fields to your MANIFEST.MF: * Domain-Name: example * Domain-Interface: org.openengsb.domain.example.ExampleDomain * DomainEvents-Interface: org.openengsb.domain.example.ExampleDomainEvents You can use the maven-bundle-plugin for that:     <plugin>         <groupId>org.apache.felix</groupId>         <artifactId>maven-bundle-plugin</artifactId>         <extensions>true</extensions>         <configuration>           <instructions>             <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 3

      Description

      The bundle should no longer require a blueprint.xml
      all services should be automatically injected.

        Gliffy Diagrams

          Issue Links

          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:
                Christoph Gritschenberger
                Reporter:
                Christoph Gritschenberger
              • Votes:
                0 Vote for this issue
                Watchers:
                0 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:

                  Agile