# Path: f5_heat/resources/f5_sys_iappfulltemplate.py
# class IappFullTemplateValidationFailed(exception.StackValidationFailed):
# class F5SysiAppFullTemplate(F5BigIPMixin, resource.Resource):
#     PROPERTIES = (
#         BIGIP_SERVER,
#         PARTITION,
#         FULL_TEMPLATE
#     ) = (
#         'bigip_server',
#         'partition',
#         'full_template'
#     )
#     def __init__(self, name, defn, stack):
#     def _parse_full_template(self):
#     def _validate_template_partition(self):
#     def handle_create(self):
#     def handle_delete(self):
# def resource_mapping():
# 
# Path: f5_heat/resources/f5_sys_iappfulltemplate.py
# class IappFullTemplateValidationFailed(exception.StackValidationFailed):
#     pass


from f5_heat.resources import f5_sys_iappfulltemplate
from f5_heat.resources.f5_sys_iappfulltemplate import \
    IappFullTemplateValidationFailed
from heat.common import exception
from heat.common import template_format
from heat.engine.hot.template import HOTemplate20150430
from heat.engine import rsrc_defn
from heat.engine import template
import mock
import pytest



iapp_full_template_defn = '''
heat_template_version: 2015-04-30
description: Testing iAppFullTemplate plugin
resources:
    bigip_rsrc:
      type: F5::BigIP::Device
      properties:
        ip: 10.0.0.1
        username: admin
    partition:
      type: F5::Sys::Partition
      properties:
        name: Common
        bigip_server: bigip_rsrc
    iapp_template:
      type: F5::Sys::iAppFullTemplate
      depends_on: bigip_rsrc
      properties:
        name: testing_template
        bigip_server: bigip_rsrc
        partition: Common
        full_template: |
          sys application template testing_template {
            actions replace-all-with {
              definition {
                implementation {hello}
                presentation {hello}

# Path: f5_heat/resources/f5_sys_iappfulltemplate.py
# class IappFullTemplateValidationFailed(exception.StackValidationFailed):
# class F5SysiAppFullTemplate(F5BigIPMixin, resource.Resource):
#     PROPERTIES = (
#         BIGIP_SERVER,
#         PARTITION,
#         FULL_TEMPLATE
#     ) = (
#         'bigip_server',
#         'partition',
#         'full_template'
#     )
#     def __init__(self, name, defn, stack):
#     def _parse_full_template(self):
#     def _validate_template_partition(self):
#     def handle_create(self):
#     def handle_delete(self):
# def resource_mapping():
# 
# Path: f5_heat/resources/f5_sys_iappfulltemplate.py
# class IappFullTemplateValidationFailed(exception.StackValidationFailed):
#     pass


# Path: f5_heat/resources/test/test_f5_sys_iappfulltemplate.py
from f5_heat.resources import f5_sys_iappfulltemplate
from f5_heat.resources.f5_sys_iappfulltemplate import \
    IappFullTemplateValidationFailed
from heat.common import exception
from heat.common import template_format
from heat.engine.hot.template import HOTemplate20150430
from heat.engine import rsrc_defn
from heat.engine import template
import mock
import pytest




iapp_full_template_defn = '''
heat_template_version: 2015-04-30
description: Testing iAppFullTemplate plugin
resources:
    bigip_rsrc:
      type: F5::BigIP::Device
      properties:
        ip: 10.0.0.1
        username: admin
    partition:
      type: F5::Sys::Partition
      properties:
        name: Common
        bigip_server: bigip_rsrc
    iapp_template:
      type: F5::Sys::iAppFullTemplate
      depends_on: bigip_rsrc
      properties:
        name: testing_template
        bigip_server: bigip_rsrc
        partition: Common
        full_template: |
          sys application template testing_template {
            actions replace-all-with {
              definition {
                implementation {hello}
                presentation {hello}

                role-acl { admin user }