B2B Integration

 View Only
Expand all | Collapse all

replace reading properties in file system and use a database to read it instead

  • 1.  replace reading properties in file system and use a database to read it instead

    Posted Mon August 05, 2024 04:13 PM

    Is it possible to replace the properties file  with  a properties in a database   in a table  and use them through sci-get-properties() ? I see that the properties are stored in the Sterling cache. I know it would be slower, but it would have advantages like having everything centralized and better control over them. I can think of a Java task that reads the tables and generates a file in the filesystem, and it would continue to be used traditionally, but I'm not sure if it's possible to modify some configurations and read directly from the table. I appreciate your attention 



    ------------------------------
    Rodrigo Ricardo Pérez memije
    ------------------------------


  • 2.  RE: replace reading properties in file system and use a database to read it instead

    Posted Tue August 06, 2024 01:43 AM

    The customization UI introduced a few years back stores the property files in the DB. You can still query the property files using sci-get-property. So, no changes are required in your existing bps. 

    You need to deploy B2BAPI to leverage this feature. I hope the below IBM knowledgecenter helps.

    https://www.ibm.com/docs/en/b2b-integrator/6.2.0?topic=customizations-property-files



    ------------------------------
    KALYAN PAVAN KISHORE CHAKRAVARTHULA
    IBM Technology Expert Labs
    IBM
    ------------------------------



  • 3.  RE: replace reading properties in file system and use a database to read it instead

    Posted Tue August 06, 2024 11:53 AM

    Thank you for your kind response, my friend. I see that by installing the b2bapi, it could be possible to read the properties from a database table. I'm a bit lost on the part about customization UI; does that refer to changes in the interface? I suppose it would be modifying the custom properties  



    ------------------------------
    Rodrigo Ricardo Pérez memije
    ------------------------------