Skip to content

BUNDLED - DATA SOURCE

Description

The BUNDLED data source is designed to retrieve data from a bundled resource within Apiro.


Config

REQUIRED


Config Parameters

Name Description
resource The path of the bundled resource. This is a required parameter.

Config Example

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
<?xml version="1.0" encoding="UTF-8"?>
<apiroConf version="1" xmlns="http://apiro.com/apiro/v1/root">
    <loadOrder>10</loadOrder>
    <dataSources>
        <dataSource definition="BUNDLED" execPriority="10" name="TEST_BUNDLED_SOURCE">
            <config>
                <![CDATA[
                    { 
                        "resource":"my/testBundle"
                    }
                ]]>
            </config>
        </dataSource>
    </dataSources>
</apiroConf>

Common Mistakes

  • Incorrect Resource Path: Ensure that the resource parameter correctly points to the bundled resource