jUDDI
  1. jUDDI
  2. JUDDI-727

Publish validation does not validate node ownership

    Details

    • Type: Bug Bug
    • Status: Closed
    • Priority: Blocker Blocker
    • Resolution: Fixed
    • Affects Version/s: 3.1.5
    • Fix Version/s: 3.2
    • Component/s: None
    • Labels:
      None

      Description

      The data custody validation rules don't appear to be implemented. This really only applies if the replication api is implemented and the following scenario happens

      Node A, has service A (owner)
      Node B, has service A (owned by Node A)

      If a user alters service A via Node B, an error should be thrown (I think).

      Generally speaking, data is replicated between nodes of a UDDI registry using a replication protocol. Registries that choose to use the replication protocol defined in Section 7.4 Replication API Set MUST enforce the following data custody policy. (Registries which choose otherwise incur no such requirement.)

      Each node has custody of a portion of the aggregate data managed by the registry of which it is a part. Each datum is by definition in the custody of exactly one such node. A datum in this context can be a businessEntity, a businessService, a bindingTemplate, a tModel, or a publisherAssertion. Changes to a datum in the registry MUST originate at the node which is the custodian of the datum. The registry defines the policy for data custody and, if allowed, the custodian node for a given datum can be changed; such custody transfer processes are discussed in Section 5.4 Custody and Ownership Transfer API.

        Issue Links

          Activity

          Hide
          ASF subversion and git services added a comment -

          Commit 1546766 from Alex O'Ree in branch 'juddi/branches/juddi-3.3.x'
          [ https://svn.apache.org/r1546766 ]

          JUDDI-727 reverting a number of changes from the previous commit, they were unnecessary. test case added

          Show
          ASF subversion and git services added a comment - Commit 1546766 from Alex O'Ree in branch 'juddi/branches/juddi-3.3.x' [ https://svn.apache.org/r1546766 ] JUDDI-727 reverting a number of changes from the previous commit, they were unnecessary. test case added
          Hide
          ASF subversion and git services added a comment -

          Commit 1546763 from Alex O'Ree in branch 'juddi/trunk'
          [ https://svn.apache.org/r1546763 ]

          JUDDI-727 reverting a number of changes from the previous commit, they were unnecessary. test case added

          Show
          ASF subversion and git services added a comment - Commit 1546763 from Alex O'Ree in branch 'juddi/trunk' [ https://svn.apache.org/r1546763 ] JUDDI-727 reverting a number of changes from the previous commit, they were unnecessary. test case added
          Hide
          Alex O'Ree added a comment -

          The persistence part is implemented in PublicationImpl.setOperationalInfo, however there was no check before saving data that may have been created on another node.

          Show
          Alex O'Ree added a comment - The persistence part is implemented in PublicationImpl.setOperationalInfo, however there was no check before saving data that may have been created on another node.
          Hide
          ASF subversion and git services added a comment -

          Commit 1546752 from Alex O'Ree in branch 'juddi/trunk'
          [ https://svn.apache.org/r1546752 ]

          JUDDI-727 node id is now persisted for all uddi entity elements. added replication api to node entity

          Show
          ASF subversion and git services added a comment - Commit 1546752 from Alex O'Ree in branch 'juddi/trunk' [ https://svn.apache.org/r1546752 ] JUDDI-727 node id is now persisted for all uddi entity elements. added replication api to node entity
          Hide
          ASF subversion and git services added a comment -

          Commit 1546742 from Alex O'Ree in branch 'juddi/branches/juddi-3.3.x'
          [ https://svn.apache.org/r1546742 ]

          JUDDI-727 fixed for 3.3 branch, version bump

          Show
          ASF subversion and git services added a comment - Commit 1546742 from Alex O'Ree in branch 'juddi/branches/juddi-3.3.x' [ https://svn.apache.org/r1546742 ] JUDDI-727 fixed for 3.3 branch, version bump

            People

            • Assignee:
              Alex O'Ree
              Reporter:
              Alex O'Ree
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:

                Development