mirror of
https://repository.entgra.net/community/device-mgt-plugins.git
synced 2025-09-16 23:42:15 +00:00
Merge branch 'release-3.0.x' of https://github.com/wso2/carbon-device-mgt-plugins into release-3.0.x
This commit is contained in:
commit
04fcb0a0e3
@ -116,7 +116,7 @@ public class SenseClientAsyncExecutor extends AsyncTask<String, Void, Map<String
|
|||||||
TokenIssuerService tokenIssuerService = Feign.builder().client(disableHostnameVerification).requestInterceptor(
|
TokenIssuerService tokenIssuerService = Feign.builder().client(disableHostnameVerification).requestInterceptor(
|
||||||
new BasicAuthRequestInterceptor(apiApplicationKey.getConsumerKey(), apiApplicationKey.getConsumerSecret()))
|
new BasicAuthRequestInterceptor(apiApplicationKey.getConsumerKey(), apiApplicationKey.getConsumerSecret()))
|
||||||
.contract(new JAXRSContract()).encoder(new JacksonEncoder()).decoder(new JacksonDecoder())
|
.contract(new JAXRSContract()).encoder(new JacksonEncoder()).decoder(new JacksonDecoder())
|
||||||
.target(TokenIssuerService.class, endpoint + SenseConstants.TOKEN_ISSUER_CONTEXT);
|
.target(TokenIssuerService.class, endpoint);
|
||||||
accessTokenInfo = tokenIssuerService.getToken(PASSWORD_GRANT_TYPE, username, password, "device_" + deviceId);
|
accessTokenInfo = tokenIssuerService.getToken(PASSWORD_GRANT_TYPE, username, password, "device_" + deviceId);
|
||||||
|
|
||||||
//DeviceRegister
|
//DeviceRegister
|
||||||
|
|||||||
@ -39,7 +39,7 @@
|
|||||||
android:layout_width="match_parent"
|
android:layout_width="match_parent"
|
||||||
android:layout_height="wrap_content" android:hint="@string/hostname"
|
android:layout_height="wrap_content" android:hint="@string/hostname"
|
||||||
android:id="@+id/hostname"
|
android:id="@+id/hostname"
|
||||||
android:text="https://localhost:9443"
|
android:text="https://localhost:8243"
|
||||||
android:inputType="text"
|
android:inputType="text"
|
||||||
android:maxLines="1" android:singleLine="true"/>
|
android:maxLines="1" android:singleLine="true"/>
|
||||||
|
|
||||||
|
|||||||
@ -1,7 +1,7 @@
|
|||||||
<resources>
|
<resources>
|
||||||
<string name="app_name">WSO2-SenseAgent</string>
|
<string name="app_name">WSO2-SenseAgent</string>
|
||||||
<string name="title_activity_sense_settings">Sense Settings</string>
|
<string name="title_activity_sense_settings">Sense Settings</string>
|
||||||
<string name="hostname">Server URL https://host:9443</string>
|
<string name="hostname">Server URL https://host:8243</string>
|
||||||
<string name="speakup">Speakup to capture the words</string>
|
<string name="speakup">Speakup to capture the words</string>
|
||||||
<string name="action_settings">DeEnroll</string>
|
<string name="action_settings">DeEnroll</string>
|
||||||
<string name="title_activity_activity_select_sensor">ActivitySelectSensor</string>
|
<string name="title_activity_activity_select_sensor">ActivitySelectSensor</string>
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user