Former-commit-id: 1b6287957f2bf9986f293e46285bd83a04ea032d
TangShanKaiPing
wanggang 6 years ago
parent 3ee73d7e8a
commit 8416e15862

@ -1,240 +1 @@
{
"PluginsStatus": {},
"AgentMaxConnection": 200,
"AgentRequestQueueSize": 2000,
"GatewayQueueSize": 400,
"OutputServerAddress": false,
"StatisticsEnabled": true,
"StatisticsExts": "",
"WSEnabled": true,
"BufferSize": 4096,
"PoolMaxSize": 51200,
"InstanceID": "771f61cb790c4bc29a881f55b74bb5df",
"Servers": [
{
"Uri": "http://localhost:8013/",
"MaxConnections": 200,
"Category": "None",
"Remark": null,
"Properties": []
},
{
"Uri": "ws://localhost:8011/",
"MaxConnections": 200,
"Category": "None",
"Remark": null,
"Properties": []
},
{
"Uri": "http://localhost:8020/",
"MaxConnections": 200,
"Category": "None",
"Remark": null,
"Properties": []
},
{
"Uri": "http://localhost:8011/",
"MaxConnections": 200,
"Category": "None",
"Remark": null,
"Properties": []
},
{
"Uri": "http://localhost:8010/",
"MaxConnections": 200,
"Category": "None",
"Remark": null,
"Properties": []
},
{
"Uri": "http://localhost:8080/",
"MaxConnections": 200,
"Category": null,
"Remark": null,
"Properties": []
},
{
"Uri": "http://localhost:8012/",
"MaxConnections": 200,
"Category": "None",
"Remark": null,
"Properties": []
}
],
"Urls": [
{
"Servers": [],
"PluginConfig": {
"Requesting": [],
"AgentRequesting": [],
"HeaderWriting": [],
"Requested": [],
"ResponseError": []
},
"Url": "*",
"Remark": null,
"HashPattern": null,
"MaxRps": 0
},
{
"Servers": [
{
"Url": "http://localhost:8013/",
"Weight": 10,
"MaxRps": 0
}
],
"PluginConfig": {
"Requesting": [],
"AgentRequesting": [],
"HeaderWriting": [],
"Requested": [],
"ResponseError": []
},
"Url": "/ManagementCenter.*",
"Remark": null,
"HashPattern": null,
"MaxRps": 0
},
{
"Servers": [],
"PluginConfig": {
"Requesting": [ "configuration_website_icon" ],
"AgentRequesting": [],
"HeaderWriting": [],
"Requested": [],
"ResponseError": []
},
"Url": "^/favicon\\.ico",
"Remark": null,
"HashPattern": null,
"MaxRps": 0
},
{
"Servers": [
{
"Url": "http://localhost:8012/",
"Weight": 10,
"MaxRps": 0
}
],
"PluginConfig": {
"Requesting": [],
"AgentRequesting": [],
"HeaderWriting": [],
"Requested": [],
"ResponseError": []
},
"Url": "/StudyCenter.*",
"Remark": null,
"HashPattern": null,
"MaxRps": 0
},
{
"Servers": [
{
"Url": "http://localhost:8010/",
"Weight": 10,
"MaxRps": 0
}
],
"PluginConfig": {
"Requesting": [],
"AgentRequesting": [],
"HeaderWriting": [],
"Requested": [],
"ResponseError": []
},
"Url": "/UserCenter.*",
"Remark": null,
"HashPattern": "",
"MaxRps": 0
},
{
"Servers": [],
"PluginConfig": {
"Requesting": [ "configuration_static_resources" ],
"AgentRequesting": [],
"HeaderWriting": [],
"Requested": [],
"ResponseError": []
},
"Url": "^/__system.*",
"Remark": null,
"HashPattern": null,
"MaxRps": 0
},
{
"Servers": [
{
"Url": "http://localhost:8011/",
"Weight": 10,
"MaxRps": 0
},
{
"Url": "ws://localhost:8011/",
"Weight": 10,
"MaxRps": 0
}
],
"PluginConfig": {
"Requesting": [],
"AgentRequesting": [],
"HeaderWriting": [],
"Requested": [],
"ResponseError": []
},
"Url": "/IoTCenter.*",
"Remark": null,
"HashPattern": null,
"MaxRps": 0
},
{
"Servers": [
{
"Url": "http://localhost:8080/",
"Weight": 10,
"MaxRps": 0
}
],
"PluginConfig": {
"Requesting": [],
"AgentRequesting": [],
"HeaderWriting": [],
"Requested": [],
"ResponseError": []
},
"Url": "/live.*",
"Remark": null,
"HashPattern": null,
"MaxRps": 0
},
{
"Servers": [
{
"Url": "http://localhost:8020/",
"Weight": 0,
"MaxRps": 0
}
],
"PluginConfig": {
"Requesting": [],
"AgentRequesting": [],
"HeaderWriting": [],
"Requested": [],
"ResponseError": []
},
"Url": "/.*",
"Remark": null,
"HashPattern": null,
"MaxRps": 0
}
],
"PluginConfig": {
"Requesting": [],
"AgentRequesting": [],
"HeaderWriting": [],
"Requested": [],
"ResponseError": []
}
}
{"PluginsStatus":{},"AgentMaxConnection":200,"AgentRequestQueueSize":2000,"GatewayQueueSize":400,"OutputServerAddress":false,"StatisticsEnabled":true,"StatisticsExts":"","WSEnabled":true,"BufferSize":4096,"PoolMaxSize":51200,"InstanceID":"771f61cb790c4bc29a881f55b74bb5df","Servers":[{"Uri":"http://localhost:8030/","MaxConnections":200,"Category":"None","Remark":null,"Properties":[]},{"Uri":"ws://localhost:8011/","MaxConnections":200,"Category":"None","Remark":null,"Properties":[]},{"Uri":"http://localhost:8013/","MaxConnections":200,"Category":"None","Remark":null,"Properties":[]},{"Uri":"http://localhost:8020/","MaxConnections":200,"Category":"None","Remark":null,"Properties":[]},{"Uri":"http://localhost:8011/","MaxConnections":200,"Category":"None","Remark":null,"Properties":[]},{"Uri":"http://localhost:8080/","MaxConnections":200,"Category":"None","Remark":null,"Properties":[]},{"Uri":"http://localhost:8010/","MaxConnections":200,"Category":"None","Remark":null,"Properties":[]},{"Uri":"http://localhost:8012/","MaxConnections":200,"Category":"None","Remark":null,"Properties":[]}],"Urls":[{"Servers":[],"PluginConfig":{"Requesting":[],"AgentRequesting":[],"HeaderWriting":[],"Requested":[],"ResponseError":[]},"Url":"*","Remark":null,"HashPattern":null,"MaxRps":0},{"Servers":[{"Url":"http://localhost:8013/","Weight":10,"MaxRps":0}],"PluginConfig":{"Requesting":[],"AgentRequesting":[],"HeaderWriting":[],"Requested":[],"ResponseError":[]},"Url":"/ManagementCenter.*","Remark":null,"HashPattern":null,"MaxRps":0},{"Servers":[],"PluginConfig":{"Requesting":["configuration_website_icon"],"AgentRequesting":[],"HeaderWriting":[],"Requested":[],"ResponseError":[]},"Url":"^/favicon\\.ico","Remark":null,"HashPattern":null,"MaxRps":0},{"Servers":[{"Url":"http://localhost:8012/","Weight":10,"MaxRps":0}],"PluginConfig":{"Requesting":[],"AgentRequesting":[],"HeaderWriting":[],"Requested":[],"ResponseError":[]},"Url":"/StudyCenter.*","Remark":null,"HashPattern":null,"MaxRps":0},{"Servers":[{"Url":"http://localhost:8010/","Weight":10,"MaxRps":0}],"PluginConfig":{"Requesting":[],"AgentRequesting":[],"HeaderWriting":[],"Requested":[],"ResponseError":[]},"Url":"/UserCenter.*","Remark":null,"HashPattern":"","MaxRps":0},{"Servers":[],"PluginConfig":{"Requesting":["configuration_static_resources"],"AgentRequesting":[],"HeaderWriting":[],"Requested":[],"ResponseError":[]},"Url":"^/__system.*","Remark":null,"HashPattern":null,"MaxRps":0},{"Servers":[{"Url":"http://localhost:8011/","Weight":10,"MaxRps":0},{"Url":"ws://localhost:8011/","Weight":10,"MaxRps":0}],"PluginConfig":{"Requesting":[],"AgentRequesting":[],"HeaderWriting":[],"Requested":[],"ResponseError":[]},"Url":"/IoTCenter.*","Remark":null,"HashPattern":null,"MaxRps":0},{"Servers":[{"Url":"http://localhost:8080/","Weight":10,"MaxRps":0}],"PluginConfig":{"Requesting":[],"AgentRequesting":[],"HeaderWriting":[],"Requested":[],"ResponseError":[]},"Url":"/live.*","Remark":null,"HashPattern":null,"MaxRps":0},{"Servers":[{"Url":"http://localhost:8030/","Weight":0,"MaxRps":0}],"PluginConfig":{"Requesting":[],"AgentRequesting":[],"HeaderWriting":[],"Requested":[],"ResponseError":[]},"Url":"/.*","Remark":null,"HashPattern":null,"MaxRps":0}],"PluginConfig":{"Requesting":[],"AgentRequesting":[],"HeaderWriting":[],"Requested":[],"ResponseError":[]}}

File diff suppressed because it is too large Load Diff

@ -1,26 +0,0 @@
<?xml version="1.0" encoding="utf-8"?>
<manifest xmlns:android="http://schemas.android.com/apk/res/android" package="com.nbaxp.com.iotclient" xmlns:tools="http://schemas.android.com/tools" android:installLocation="preferExternal">
<supports-screens android:smallScreens="true" android:normalScreens="true" android:largeScreens="true" android:xlargeScreens="true" android:anyDensity="true" />
<application android:theme="@style/UnityThemeSelector" android:icon="@mipmap/app_icon" android:label="@string/app_name" android:isGame="true" android:banner="@drawable/app_banner" android:usesCleartextTraffic="true">
<activity android:name="com.unity3d.player.UnityPlayerActivity" android:label="@string/app_name" android:screenOrientation="fullSensor" android:launchMode="singleTask" android:configChanges="mcc|mnc|locale|touchscreen|keyboard|keyboardHidden|navigation|orientation|screenLayout|uiMode|screenSize|smallestScreenSize|fontScale|layoutDirection|density" android:hardwareAccelerated="false">
<intent-filter>
<action android:name="android.intent.action.MAIN" />
<category android:name="android.intent.category.LAUNCHER" />
<category android:name="android.intent.category.LEANBACK_LAUNCHER" />
</intent-filter>
<meta-data android:name="unityplayer.UnityActivity" android:value="true" />
<meta-data android:name="android.notch_support" android:value="true" />
</activity>
<meta-data android:name="unity.build-id" android:value="9aa20a64-f20d-458e-8ea8-d74289679c94" />
<meta-data android:name="unity.splash-mode" android:value="0" />
<meta-data android:name="unity.splash-enable" android:value="True" />
<meta-data android:name="notch.config" android:value="portrait|landscape" />
</application>
<uses-feature android:glEsVersion="0x00020000" />
<uses-permission android:name="android.permission.INTERNET" />
<uses-permission android:name="android.permission.WRITE_EXTERNAL_STORAGE" android:maxSdkVersion="18" />
<uses-permission android:name="android.permission.READ_EXTERNAL_STORAGE" android:maxSdkVersion="18" />
<uses-feature android:name="android.hardware.touchscreen" android:required="false" />
<uses-feature android:name="android.hardware.touchscreen.multitouch" android:required="false" />
<uses-feature android:name="android.hardware.touchscreen.multitouch.distinct" android:required="false" />
</manifest>

@ -1,7 +0,0 @@
fileFormatVersion: 2
guid: 4bd10fd7fce48604ebaf946796244165
DefaultImporter:
externalObjects: {}
userData:
assetBundleName:
assetBundleVariant:

@ -1,7 +0,0 @@
fileFormatVersion: 2
guid: 5144f3a254549324f8aeb8d59c47b4ff
TextScriptImporter:
externalObjects: {}
userData:
assetBundleName:
assetBundleVariant:

@ -8,7 +8,6 @@
</head>
<body>
<div class="page js_show view">
<script>document.writeln(location.href);</script>
<form id="form" method="post" class="weui-form">
<div class="weui-cells weui-cells_form">
<div class="weui-cell">

@ -1,6 +1,6 @@

Microsoft Visual Studio Solution File, Format Version 12.00
# Visual Studio 15
Microsoft Visual Studio Solution File, Format Version 11.00
# Visual Studio 2010
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Assembly-CSharp", "Assembly-CSharp.csproj", "{EF6565BD-C12A-AF2F-9766-E75AAE388FD9}"
EndProject
Global

@ -12,8 +12,8 @@ PlayerSettings:
targetDevice: 2
useOnDemandResources: 0
accelerometerFrequency: 60
companyName: nbaxp.com
productName: IoTClient
companyName: nbaxp
productName: iot
defaultCursor: {fileID: 0}
cursorHotspot: {x: 0, y: 0}
m_SplashScreenBackgroundColor: {r: 0.13725491, g: 0.12156863, b: 0.1254902, a: 1}
@ -64,7 +64,7 @@ PlayerSettings:
use32BitDisplayBuffer: 1
preserveFramebufferAlpha: 0
disableDepthAndStencilBuffers: 0
androidStartInFullscreen: 0
androidStartInFullscreen: 1
androidRenderOutsideSafeArea: 0
androidBlitType: 0
defaultIsNativeResolution: 1
@ -154,13 +154,14 @@ PlayerSettings:
m_ColorGamuts: 00000000
targetPixelDensity: 30
resolutionScalingMode: 0
androidSupportedAspectRatio: 2
androidSupportedAspectRatio: 1
androidMaxAspectRatio: 2.1
applicationIdentifier:
Android: com.nbaxp.com.iotclient
Android: com.nbaxp.iot
Standalone: com.nbaxp.iot
buildNumber: {}
AndroidBundleVersionCode: 1
AndroidMinSdkVersion: 22
AndroidMinSdkVersion: 24
AndroidTargetSdkVersion: 0
AndroidPreferredInstallLocation: 1
aotOptions:

Binary file not shown.

@ -26,7 +26,7 @@ public class Application {
SpringApplication.run(Application.class, args);
}
@Bean
//@Bean
public WebFilter corsFilter() {
return (ServerWebExchange ctx, WebFilterChain chain) -> {
ServerHttpRequest request = ctx.getRequest();

@ -45,7 +45,7 @@ spring:
- Path=/IoTCenter/**
- Header=Upgrade,websocket
filters:
- StripPrefix=1
- StripPrefix=0
- id: StudyCenter
uri: http://localhost:8012/
predicates:

@ -27,24 +27,22 @@ http {
server_name localhost;
location / {
root ../../publish/src/linux-x64/publish/apps/www;
}
location ^~ /IoTCenter/hub {
proxy_pass http://localhost:5000/IoTCenter/hub/;
proxy_http_version 1.1;
proxy_set_header Upgrade $http_upgrade;
proxy_set_header Connection "upgrade";
proxy_set_header Host $host;
proxy_cache_bypass $http_upgrade;
proxy_pass http://localhost:8030/;
}
location ^~ /UserCenter/ {
proxy_pass http://localhost:5000/UserCenter/;
proxy_pass http://localhost:8010/UserCenter/;
}
location ^~ /IoTCenter/ {
proxy_pass http://localhost:5000/IoTCenter/;
proxy_pass http://localhost:8011/IoTCenter/;
}
location ^~ /IoTCenter/hub {
proxy_pass http://localhost:8011/IoTCenter/hub;
proxy_http_version 1.1;
proxy_set_header Upgrade $http_upgrade;
proxy_set_header Connection "upgrade";
}
error_page 500 502 503 504 /50x.html;

Loading…
Cancel
Save