forked from community/device-mgt-plugins
Compare commits
74 Commits
Author | SHA1 | Date |
---|---|---|
Pahansith Gunathilake | 8e942379bb | 2 years ago |
pramilaniroshan | af7004317d | 2 years ago |
Pahansith Gunathilake | cfa388d752 | 2 years ago |
Pahansith Gunathilake | f3e046f3b4 | 2 years ago |
Pahansith Gunathilake | dd84f40e83 | 2 years ago |
builder | 300fd09497 | 2 years ago |
builder | e781350a80 | 2 years ago |
Pahansith Gunathilake | d898aeb61d | 2 years ago |
Pahansith Gunathilake | a70e4bccd7 | 2 years ago |
Pahansith Gunathilake | 4b1976698f | 2 years ago |
builder | 4a4439d5ce | 2 years ago |
builder | 94b2d0a4c5 | 2 years ago |
Pahansith Gunathilake | a9778da163 | 2 years ago |
Shamalka Navod | 00838aa2e7 | 2 years ago |
shamalka | aff3d0c1ba | 2 years ago |
Pahansith Gunathilake | 7d268d4179 | 2 years ago |
builder | 7ece172b93 | 2 years ago |
builder | cd30d92c5e | 2 years ago |
Pahansith Gunathilake | fb45133bb0 | 2 years ago |
builder | afc6026c91 | 3 years ago |
builder | f1563df28b | 3 years ago |
Rushdi Mohamed | a28952dc80 | 3 years ago |
Pahansith Gunathilake | ff615bf81d | 3 years ago |
Pahansith Gunathilake | 2ae4576f31 | 3 years ago |
builder | 76251948e6 | 3 years ago |
builder | a6874c6ee1 | 3 years ago |
Pahansith Gunathilake | da0e87f552 | 3 years ago |
Pahansith Gunathilake | ece8e06994 | 3 years ago |
Pahansith Gunathilake | f150e1ceaa | 3 years ago |
builder | dfb15eee54 | 3 years ago |
builder | dbcbe131df | 3 years ago |
Pahansith Gunathilake | c462e5f4c3 | 3 years ago |
Pahansith Gunathilake | b9d929f0a1 | 3 years ago |
Pahansith Gunathilake | 687242a543 | 3 years ago |
builder | 50662f6741 | 3 years ago |
builder | 2e5f5d86ed | 3 years ago |
Pahansith Gunathilake | f01d86029a | 3 years ago |
Pahansith Gunathilake | 0a374d3b25 | 3 years ago |
Pahansith Gunathilake | 5dafcf9887 | 3 years ago |
Pahansith Gunathilake | f0e75df784 | 3 years ago |
Pahansith Gunathilake | 5e4299ad7e | 3 years ago |
Pahansith Gunathilake | ee7bb6885e | 3 years ago |
Pahansith Gunathilake | 0247c0bbad | 3 years ago |
Pahansith Gunathilake | 7b3cf61e26 | 3 years ago |
Pahansith Gunathilake | 559364e64a | 3 years ago |
Mohamed Rashd | a74e7ad2d6 | 3 years ago |
Pahansith Gunathilake | f5d5861411 | 3 years ago |
builder | d2b6585655 | 3 years ago |
builder | bf48b1520b | 3 years ago |
Pahansith Gunathilake | 9f98a875c4 | 3 years ago |
Pahansith Gunathilake | 7f2986a545 | 3 years ago |
Inosh Perara | 908f961f3f | 3 years ago |
Pahansith Gunathilake | cddb92f5ce | 3 years ago |
Pahansith | 512b46ccdd | 3 years ago |
Pahansith Gunathilake | 939f6f20b0 | 3 years ago |
Amalka Subasinghe | 1328954e1f | 4 years ago |
Charitha Goonetilleke | bcd96fc167 | 4 years ago |
Amalka Subasinghe | 43cf6b8e67 | 4 years ago |
Amalka Subasinghe | 86737eaa1b | 4 years ago |
Charitha Goonetilleke | 21b9a73b85 | 4 years ago |
Charitha Goonetilleke | 81cdc8eee3 | 4 years ago |
Charitha Goonetilleke | 0cc612073d | 4 years ago |
Amalka Subasinghe | 36d897072e | 4 years ago |
Amalka Subasinghe | bfbbe3c733 | 4 years ago |
Amalka Subasinghe | b52210a87c | 4 years ago |
Amalka Subasinghe | f623450571 | 4 years ago |
Amalka Subasinghe | ac26f7b6b8 | 4 years ago |
Charitha Goonetilleke | 8e7d6eeb67 | 4 years ago |
Charitha Goonetilleke | 328786c5f2 | 4 years ago |
Saad Sahibjan | 72aca888bc | 4 years ago |
MalshaPiumini | 3b120f3922 | 4 years ago |
Dharmakeerthi Lasantha | c077b4a452 | 4 years ago |
tcdlpds@gmail.com | 4a1c8c5731 | 4 years ago |
Entgra Builder | 55b4861e01 | 4 years ago |
@ -0,0 +1,63 @@
|
||||
<!--
|
||||
~ Copyright (C) 2020. Entgra (Pvt) Ltd, https://entgra.io
|
||||
~ All Rights Reserved.
|
||||
~
|
||||
~ Unauthorized copying/redistribution of this file, via any medium
|
||||
~ is strictly prohibited.
|
||||
~ Proprietary and confidential.
|
||||
~
|
||||
~ Licensed under the Entgra Commercial License,
|
||||
~ Version 1.0 (the "License");
|
||||
~ you may not use this file except in compliance with the License.
|
||||
~
|
||||
~ Unless required by applicable law or agreed to in writing,
|
||||
~ software distributed under the License is distributed on an
|
||||
~ "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
|
||||
~ KIND, either express or implied. See the License for the
|
||||
~ specific language governing permissions and limitations
|
||||
~ under the License.
|
||||
~
|
||||
~ You may obtain a copy of the License at
|
||||
~ https://entgra.io/licenses/entgra-commercial/1.0
|
||||
-->
|
||||
|
||||
<datasources-configuration xmlns:svns="http://org.wso2.securevault/configuration">
|
||||
<providers>
|
||||
<provider>org.wso2.carbon.ndatasource.rdbms.RDBMSDataSourceReader</provider>
|
||||
</providers>
|
||||
|
||||
<datasources>
|
||||
<datasource>
|
||||
<name>Android_DB</name>
|
||||
<description>The datasource used as the Android Device Management database</description>
|
||||
<jndiConfig>
|
||||
<name>jdbc/MobileAndroidDM_DS</name>
|
||||
</jndiConfig>
|
||||
<definition type="RDBMS">
|
||||
<configuration>
|
||||
{% if database.android is defined %}
|
||||
<url>{{database.android.url}}</url>
|
||||
<username>{{database.android.username}}</username>
|
||||
<password>{{database.android.password}}</password>
|
||||
<driverClassName>{{database.android.driver}}</driverClassName>
|
||||
<validationQuery>{{database.android.validationQuery}}</validationQuery>
|
||||
{% for property_name,property_value in database.android.pool_options.items() %}
|
||||
<{{property_name}}>{{property_value}}</{{property_name}}>
|
||||
{% endfor %}
|
||||
{% else %}
|
||||
<url>jdbc:h2:./repository/database/WSO2MobileAndroid_DB;DB_CLOSE_ON_EXIT=FALSE</url>
|
||||
<username>wso2carbon</username>
|
||||
<password>wso2carbon</password>
|
||||
<driverClassName>org.h2.Driver</driverClassName>
|
||||
<maxActive>50</maxActive>
|
||||
<maxWait>60000</maxWait>
|
||||
<testOnBorrow>true</testOnBorrow>
|
||||
<validationQuery>SELECT 1</validationQuery>
|
||||
<validationInterval>30000</validationInterval>
|
||||
{% endif %}
|
||||
</configuration>
|
||||
</definition>
|
||||
</datasource>
|
||||
</datasources>
|
||||
</datasources-configuration>
|
||||
|
@ -0,0 +1,71 @@
|
||||
<?xml version="1.0" encoding="ISO-8859-1"?>
|
||||
<!--
|
||||
~ Copyright (c) 2016, WSO2 Inc. (http://www.wso2.org) All Rights Reserved.
|
||||
~
|
||||
~ WSO2 Inc. licenses this file to you under the Apache License,
|
||||
~ Version 2.0 (the "License"); you may not use this file except
|
||||
~ in compliance with the License.
|
||||
~ You may obtain a copy of the License at
|
||||
~
|
||||
~ http://www.apache.org/licenses/LICENSE-2.0
|
||||
~
|
||||
~ Unless required by applicable law or agreed to in writing,
|
||||
~ software distributed under the License is distributed on an
|
||||
~ "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
|
||||
~ KIND, either express or implied. See the License for the
|
||||
~ specific language governing permissions and limitations
|
||||
~ under the License.
|
||||
-->
|
||||
|
||||
<MobileDeviceMgtConfiguration>
|
||||
<ManagementRepository>
|
||||
<DataSourceConfigurations>
|
||||
<DataSourceConfiguration type="android">
|
||||
<JndiLookupDefinition>
|
||||
{% if mobile_conf.datasource.android.name is defined %}
|
||||
<Name>{{mobile_conf.datasource.android.name}}</Name>
|
||||
{% else %}
|
||||
<Name>jdbc/MobileAndroidDM_DS</Name>
|
||||
{% endif %}
|
||||
</JndiLookupDefinition>
|
||||
</DataSourceConfiguration>
|
||||
</DataSourceConfigurations>
|
||||
</ManagementRepository>
|
||||
<APIPublisher>
|
||||
<APIs>
|
||||
<!--todo remove this -->
|
||||
<API>
|
||||
<Name>appmanager</Name>
|
||||
<Owner>admin</Owner>
|
||||
<Context>/devices</Context>
|
||||
<Version>1.0.0</Version>
|
||||
<Endpoint>http://localhost:9763/test/app</Endpoint>
|
||||
<Transports>http,https</Transports>
|
||||
</API>
|
||||
<API>
|
||||
<Name>enrol</Name>
|
||||
<Owner>admin</Owner>
|
||||
<Context>/enroll</Context>
|
||||
<Version>1.0.0</Version>
|
||||
<Endpoint>http://localhost:9763/mdm-android-agent/enrollment</Endpoint>
|
||||
<Transports>http,https</Transports>
|
||||
</API>
|
||||
<API>
|
||||
<Name>license</Name>
|
||||
<Owner>admin</Owner>
|
||||
<Context>/license</Context>
|
||||
<Version>1.0.0</Version>
|
||||
<Endpoint>http://localhost:9763/mdm-android-agent/devices/license</Endpoint>
|
||||
<Transports>http,https</Transports>
|
||||
</API>
|
||||
<API>
|
||||
<Name>operation</Name>
|
||||
<Owner>admin</Owner>
|
||||
<Context>/operation</Context>
|
||||
<Version>1.0.0</Version>
|
||||
<Endpoint>http://localhost:9763/mdm-android-agent/operations</Endpoint>
|
||||
<Transports>http,https</Transports>
|
||||
</API>
|
||||
</APIs>
|
||||
</APIPublisher>
|
||||
</MobileDeviceMgtConfiguration>
|
Loading…
Reference in new issue