Uploaded image for project: 'Red Hat Decision Manager'
  1. Red Hat Decision Manager
  2. RHDM-902

[GSS](7.2.z) Two projects containing an Asset with the same name in the same package, the 'drools.dump.dir' copy gets overwritten by the latest update

    XMLWordPrintable

Details

    • CR1
    • 2019 Week 14-16

    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
      ~~~

      Attachments

        Issue Links

          Activity

            People

              mfusco@redhat.com Mario Fusco
              rhn-support-omolinab Oscar Molina
              Tibor Zimányi Tibor Zimányi
              Tibor Zimányi Tibor Zimányi
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: