-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
bc6a845
commit 5b43eba
Showing
7 changed files
with
131 additions
and
92 deletions.
There are no files selected for viewing
17 changes: 17 additions & 0 deletions
17
SpatialConnect.Windows.DataServices/Constants/ContainerConstants.cs
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
using System; | ||
using System.Collections.Generic; | ||
using System.Linq; | ||
using System.Text; | ||
using System.Threading.Tasks; | ||
|
||
namespace SpatialConnect.Windows.DataServices.Constants | ||
{ | ||
public sealed class ContainerConstants | ||
{ | ||
public sealed class Destination | ||
{ | ||
public const string WEBEOC = "webeoc"; | ||
public const string ARCGIS = "arcgis"; | ||
} | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Binary file modified
BIN
+512 Bytes
(100%)
SpatialConnect.Windows.Task/bin/Release/SpatialConnect.Windows.DataServices.dll
Binary file not shown.
Binary file modified
BIN
+0 Bytes
(100%)
SpatialConnect.Windows.Task/bin/Release/SpatialConnect.Windows.Task.exe
Binary file not shown.
145 changes: 71 additions & 74 deletions
145
SpatialConnect.Windows.Task/bin/Release/SpatialConnect.Windows.Task.exe.config
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,76 +1,73 @@ | ||
<?xml version="1.0" encoding="utf-8"?> | ||
<configuration> | ||
<configSections> | ||
<section name="log4net" type="log4net.Config.Log4NetConfigurationSectionHandler, log4net" /> | ||
</configSections> | ||
<startup> | ||
<supportedRuntime version="v4.0" sku=".NETFramework,Version=v4.5" /> | ||
</startup> | ||
<system.net> | ||
<defaultProxy useDefaultCredentials="true" /> | ||
</system.net> | ||
<appSettings> | ||
<add key="log4net.Internal.Debug" value="true" /> | ||
<!-- LOCAL DEV --> | ||
<add key="webeoc-api-url" value="https://webeoc.in.gov/eoc7/api.asmx" /> | ||
<!--<add key="webeoc-api-url" value="http://dhswebd01pw.shared.state.in.us/eoc7/api.asmx" />--> | ||
<!--<add key="app-path" value="C:\\src\\github.com\\juwilliams\\spatial-connect-cli\\tasks\\log\\"/>--> | ||
<add key="app-path" value="D:\\src\\github.com\\juwilliams\\spatial-connect-cli\\tasks\\"/> | ||
</appSettings> | ||
<system.serviceModel> | ||
<bindings> | ||
<basicHttpBinding> | ||
<binding name="ApiSoap" openTimeout="00:05:00" receiveTimeout="00:20:00" sendTimeout="00:20:00" maxBufferPoolSize="2147483647" maxReceivedMessageSize="2147483647" allowCookies="false" /> | ||
</basicHttpBinding> | ||
<customBinding> | ||
<binding name="WebeocHttpsBinding" closeTimeout="00:05:00" openTimeout="00:05:00" receiveTimeout="00:05:00" sendTimeout="00:05:00"> | ||
<transactionFlow /> | ||
<textMessageEncoding messageVersion="Soap11" /> | ||
<httpsTransport maxBufferPoolSize="2147483647" maxReceivedMessageSize="2147483647" authenticationScheme="Ntlm" maxBufferSize="2147483647" /> | ||
</binding> | ||
<binding name="ApiSoap12"> | ||
<textMessageEncoding messageVersion="Soap12" /> | ||
<httpTransport allowCookies="false" /> | ||
</binding> | ||
</customBinding> | ||
</bindings> | ||
<client> | ||
<endpoint address="https://webeoc.in.gov/eoc7/api.asmx" binding="customBinding" bindingConfiguration="WebeocHttpsBinding" contract="WebEOC7.APISoap" name="APISoap" /> | ||
<endpoint address="http://localhost:8089/SpatialConnectAPI.asmx" binding="basicHttpBinding" bindingConfiguration="ApiSoap" contract="SpatialConnectAPI.ApiSoap" name="ApiSoap" /> | ||
<endpoint address="http://localhost:8089/SpatialConnectAPI.asmx" binding="customBinding" bindingConfiguration="ApiSoap12" contract="SpatialConnectAPI.ApiSoap" name="ApiSoap12" /> | ||
</client> | ||
</system.serviceModel> | ||
<log4net> | ||
<root> | ||
<level value="DEBUG" /> | ||
<appender-ref ref="RollingFileAppender" /> | ||
</root> | ||
<appender name="RollingFileAppender" type="log4net.Appender.RollingFileAppender"> | ||
<bufferSize value="1" /> | ||
<file type="log4net.Util.PatternString" value="%property{AppPath}\log\log.txt" /> | ||
<appendToFile value="true" /> | ||
<rollingStyle value="Size" /> | ||
<maxSizeRollBackups value="50" /> | ||
<maximumFileSize value="100KB" /> | ||
<staticLogFileName value="true" /> | ||
<layout type="log4net.Layout.PatternLayout"> | ||
<conversionPattern value="%date [%thread] %-5level %logger [%property{NDC}] - %message%newline" /> | ||
</layout> | ||
</appender> | ||
</log4net> | ||
<runtime> | ||
<assemblyBinding xmlns="urn:schemas-microsoft-com:asm.v1"> | ||
<dependentAssembly> | ||
<assemblyIdentity name="Newtonsoft.Json" publicKeyToken="30ad4fe6b2a6aeed" culture="neutral" /> | ||
<bindingRedirect oldVersion="0.0.0.0-8.0.0.0" newVersion="8.0.0.0" /> | ||
</dependentAssembly> | ||
</assemblyBinding> | ||
</runtime> | ||
<system.diagnostics> | ||
<trace autoflush="true"> | ||
<listeners> | ||
<add name="textWriterTraceListener" type="System.Diagnostics.TextWriterTraceListener" initializeData="D:\temp\log4netSRC.txt" /> | ||
</listeners> | ||
</trace> | ||
<?xml version="1.0" encoding="utf-8"?> | ||
<configuration> | ||
<configSections> | ||
<section name="log4net" type="log4net.Config.Log4NetConfigurationSectionHandler, log4net" /> | ||
</configSections> | ||
<startup> | ||
<supportedRuntime version="v4.0" sku=".NETFramework,Version=v4.5" /> | ||
</startup> | ||
<system.net> | ||
<defaultProxy useDefaultCredentials="true" /> | ||
</system.net> | ||
<appSettings> | ||
<!-- This is the maximum number of records that can be retrieved from the API --> | ||
<add key="max-api-record-count" value="15000" /> | ||
<add key="log4net.Internal.Debug" value="true" /> | ||
<!-- LOCAL DEV --> | ||
<add key="app-path" value="D:\incidents\DailyOperationsFast2\connect"/> | ||
<add key="env" value="prod"/> | ||
</appSettings> | ||
<system.serviceModel> | ||
<bindings> | ||
<basicHttpBinding> | ||
<binding name="ApiSoap" openTimeout="00:05:00" receiveTimeout="00:20:00" sendTimeout="00:20:00" maxBufferPoolSize="2147483647" maxReceivedMessageSize="2147483647" allowCookies="false" /> | ||
</basicHttpBinding> | ||
<customBinding> | ||
<binding name="WebeocHttpsBinding" closeTimeout="00:05:00" openTimeout="00:05:00" receiveTimeout="00:05:00" sendTimeout="00:05:00"> | ||
<transactionFlow /> | ||
<textMessageEncoding messageVersion="Soap11" /> | ||
<httpsTransport maxBufferPoolSize="2147483647" maxReceivedMessageSize="2147483647" authenticationScheme="Ntlm" maxBufferSize="2147483647" /> | ||
</binding> | ||
<binding name="ApiSoap12"> | ||
<textMessageEncoding messageVersion="Soap12" /> | ||
<httpTransport allowCookies="false" /> | ||
</binding> | ||
</customBinding> | ||
</bindings> | ||
<client> | ||
<endpoint address="https://webeoc.in.gov/eoc7/api.asmx" binding="customBinding" bindingConfiguration="WebeocHttpsBinding" contract="WebEOC7.APISoap" name="APISoap" /> | ||
</client> | ||
</system.serviceModel> | ||
<log4net> | ||
<root> | ||
<level value="DEBUG" /> | ||
<appender-ref ref="RollingFileAppender" /> | ||
</root> | ||
<appender name="RollingFileAppender" type="log4net.Appender.RollingFileAppender"> | ||
<file type="log4net.Util.PatternString" value="%property{AppPath}\log\log.txt" /> | ||
<appendToFile value="true" /> | ||
<rollingStyle value="Size" /> | ||
<maxSizeRollBackups value="10" /> | ||
<maximumFileSize value="100KB" /> | ||
<staticLogFileName value="true" /> | ||
<layout type="log4net.Layout.PatternLayout"> | ||
<conversionPattern value="%date [%thread] %-5level %message%newline" /> | ||
</layout> | ||
</appender> | ||
</log4net> | ||
<runtime> | ||
<assemblyBinding xmlns="urn:schemas-microsoft-com:asm.v1"> | ||
<dependentAssembly> | ||
<assemblyIdentity name="Newtonsoft.Json" publicKeyToken="30ad4fe6b2a6aeed" culture="neutral" /> | ||
<bindingRedirect oldVersion="0.0.0.0-8.0.0.0" newVersion="8.0.0.0" /> | ||
</dependentAssembly> | ||
</assemblyBinding> | ||
</runtime> | ||
<system.diagnostics> | ||
<trace autoflush="true"> | ||
<listeners> | ||
<add name="textWriterTraceListener" type="System.Diagnostics.TextWriterTraceListener" initializeData="D:\temp\log4netDailyOps.txt" /> | ||
</listeners> | ||
</trace> | ||
</system.diagnostics> | ||
</configuration> |
Binary file not shown.