Esempio n. 1
0
            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)
        if config.only in ('deployReferenceAppCreateWebsocketServer'):
            refApp.deployReferenceAppCreateWebsocketServer(config)
        if config.only in ('deployReferenceAppCreateDataIngestion'):
            refApp.deployReferenceAppCreateDataIngestion(config)
        if config.only in ('deployReferenceAppCreateMachineSimulator'):
            refApp.deployReferenceAppCreateMachineSimulator(config)
        if config.only in ('deployReferenceAppCreateUI'):
            refApp.deployReferenceAppCreateUI(config)
        if config.only in ('deployReferenceAppFinalPrep'):
            refApp.deployReferenceAppFinalPrep(config)

        refApp.sanityChecks(config)
    else:
        if config.continueFrom in ('all'):
            #try:
            #refApp.updateGitModules(config)
            refApp.validate(config)
            refApp.buildPredixSDKs(config)
            refApp.buildReferenceApp(config)
            refApp.deployReferenceAppDelete(config)
            refApp.deployReferenceAppCreateUAA(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)
		if config.only in ('deployReferenceAppCreateWebsocketServer'):
			refApp.deployReferenceAppCreateWebsocketServer(config)
		if config.only in ('deployReferenceAppCreateDataIngestion'):
			refApp.deployReferenceAppCreateDataIngestion(config)
		if config.only in ('deployReferenceAppCreateMachineSimulator'):
			refApp.deployReferenceAppCreateMachineSimulator(config)
		if config.only in ('deployReferenceAppCreateUI'):
			refApp.deployReferenceAppCreateUI(config)
		if config.only in ('deployReferenceAppFinalPrep'):
			refApp.deployReferenceAppFinalPrep(config)
	

		refApp.sanityChecks(config)
	else :
		if config.continueFrom in ('all'):
			refApp.buildReferenceApp(config)
			refApp.deployReferenceAppDelete(config)
			refApp.deployReferenceAppCreateUAA(config)
			refApp.deployReferenceAppCreateACS(config)
			refApp.deployReferenceAppCreateAssetAndTimeseries(config)
			refApp.deployReferenceAppAddAuthorities(config)