Configuration Sample

The following sample configuration file:
  • disables FTSecurity
  • disables HTTPS
  • uses HTTP with Port 12345
<?xml version="1.0" encoding="utf-8"?> <configuration> <configSections> <section name="infoPlatform" type="RA.InfoPlatform.Core.Configuration.InfoPlatformConfigurationSection, RA.InfoPlatform.Core" /> <section name="system.identityModel" type="System.IdentityModel.Configuration.SystemIdentityModelSection, System.IdentityModel, Version=4.0.0.0, Culture=neutral, PublicKeyToken=B77A5C561934E089" /> <section name="system.identityModel.services" type="System.IdentityModel.Services.Configuration.SystemIdentityModelServicesSect ion, System.IdentityModel.Services, Version=4.0.0.0, Culture=neutral, PublicKeyToken=B77A5C561934E089" /> <section name="infoPlatformWebServices" type="RA.InfoPlatform.WebServices.Configuration.InfoPlatformWebServiceConfigurati onSection, RA.InfoPlatform.WebServices" /> </configSections> <appSettings> <add key="LoggingConfig" value="ServerLogging.xml" /> <!-- The name of the PI Server to connect to --> <!--add key="historian" value="appserhist" /--> <!--add key="PISDKHistoriansFolder" value="Hists"/--> <!--add key="FTDirectoryFolder" value="FT"/--> <!--add key="SimulatorFolder" value="Simulators"/--> <!--add key="SimulatorItem" value="Sim"/--> </appSettings> <startup> <supportedRuntime version="v4.0" sku=".NETFramework,Version=v4.8" /> </startup> <infoPlatform> <!-- <SecurityProvider assembly="RA.InfoPlatform.ClaimsProvider.FactoryTalk" type="RA.InfoPlatform.ClaimsProvider.FactoryTalk.ClaimsProvider"> <Parameters> <add name="SecretKey" value="GQDstcKsx0NHjPOuXOYg5MbeJ1XT0uFiwDVvVBrk" /> <add name="OperatorsGroupName" value="FTAnalyticsInfoPlatformOperators" /> </Parameters> </SecurityProvider> --> <!-- Set the root data provider here, just uncomment the system store if this is the one being used --> <RootItemDataProvider assembly="RA.InfoPlatform.SystemStore" type="RA.InfoPlatform.SystemStore.PlugInInfo"><Parameters> <!--add name="rootFolderName" value="MyEnterprise" /--> </Parameters> </RootItemDataProvider> <PlugIns> <!--Leave the keepAliveInterval value as zero to not send keepalive updates--> <!--add assembly="RA.InfoPlatform.OpcDa.Common" type="RA.InfoPlatform.OpcDa.Common.LiveDataBootstrapper"> <Parameters> <add name="keepAliveInterval" value="00:00:00" /> </Parameters>0 </add--> <add assembly="RA.InfoPlatform.OpcUaProvider" type="RA.InfoPlatform.OpcUaProvider.PlugIn"> <Parameters> <add name="ConfigFile" value="OPCUA-Plugin.config" /> <add name="FolderName" value="OPCUA" /> <add name="CertificateValidationOption" value="AcceptOnce" /> </Parameters> </add> <add assembly="RA.InfoPlatform.Provider.OSIsoft.AfModel" type="RA.InfoPlatform.Provider.OSIsoft.AfModel.AfPlugIn"> <Parameters> <add name="ConfigFile" value="AssetFramework-Plugin.config" /> <add name="FolderName" value="PIAF" /> <add name="FTHistoriansFolderName" value="Historians" /> <add name="RawDataBoundaryType" value="Inside" /> <add name="AggregationBoundaryType" value="Inside" /> </Parameters> </add> <add assembly="RA.InfoPlatform.InfluxDbProvider" type="RA.InfoPlatform.InfluxDbProvider.PlugIn"> <Parameters> <add name="ConfigFile" value="InfluxDB-Plugin.config" /> <add name="FolderName" value="InfluxDB" /> </Parameters> </add> <add assembly="RA.InfoPlatform.InfluxDB2Provider" type="RA.InfoPlatform.InfluxDB2Provider.PlugIn"> <Parameters> <add name="ConfigFile" value="InfluxDB2-Plugin.config" /> </Parameters> </add> <add assembly="RA.InfoPlatform.Connector.Simulator.MiddleTier" type="RA.InfoPlatform.Connector.Simulator.MiddleTier.PlugInInfo" /> <!-- Below is a sample of binding the the web service host to port 12345 --> <add assembly="RA.InfoPlatform.PlugIn.WebServiceHost" type="RA.InfoPlatform.PlugIn.WebServiceHost.PlugInInfo"><Parameters> <add name="urls" value="http://*:12345" /> </Parameters> </add> </PlugIns> <LoggerFactory assembly="RA.InfoPlatform.SerilogWrapper" type="RA.InfoPlatform.SerilogWrapper.LoggerFactory"> <Parameters> <!-- Verbose|Debug|Information|Warning|Error|Fatal--> <add name="Level" value="Information" /> <add name="WriteTo" value="RollingFile|C:\Logging\RAFileSystemProviderTest.log" /> </Parameters> </LoggerFactory> </infoPlatform> <infoPlatformWebServices enableAllServices="true" /> <system.web> <compilation debug="true" targetFramework="4.5" /> <authentication mode="Windows" /> <identity /> <authorization> <deny users="?" /> </authorization> <httpRuntime requestValidationMode="4.5" executionTimeout="360" maxRequestLength="10000" maxQueryStringLength="10000" enableVersionHeader="false" /> <pages validateRequest="false" controlRenderingCompatibilityVersion="4.0" /> <membership defaultProvider="ClientAuthenticationMembershipProvider"> <providers> <add name="ClientAuthenticationMembershipProvider" type="System.Web.ClientServices.Providers.ClientFormsAuthenticationMembershipProv ider, System.Web.Extensions, Version=4.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35" serviceUri="" /> </providers> </membership> <roleManager defaultProvider="ClientRoleProvider" enabled="true"> <providers> <add name="ClientRoleProvider" type="System.Web.ClientServices.Providers.ClientRoleProvider, System.Web.Extensions, Version=4.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35" serviceUri="" cacheTimeout="86400" /> </providers> </roleManager> </system.web> <system.webServer> <modules runAllManagedModulesForAllRequests="true"> <add name="SessionAuthenticationModule" type="System.IdentityModel.Services.SessionAuthenticationModule, System.IdentityModel.Services, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" preCondition="managedHandler" /> </modules> <handlers> <remove name="ExtensionlessUrlHandler-Integrated-4.0" /> <remove name="OPTIONSVerbHandler" /> <remove name="TRACEVerbHandler" /> <add name="ExtensionlessUrlHandler-Integrated-4.0" path="*." verb="*" type="System.Web.Handlers.TransferRequestHandler" preCondition="integratedMode,runtimeVersionv4.0" /> </handlers> </system.webServer> <system.serviceModel> <serviceHostingEnvironment multipleSiteBindingsEnabled="false" aspNetCompatibilityEnabled="true" /> </system.serviceModel> <system.identityModel> <identityConfiguration saveBootstrapContext="true"> <!--certificationValidationMode set to "None" by the the Identity and Access Tool for Visual Studio. For development purposes.--> <certificateValidation certificateValidationMode="None" /> </identityConfiguration> </system.identityModel> <system.identityModel.services /> <system.diagnostics> <!--sources> <source name="SignalR.SqlMessageBus"> <listeners> <add name="SignalR-Bus" /> </listeners> </source> <source name="SignalR.ServiceBusMessageBus"> <listeners> <add name="SignalR-Bus" /> </listeners> </source> <source name="SignalR.RedisMessageBus"> <listeners> <add name="SignalR-Bus" /> </listeners> </source> <source name="SignalR.ScaleoutMessageBus"> <listeners> <add name="SignalR-Bus" /> </listeners> </source> <source name="SignalR.Transports.WebSocketTransport"> <listeners> <add name="SignalR-Transports" /> </listeners> </source> <source name="SignalR.Transports.ServerSentEventsTransport"> <listeners> <add name="SignalR-Transports" /> </listeners> </source> <source name="SignalR.Transports.ForeverFrameTransport"> <listeners> <add name="SignalR-Transports" /> </listeners> </source> <source name="SignalR.Transports.LongPollingTransport"> <listeners> <add name="SignalR-Transports" /> </listeners> </source> <source name="SignalR.Transports.TransportHeartBeat"> <listeners> <add name="SignalR-Transports" /> </listeners> </source> <source name="SignalR.ReflectedHubDescriptorProvider"> <listeners> <add name="SignalR-Init" /> </listeners> </source> </sources--> <!-- Sets the trace verbosity level --> <switches> <add name="SignalRSwitch" value="Information" /> </switches> <!-- Specifies the trace writer for output --> <sharedListeners> <!-- Listener for transport events --> <!--add name="SignalR-Transports" type="System.Diagnostics.TextWriterTraceListener" initializeData="transports.log.txt" /--> <!-- Listener for scaleout provider events --> <!--add name="SignalR-Bus" type="System.Diagnostics.TextWriterTraceListener" initializeData="bus.log.txt" /--> <!-- Listener for hub discovery events --> <!--add name="SignalR-Init" type="System.Diagnostics.TextWriterTraceListener" initializeData="init.log.txt" /--> </sharedListeners> <trace autoflush="true" /> </system.diagnostics> <runtime> <assemblyBinding xmlns="urn:schemas-microsoft-com:asm.v1"> <dependentAssembly> <assemblyIdentity name="System.Net.Http.Extensions" publicKeyToken="b03f5f7f11d50a3a" culture="neutral" /> <bindingRedirect oldVersion="0.0.0.0-2.2.28.0" newVersion="2.2.28.0" /> </dependentAssembly> <dependentAssembly> <assemblyIdentity name="System.Net.Http.Primitives" publicKeyToken="b03f5f7f11d50a3a" culture="neutral" /> <bindingRedirect oldVersion="0.0.0.0-4.2.28.0" newVersion="4.2.28.0" /> </dependentAssembly> <dependentAssembly> <assemblyIdentity name="Microsoft.Owin" publicKeyToken="31bf3856ad364e35" culture="neutral" /> <bindingRedirect oldVersion="0.0.0.0-3.0.1.0" newVersion="3.0.1.0" /> </dependentAssembly> <dependentAssembly> <assemblyIdentity name="Microsoft.Owin.Security" publicKeyToken="31bf3856ad364e35" culture="neutral" /> <bindingRedirect oldVersion="0.0.0.0-3.0.1.0" newVersion="3.0.1.0" /> </dependentAssembly> <dependentAssembly> <assemblyIdentity name="Newtonsoft.Json" publicKeyToken="30ad4fe6b2a6aeed" culture="neutral" /> <bindingRedirect oldVersion="0.0.0.0-10.0.0.0" newVersion="10.0.0.0" /> </dependentAssembly> <dependentAssembly> <assemblyIdentity name="RA.InfoPlatform.Core.Plugin" publicKeyToken="bc24dc22e8ee9a7e" culture="neutral" /> <bindingRedirect oldVersion="0.0.0.0-2.0.0.0" newVersion="2.0.0.0" /> </dependentAssembly> <dependentAssembly> <assemblyIdentity name="RA.InfoPlatform.Core" publicKeyToken="bc24dc22e8ee9a7e" culture="neutral" /> <bindingRedirect oldVersion="0.0.0.0-2.0.0.0" newVersion="2.0.0.0" /> </dependentAssembly> </assemblyBinding> </runtime> </configuration>
Provide Feedback
Have questions or feedback about this documentation? Please submit your feedback here.