Updating device-type configs

revert-dabc3590
Ace 8 years ago
parent 2802205d7e
commit 9965fc13c8

@ -17,21 +17,58 @@
~ specific language governing permissions and limitations ~ specific language governing permissions and limitations
~ under the License. ~ under the License.
--> -->
<DeviceManagementConfiguration name="android"> <DeviceTypeConfiguration name="android">
<License>
<Language>en_US</Language>
<Version>1.0.0</Version>
<Text>This is license text</Text>
</License>
<ProvisioningConfig>
<SharedWithAllTenants>false</SharedWithAllTenants>
</ProvisioningConfig>
<DataSource> <DataSource>
<jndiConfig> <jndiConfig>
<name>jdbc/MobileAndroidDM_DS</name> <name>jdbc/MobileAndroidDM_DS</name>
</jndiConfig> </jndiConfig>
<tableConfig>
<Table name="AD_DEVICE">
<PrimaryKey>DEVICE_ID</PrimaryKey>
<Attributes>
<Attribute>DEVICE_ID</Attribute>
<Attribute>GCM_TOKEN</Attribute>
<Attribute>DEVICE_INFO</Attribute>
<Attribute>IMEI</Attribute>
<Attribute>IMSI</Attribute>
<Attribute>OS_VERSION</Attribute>
<Attribute>DEVICE_MODEL</Attribute>
<Attribute>VENDOR</Attribute>
<Attribute>LATITUDE</Attribute>
<Attribute>LONGITUDE</Attribute>
<Attribute>SERIAL</Attribute>
<Attribute>MAC_ADDRESS</Attribute>
<Attribute>DEVICE_NAME</Attribute>
<Attribute>OS_BUILD_DATE</Attribute>
</Attributes>
</Table>
</tableConfig>
</DataSource> </DataSource>
<ProvisioningConfig>
<TenantDomain>carbon.super</TenantDomain>
<SharedWithAllTenants>false</SharedWithAllTenants>
</ProvisioningConfig>
<Features> <Features>
<Feature name="abc"> <Feature code="abc">
<Property name="prop1">place_holder</Property> <Name>abc</Name>
<Property name="prop2">place_holder</Property> <Description>this is a feature</Description>
<Property name="prop3">place_holder</Property> <Operation context="/bulb/{state}" method="PUT">
<QueryParameters>
<Parameter>deviceId</Parameter>
</QueryParameters>
<FormParameters>
<Parameter>test</Parameter>
</FormParameters>
</Operation>
</Feature> </Feature>
</Features> </Features>
</DeviceManagementConfiguration>
</DeviceTypeConfiguration>

@ -17,21 +17,58 @@
~ specific language governing permissions and limitations ~ specific language governing permissions and limitations
~ under the License. ~ under the License.
--> -->
<DeviceManagementConfiguration name="windows"> <DeviceTypeConfiguration name="windows">
<License>
<Language>en_US</Language>
<Version>1.0.0</Version>
<Text>This is license text</Text>
</License>
<ProvisioningConfig>
<SharedWithAllTenants>false</SharedWithAllTenants>
</ProvisioningConfig>
<DataSource> <DataSource>
<jndiConfig> <jndiConfig>
<name>jdbc/MobileWindowsDM_DS</name> <name>jdbc/MobileWindowsDM_DS</name>
</jndiConfig> </jndiConfig>
<tableConfig>
<Table name="WIN_DEVICE">
<PrimaryKey>DEVICE_ID</PrimaryKey>
<Attributes>
<Attribute>DEVICE_ID</Attribute>
<Attribute>CHANNEL_URI</Attribute>
<Attribute>DEVICE_INFO</Attribute>
<Attribute>IMEI</Attribute>
<Attribute>IMSI</Attribute>
<Attribute>OS_VERSION</Attribute>
<Attribute>DEVICE_MODEL</Attribute>
<Attribute>VENDOR</Attribute>
<Attribute>LATITUDE</Attribute>
<Attribute>LONGITUDE</Attribute>
<Attribute>SERIAL</Attribute>
<Attribute>MAC_ADDRESS</Attribute>
<Attribute>DEVICE_NAME</Attribute>
<Attribute>OS_BUILD_DATE</Attribute>
</Attributes>
</Table>
</tableConfig>
</DataSource> </DataSource>
<ProvisioningConfig>
<TenantDomain>carbon.super</TenantDomain>
<SharedWithAllTenants>false</SharedWithAllTenants>
</ProvisioningConfig>
<Features> <Features>
<Feature name="abc"> <Feature code="abc">
<Property name="prop1">place_holder</Property> <Name>abc</Name>
<Property name="prop2">place_holder</Property> <Description>this is a feature</Description>
<Property name="prop3">place_holder</Property> <Operation context="/bulb/{state}" method="PUT">
<QueryParameters>
<Parameter>deviceId</Parameter>
</QueryParameters>
<FormParameters>
<Parameter>test</Parameter>
</FormParameters>
</Operation>
</Feature> </Feature>
</Features> </Features>
</DeviceManagementConfiguration>
</DeviceTypeConfiguration>

Loading…
Cancel
Save