def create_app(self):
        """Send a POST to spinnaker to create a new application with class variables.

        Raises:
            AssertionError: Application creation failed.
        """
        self.appinfo['accounts'] = self.get_accounts()
        self.log.debug('Pipeline Config\n%s', pformat(self.pipeline_config))
        self.log.debug('App info:\n%s', pformat(self.appinfo))
        jsondata = self.retrieve_template()
        wait_for_task(jsondata)

        self.log.info("Successfully created %s application", self.appname)
        return jsondata
def create_app ( self ) : self . appinfo [ 'accounts' ] = self . get_accounts ( ) self . log . debug ( 'Pipeline Config\n%s' , pformat ( self . pipeline_config ) ) self . log . debug ( 'App info:\n%s' , pformat ( self . appinfo ) ) jsondata = self . retrieve_template ( ) wait_for_task ( jsondata ) self . log . info ( "Successfully created %s application" , self . appname ) return jsondata
Send a POST to spinnaker to create a new application with class variables.

        Raises:
            AssertionError: Application creation failed.