Uploaded image for project: 'WildFly'
  1. WildFly
  2. WFLY-11173

The JPADefinition.DEPLOY_INSTANCE ResourceDefinition is not correct

    XMLWordPrintable

Details

    Description

      Reusing JPADefinition for both the normal subsystem resource and the deployment subsystem resource causes some oddness.

      The /deployment=*/subsystem=jpa resource should not have 'add' and 'remove' operations. A user invoking them would break things so they should not be present.

      The 'default-datasource' and 'default-extended-persistence-inheritance' attributes don't make a lot of sense on the /deployment=*/subsystem=jpa resource either. But since they are part of the existing API and reading them doesn't do any harm, reads can be supported. Writes, no. And reads should be implemented by adding a step that reads the main subsystem value.

      Attachments

        Activity

          People

            pberan@redhat.com Petr Beran
            bstansbe@redhat.com Brian Stansberry
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: