1 Reply Latest reply on Sep 13, 2019 10:01 AM by Brice-Emmanuel Loiseaux

    The Relation between Database and BusinessApplicationInstance doesn't  appear in the Visualization of the Model

    Judith Meyer
      Share This:

      Hello,

       

      I have the following tpl code in the pattern:

       

      for si in db_si do

            dbs := search(in si traverse ElementWithDetail:Detail:Detail:Database);

            log.info('si: %si.name% ');

       

               for db in dbs do

                  model.rel.SoftwareContainment(ContainedSoftware := db, SoftwareContainer := bai);

                  log.info('db=%db.name%');

               end for;

                 model.addContainment(bai,si);

       

         end for;

       

      and the following output in the log:

       

      2019-08-22 12:08:52,984si: Oracle Database Server 12cR2 identified as dbinstance1 on host1
      2019-08-22 12:08:52,984db=Oracle Database dbinstance1  <- missing on  the visualization
      2019-08-22 12:08:52,985si: Oracle Database Server 12cR2 identified as dbinstance2 on host2
      2019-08-22 12:08:52,986db=Oracle Database dbinstance2  <- missing on the visualization
      2019-08-22 12:08:52,987si: Oracle Database Server 12cR2 identified as dbinstance2 on host2
      2019-08-22 12:08:52,988db=Oracle Database dbinstance2 <- missing on the visualization

       

       

      and the following visualization:

       

       

       

       

       

       

      I have the exactly same picture without adding the following  command in the tpl code "model.rel.SoftwareContainment(ContainedSoftware := db, SoftwareContainer := bai)"

      The relations between databases and  BusinessApplicationInstance is missing in the visualization.

       

      Any help would be greatly appreciated.

       

      Regards, Judith