print('environment : ' + config.environment) print('continueFrom=' + config.continueFrom) print('only=' + config.only) print("****************** Installing Reference Application ******************") try: config.retryCount = 0 if config.only not in (''): if config.only in ('validate'): refApp.validate(config) if config.only in ('buildPredixSDKs'): refApp.buildPredixSDKs(config) if config.only in ('buildReferenceApp'): refApp.buildReferenceApp(config) if config.only in ('deployReferenceAppDelete'): refApp.deployReferenceAppDelete(config) if config.only in ('deployReferenceAppCreateUAA'): refApp.deployReferenceAppCreateUAA(config) if config.only in ('deployReferenceAppCreateACS'): refApp.deployReferenceAppCreateACS(config) refApp.deployReferenceAppCreateAssetAndTimeseries(config) refApp.deployReferenceAppFinalPrep(config) if config.only in ('deployReferenceAppCreateAssetAndTimeseries'): refApp.deployReferenceAppCreateAssetAndTimeseries(config) refApp.deployReferenceAppFinalPrep(config) if config.only in ('deployReferenceAppAddAuthorities'): refApp.deployReferenceAppAddAuthorities(config) if config.only in ('deployReferenceAppCreateDataseed'): refApp.deployReferenceAppCreateDataseed(config) if config.only in ('deployReferenceAppCreateDatasource'): refApp.deployReferenceAppCreateDatasource(config)
import refApp import traceback print ('environment : '+config.environment) print ('continueFrom=' + config.continueFrom) print ('only=' + config.only) print("****************** Installing Reference Application ******************") try: config.retryCount=0 if config.only not in (''): if config.only in ('buildReferenceApp'): refApp.buildReferenceApp(config) if config.only in ('deployReferenceAppDelete'): refApp.deployReferenceAppDelete(config) if config.only in ('deployReferenceAppCreateUAA'): refApp.deployReferenceAppCreateUAA(config) if config.only in ('deployReferenceAppCreateACS'): refApp.deployReferenceAppCreateACS(config) refApp.deployReferenceAppCreateAssetAndTimeseries(config) refApp.deployReferenceAppFinalPrep(config) if config.only in ('deployReferenceAppCreateAssetAndTimeseries'): refApp.deployReferenceAppCreateAssetAndTimeseries(config) refApp.deployReferenceAppFinalPrep(config) if config.only in ('deployReferenceAppAddAuthorities'): refApp.deployReferenceAppAddAuthorities(config) if config.only in ('deployReferenceAppCreateDataseed'): refApp.deployReferenceAppCreateDataseed(config) if config.only in ('deployReferenceAppCreateDatasource'): refApp.deployReferenceAppCreateDatasource(config)