Groovy web console

subscribe to the feed Subscribe
to this
site

cibuilder

Published 2 months ago by gkhare
Actions Execute script  ▶ Edit in console Back to console Show/hide line numbers View recent scripts
def coreProjects = [
        /*services*/
        'aqm'             : ['aqm-ft'],
        'ur'              : ['ur-ft', 'flowcontrol'],
        'notifs'          : ['notifs-ft'],
        'sqm'             : ['sqm-ft'],
        'routing-api'     : ['routing-api-ft'],
        'reporter'        : ['reporter-ft'],
        'rs-scheduler'    : ['rs-scheduler-ft'],
        'qma'             : ['qma-ft'],
        'qnr'             : ['qnr-ft'],
        'stats-manager'   : [],
        'integ-test'      : [],
        'ftinfra'         : [],
        /*libraries*/
        'ccc-core-akka'   : [],
        'routing-model'   : [],
        'ccc-scheduler'   : [],
        'test-core'       : [],
        'configReader'    : [],
        'ccc-provisioning': []
]

LIST_OF_APPS = "aqm,ur"
LinkedHashMap<String, String> changedServices = [:]

LIST_OF_APPS.split(",").each { x -> 
     changedServices.put(x, coreProjects.get(x))
 }

changedServices