Merge pull request #401 from ruwany/st2

Updating device-type configs
revert-dabc3590
Ayyoob Hamza 8 years ago committed by GitHub
commit c24a602c54

@ -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">
<DataSource>
<jndiConfig> <License>
<name>jdbc/MobileWindowsDM_DS</name> <Language>en_US</Language>
</jndiConfig> <Version>1.0.0</Version>
</DataSource> <Text>This is license text</Text>
<ProvisioningConfig> </License>
<TenantDomain>carbon.super</TenantDomain>
<SharedWithAllTenants>false</SharedWithAllTenants> <ProvisioningConfig>
</ProvisioningConfig> <SharedWithAllTenants>false</SharedWithAllTenants>
<Features> </ProvisioningConfig>
<Feature name="abc">
<Property name="prop1">place_holder</Property> <DataSource>
<Property name="prop2">place_holder</Property> <jndiConfig>
<Property name="prop3">place_holder</Property> <name>jdbc/MobileWindowsDM_DS</name>
</Feature> </jndiConfig>
</Features> <tableConfig>
</DeviceManagementConfiguration> <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>
<Features>
<Feature code="abc">
<Name>abc</Name>
<Description>this is a feature</Description>
<Operation context="/bulb/{state}" method="PUT">
<QueryParameters>
<Parameter>deviceId</Parameter>
</QueryParameters>
<FormParameters>
<Parameter>test</Parameter>
</FormParameters>
</Operation>
</Feature>
</Features>
</DeviceTypeConfiguration>

Loading…
Cancel
Save