Uploaded image for project: 'Drools'
  1. Drools
  2. DROOLS-3891

Two projects containing an Asset with the same name in the same package, the 'drools.dump.dir' copy gets overwritten by the latest update

    Details

    • Type: Enhancement
    • Status: Resolved (View Workflow)
    • Priority: Major
    • Resolution: Done
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: None
    • Labels:
    • Sprint:
      2019 Week 14-16
    • Docs QE Status:
      NEW
    • QE Status:
      NEW

      Description

      When multiple projects are created on the RHDM server, all extracted source across all projects will be placed in the same location on the dump directory. Then when two projects have the same Asset name in the same package the dump directory copy gets overwritten by the latest update.

      ~~~

      • project1 -> MortgageDecisionTable.gdst -> com.gss.redhat
      • project2 -> MortgageDecisionTable.gdst -> com.gss.redhat

      <DUMP_DIR>/com_gss_redhat_MortgageDecisionTable.gdst.drl
      ~~~

      Could be the package name added to the generated file in the 'drools.dump.dir' or create a subfolder with the project name and generate the file there?

      Option1:
      ~~~

      • project1 -> MortgageDecisionTable.gdst -> com.gss.redhat
      • project2 -> MortgageDecisionTable.gdst -> com.gss.redhat

      <DUMP_DIR>/project1_com_gss_redhat_MortgageDecisionTable.gdst.drl
      <DUMP_DIR>/project2_com_gss_redhat_MortgageDecisionTable.gdst.drl
      ~~~

      Option1:
      ~~~

      • project1 -> MortgageDecisionTable.gdst -> com.gss.redhat
      • project2 -> MortgageDecisionTable.gdst -> com.gss.redhat

      <DUMP_DIR>/project1/com_gss_redhat_MortgageDecisionTable.gdst.drl
      <DUMP_DIR>/project2/com_gss_redhat_MortgageDecisionTable.gdst.drl
      ~~~

        Gliffy Diagrams

          Attachments

            Issue Links

              Activity

                People

                • Assignee:
                  mfusco Mario Fusco
                  Reporter:
                  mfusco Mario Fusco
                  Tester:
                  Martin Cimbalek
                • Votes:
                  0 Vote for this issue
                  Watchers:
                  1 Start watching this issue

                  Dates

                  • Created:
                    Updated:
                    Resolved: