2.5.2 Brownfield Upgrade 14.8.0 (9.6.0) to 14.8.1 (10.1.0)

This topic describes about the brownfield upgrade.

Follow the steps to upgrade brownfield 14.8.0 (9.6.0) to 14.8.1 (10.1.0):

History Sync

  1. Full, changelogVersion=9.6.0, changelogSync=true. Do not execute scripts, only update DATABASECHANGELOG.
    Example:
    
        { 
          "releaseVersion":"14.8.0.0.0",
          "stopOnFailure":"true", 
          "deployments":
          [  
           { 
            "service": "plato-config-service", 
            "artifactVersion": "10.1.0",   
            "changelogVersion": "9.6.0",   
            "groupId" : "dev.obma.plato.24_6_0_flyway_sql_migration.services", 
            "option": "Full",
            "changelogSync": true
           },  
           {   
            "service":  "plato-api-gateway",  
            "artifactVersion":  "10.1.0",    
            "changelogVersion":  "9.6.0",  
            "groupId" :  "dev.obma.plato.24_6_0_flyway_sql_migration.services", 
            "option": "Full",  
            "changelogSync": true 
           }
          ]
        }

    Note:

    Verify DATABASECHANGELOG entries for all schemas (filenames and ORDEREXECUTED).

History Sync with changelogSync=false

  1. Full, changelogVersion=9.6.0, changelogSync=false. Only update DATABASECHANGELOG;
    Example:
    
          {  
           "releaseVersion":"14.8.0.0.0",
           "stopOnFailure":"true",
           "deployments":
           [  
            {   
             "service": "plato-config-service",   
             "artifactVersion": "10.1.0",  
             "changelogVersion": "9.6.0",   
             "groupId" : "dev.obma.plato.24_6_0_flyway_sql_migration.services",   
             "option": "Full",   
             "changelogSync": false  
            } 
           ]
          }

    Note:

    This step will update only the DATABASECHANGELOG entries for the target schema as per changelogVersion, without applying any scripts.

Delta Execution

  1. Incremental, changelogVersion=10.1.0, changelogSync=false.
    Example:
    
          { 
            "releaseVersion":"14.8.0.0.0", 
            "stopOnFailure":"true", 
            "deployments":
            [  
              {   
               "service": "plato-config-service", 
               "artifactVersion": "10.1.0",  
               "changelogVersion": "10.1.0", 
               "groupId" : "dev.obma.plato.24_6_0_flyway_sql_migration.services",  
               "option": "Incremental",   
               "changelogSync": false 
              }, 
              {
               "service": "plato-api-gateway",  
               "artifactVersion": "10.1.0",   
               "changelogVersion": "10.1.0",    
               "groupId" :  "dev.obma.plato.24_6_0_flyway_sql_migration.services", 
               "option": "Incremental", 
               "changelogSync": false  
              } 
            ]
          }