Details

    • Type: New Feature New Feature
    • Status: Closed
    • Priority: Critical Critical
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: openengsb-3.0.0.M1
    • Component/s: framework
    • Labels:
      None
    • Changelog:
      Hide
      EDBCommit:
       *) removed no longer needed getOIDs
       *) added getter and setter for domainId/connectorId/instanceId
       *) added additional property comment

      EngineeringDatabaseService:
       *) added getRevisionsOfMatchingCommits method which allows the querying of EDBCommits based on a given object which wrappes possible criterias. This method returns a list of meta information about commits
       *) added getCommitByRevision which loads an EDBCommit by its revision

      PersistInterface:
       *) added revertCommit which reverts all objects present in the commit of the given revision to the status of the given revision

      QueryInterface:
       *) added queryForCommits which allows the querying for EKBCommit meta information based on the previously mentioned wrapper class
       *) added loadCommit which loads an EKBCommit object based on the given revision
      Show
      EDBCommit:  *) removed no longer needed getOIDs  *) added getter and setter for domainId/connectorId/instanceId  *) added additional property comment EngineeringDatabaseService:  *) added getRevisionsOfMatchingCommits method which allows the querying of EDBCommits based on a given object which wrappes possible criterias. This method returns a list of meta information about commits  *) added getCommitByRevision which loads an EDBCommit by its revision PersistInterface:  *) added revertCommit which reverts all objects present in the commit of the given revision to the status of the given revision QueryInterface:  *) added queryForCommits which allows the querying for EKBCommit meta information based on the previously mentioned wrapper class  *) added loadCommit which loads an EKBCommit object based on the given revision

      Description

      It should be possible to revert the EDB/EKB via an api for a given Domain.

      Input: a domain(model) and the revision/timestamp the user wants to revert to.

      The discussed solution was to revert commit by commit until the desired revision/timestamp is reached. The revert action in the Edb should also be consistent with the upcoming EdbIndex.

        Gliffy Diagrams

        Error rendering 'com.meetme.plugins.jira.gerrit-plugin:gerritreviewsmodule'. Please contact your JIRA administrators.

          Activity

          Hide
          Michael Petritsch added a comment -

          linked to CDL-IND FLX-114

          Show
          Michael Petritsch added a comment - linked to CDL-IND FLX-114
          Hide
          Michael Petritsch added a comment -

          Also need an API to query for lists of EKBCommits. (the idea behind this is that the user selects the commit to revert to from this list)

          Show
          Michael Petritsch added a comment - Also need an API to query for lists of EKBCommits. (the idea behind this is that the user selects the commit to revert to from this list)
          Hide
          Michael Petritsch added a comment -

          what's the status of this?

          Show
          Michael Petritsch added a comment - what's the status of this?
          Hide
          Michael Petritsch added a comment -

          this issue is very important since it has to be available in our release end of august/beginning of september.

          Show
          Michael Petritsch added a comment - this issue is very important since it has to be available in our release end of august/beginning of september.
          Hide
          Michael Petritsch added a comment -

          so this feature should be released around mid of august in the openengsb (so we can implement and test it in our app).

          Show
          Michael Petritsch added a comment - so this feature should be released around mid of august in the openengsb (so we can implement and test it in our app).
          Hide
          Felix Mayerhuber added a comment -

          I will have a look at it some when beginning next week. Should be not a big deal though, so no need to worry yet : ) However, what is a little bit unclear for me is, how do you think this API for EKBCommit querying should look like? Don't know exactly what you want to show to the user. A list of all commits which have been done between two timestamps? All commits of a specific user? All commits of a specific project? Don't know what you need exactly.

          Show
          Felix Mayerhuber added a comment - I will have a look at it some when beginning next week. Should be not a big deal though, so no need to worry yet : ) However, what is a little bit unclear for me is, how do you think this API for EKBCommit querying should look like? Don't know exactly what you want to show to the user. A list of all commits which have been done between two timestamps? All commits of a specific user? All commits of a specific project? Don't know what you need exactly.
          Hide
          Felix Mayerhuber added a comment -

          Sooo, pull request for this feature is ready: https://github.com/openengsb/openengsb/pull/843. Got much bigger than I predicted.

          Show
          Felix Mayerhuber added a comment - Sooo, pull request for this feature is ready: https://github.com/openengsb/openengsb/pull/843 . Got much bigger than I predicted.

            People

            • Assignee:
              Felix Mayerhuber
              Reporter:
              Michael Petritsch
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: