Decision Management (ODM,ADS)

 View Only
  • 1.  Main Rule project changing as Standard Rule project When import from Decision Center.

    Posted Fri July 30, 2021 05:26 PM
    Edited by Satish Kumar Fri July 30, 2021 07:58 PM
    Migrated classic rule project to Decision Service and published into Decision Center then imported the rule project using Rule Designer it's importing as a "Standard Rule Project" even though I changed it to Main Project and Synchronized .ruleproject file with Decision Center.

    ODM Version 8.10.5

    I have check the project references it all seems correct.

    Why its changing as standard rule project is it a usual behavior ? 

    And how to check and make sure in Decision Center the rule project is a "Main Project".

    Thanks in Advance!

    ------------------------------
    Satish Kumar
    ------------------------------


  • 2.  RE: Main Rule project changing as Standard Rule project When import from Decision Center.

    Posted Mon August 02, 2021 11:57 AM
    Synchronization is not expected to change the type of project.
    Using the Business Console you will only see Decision Services main project in the Library tab.  If you project is not there it is not a main decision service.
    Sub projects are only visible in the decision artifacts view when opening a branch or release.

    ------------------------------
    Alain Robert
    ------------------------------



  • 3.  RE: Main Rule project changing as Standard Rule project When import from Decision Center.

    Posted Mon August 02, 2021 02:19 PM
    Hi Alan,

    Yes. Synchronization should not change the project type. As you said i see the Decision Service main project in the Library tab. So that confirms that's the main project. 

    and in the Decision Artifacts I see the main project and their Sub projects are visible in that particular branch or release. 

    But still when I import the project of particular branch or release into my local workspace using Rule Designer it only shows as standard rule project. - Not sure why this is happening. 

    Attached the screenshot of main rule project.

    Can you please tell or recommend is there any other work around that we can fix this issue ? 

    Thanks in advance!!

    ------------------------------
    Satish Kumar
    ------------------------------



  • 4.  RE: Main Rule project changing as Standard Rule project When import from Decision Center.

    Posted Mon August 02, 2021 04:21 PM
    How many project to do get in Rule Designer, do some of them have an icon with an R on it?  
    Maybe the synchronization is interrupted, do you see any errors in the workspace .log file?

    ------------------------------
    Alain Robert
    ------------------------------



  • 5.  RE: Main Rule project changing as Standard Rule project When import from Decision Center.

    Posted Mon August 02, 2021 06:31 PM
    Edited by Satish Kumar Mon August 02, 2021 06:32 PM
    We do have one main project, one sub rule project and one BOM project (sub rule project). All projects shows standard rule project icon(including main project). Even I changed the main project to "Main Rule Project" from "Standard Rule Project" and synchronized in the .ruleproject there is no difference in local and Remote file.

    I don't see any errors in .log file.

    ------------------------------
    Satish Kumar
    ------------------------------



  • 6.  RE: Main Rule project changing as Standard Rule project When import from Decision Center.

    Posted Tue August 03, 2021 12:40 AM
    really strange, let  see what the synchronization logs are showing. Enable the trace on the Rule Designer following this documentation, this should give us more information on what is happening.
    https://www.ibm.com/docs/en/odm/8.10?topic=center-enabling-jdk-logging-during-synchronization-process

    ------------------------------
    Alain Robert
    ------------------------------



  • 7.  RE: Main Rule project changing as Standard Rule project When import from Decision Center.

    Posted Wed August 04, 2021 02:14 PM
    I have gone thru the link you shared and created a logging.properties and added an argument in eclipse.ini and restarted the workspace and stated imported the projects from Decision Center. and there were details in .log file in the .metadata directory of your Eclipse workspace 

    There is no .log files created/produced as mentioned in the logging.properties by JDK logger. The .log file will create only when there is an error or by default will it create ?

    Even I changed the main project to "Main Rule Project" from "Standard Rule Project" and synchronized. there were not details .log files.

    But in Decision Center and Business Console it displays as main project and I'm able to deploy the project from Business Console with Java XOM.


    ------------------------------
    Satish Kumar
    ------------------------------



  • 8.  RE: Main Rule project changing as Standard Rule project When import from Decision Center.

    Posted Wed August 04, 2021 02:39 PM
    The synchronization logs are generated in the file specified in the property java.util.logging.FileHandler.pattern in the file logging.properties
    something like this will generate a synchro.log file in the eclipse folder:

    java.util.logging.FileHandler.pattern= synchro%u-%g.log



    ------------------------------
    Alain Robert
    ------------------------------