예제 #1
0
 def wrapper(*args, **kwargs):
     time.sleep(5)  # wait for opertaor instance start
     new_application(app_name=name,
                     fields=fields,
                     s3_buckets=s3_buckets)
     func(*args, **kwargs)
     delete_application(name)
예제 #2
0
 def delete(self, data):
     delete_application(data['name'])
예제 #3
0
def delete_application_api(name):
    return delete_application(name)
예제 #4
0
 def wrapper(*args, **kwargs):
     new_application(app_name=name, fields=fields, s3_bucket=s3_buckets)
     func(*args, **kwargs)
     delete_application(name, True)