Untitled

mail@pastecode.io avatar
unknown
plain_text
2 years ago
18 kB
2
Indexable
Never
<?xml version="1.0" encoding="utf-8"?>
<!--
  For more information on how to configure your ASP.NET application, please visit
  http://go.microsoft.com/fwlink/?LinkId=169433
  -->
<configuration>
  <configSections>
    <section name="entityFramework" type="System.Data.Entity.Internal.ConfigFile.EntityFrameworkSection, EntityFramework, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" requirePermission="false" />
    <!-- For more information on Entity Framework configuration, visit http://go.microsoft.com/fwlink/?LinkID=237468 -->
    <sectionGroup name="applicationSettings" type="System.Configuration.ApplicationSettingsGroup, System, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
      <section name="WebUI.Properties.Settings" type="System.Configuration.ClientSettingsSection, System, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" requirePermission="false" />
    </sectionGroup>
  </configSections>
  <appSettings>
    <add key="webpages:Version" value="3.0.0.0" />
    <add key="webpages:Enabled" value="false" />
    <add key="PreserveLoginUrl" value="true" />
    <add key="ClientValidationEnabled" value="true" />
    <add key="UnobtrusiveJavaScriptEnabled" value="true" />
    <add key="AuthCookieExpired" value="480" />
    <!-- in minute -->
    <add key="MvcSiteMapProvider_UseExternalDIContainer" value="false" />
    <add key="MvcSiteMapProvider_SecurityTrimmingEnabled" value="true" />
    <add key="MvcSiteMapProvider_ScanAssembliesForSiteMapNodes" value="true" />
    <add key="MvcSiteMapProvider_IncludeAssembliesForScan" value="WebUI" />
    <add key="ApplicationId" value="de39ff46-ed7b-432d-8472-8bc4a58ab5ed" />
    <add key="ApplicationName" value="DAMS NG" />
    <add key="ApplicationPath" value="" />
    <!-- format /rekadia.template/ or :1342/ -->
    <add key="SchedulerInterval" value="24" />
    <!-- scheduler interval in seconds. to running scheduler set it with value > 0 -->
    <add key="KemenkeuAPIsURL" value="http://10.242.77.91/kemenkeu-api" />
    <add key="EsignUrl" value="https://esign.kemenkeu.go.id/" />
    <add key="AppUrl" value="http://10.242.38.81" />
    <add key="SSOURL" value="http://10.242.77.90/SSO" />
    <add key="AuthorizationEndpoint" value="http://10.242.77.90/SSO/OAuth/Authorize" />
    <add key="TokenEndpoint" value="http://10.242.77.90/SSO/" />
    <add key="PROFILE_PHOTO" value="http://10.242.77.90/SSO/manage/Uploads/Thumbnails" />
    <!-- <add key="PROFILE_PHOTO" value="https://account.kemenkeu.go.id/manage/Uploads/Thumbnails" /> -->
    <add key="URL_API_GET_USER_BY_ORGANIZATION" value="http://10.242.77.91/kemenkeu-api/HRIS/api/Pegawai/GetPegawaiByKodeOrganisasi" />
    <add key="URL_API_GET_ALL_USER" value="http://10.242.77.91/kemenkeu-api/HRIS/api/Pegawai/GetAllPegawai" />
    <add key="URL_API_GET_ALL_ORGANIZATION" value="http://10.242.77.91/kemenkeu-api/HRIS/api/Organisasi/GetAllUnit" />
    <add key="URL_API_GET_USER_BY_NIP" value="http://10.242.77.91/kemenkeu-api/HRIS/api/Pegawai/GetPegawaiInfoByNIP/" />
    <add key="URL_API_GET_ORGANISASI_BY_KODE" value="http://10.242.77.91/kemenkeu-api/HRIS/api/Organisasi/GetOrganisasiByKode" />
    <add key="URL_API_GET_ORGANISASI_BY_ESELON" value="http://10.242.77.91/kemenkeu-api/HRIS/api/Organisasi/GetOrganisasiByEselon/" />
    <add key="URL_API_GET_ALL_JABATAN_BY_KODE_ORGANISASI" value="http://10.242.77.91/kemenkeu-api/HRIS/api/Pegawai/GetAllJabatanByKodeOrganisasi/" />
    <add key="URL_API_GET_ALL_ORGANISASI_BY_KODE_INDUK" value="http://10.242.77.91/kemenkeu-api/HRIS/api/Organisasi/GetOrganisasiByKodeIndukOrganisasi/" />
    <add key="URL_API_GET_ALL_PARENT_JABATAN_BY_KODE_ORGANISASI" value="http://10.242.77.91/kemenkeu-api/HRIS/api/pegawai/GetKepalaOrganisasiByKodeOrganisasi/" />
    <add key="URL_API_BASE_ORGANISASI" value="http://10.242.77.13/organisasi/" />
    <add key="URL_API_GET_PEGAWAI_BY_ID" value="http://10.242.77.13/profil/Pegawai/GetById" />
    <add key="URL_API_SEARCH_USER_BY_ORGANIZATION" value="http://10.242.77.13/profil/Pegawai/SearchPegawai" />
    <add key="DurationAutoSave" value="180000" />
    <add key="defaultCredentials" value="true" />
    <add key="SSO2_URL" value="https://demo-account.kemenkeu.go.id" />
    <add key="SSO2_CLIENTID" value="devapps" />
    <add key="SSO2_CLIENTSECRET" value="1234" />
    <add key="SSO2_GRANT_TYPE" value="client_credentials" />
    <add key="SSO2_SCOPE" value="jabatan.hris organisasi.hris gateway profil.hris" />
    <add key="SSO2_SCOPE_JABATAN_HRIS" value="jabatan.hris" />
    <add key="SSO2_SCOPE_ORGANISASI_HRIS" value="organisasi.hris" />
    <add key="SSO2_SCOPE_PROFIL_HRIS" value="profil.hris" />
    <add key="SSO2_SCOPE_AGENDA" value="agenda.ekemenkeu" />
    <add key="SSO2_SCOPE_GATEWAY" value="gateway" />
    <add key="SSO2_SCOPE_NADINE" value="gateway api.nadine" />
    <add key="NADINE_CLIENTID" value="APIDams" />
    <add key="NADINE_CLIENTSECRET" value="07552af212a6480894d38ff48dd2d917" />
    <add key="NADINE_URL" value="http://office-demo.kemenkeu.go.id:8082/api/Nadine/" />
    <add key="TASK_URL" value="http://10.242.77.13:82/core.service.agenda/Eksternal/" />
    <add key="DAMSConnection" value="data source=10.242.89.23;initial catalog=db_eprime_dams_dev;integrated security=False;user id=ecorp;password=Pusintek2016##;" />
    <add key="TIPE_ID" value="1" />
    <add key="SISTEM_ID" value="5020" />
    <add key="ORGANISASI_BASE_URL" value="http://10.242.77.13/organisasi/" />
    <add key="JABATAN_BASE_URL" value="http://10.242.77.13/jabatan/" />
    <add key="PROFIL_BASE_URL" value="http://10.242.77.13/profil/" />
    <add key="PARENT_CODE" value="35" />
  </appSettings>
  <system.web>
    <customErrors mode="RemoteOnly" />
    <globalization uiCulture="id-ID" culture="id-ID" />
    <httpRuntime targetFramework="4.5" maxRequestLength="16384" />
    <compilation targetFramework="4.5.2">
      <assemblies>
        <add assembly="System.Core, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" />
        <add assembly="System.Runtime, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a" />
      </assemblies>
    </compilation>
    <pages>
      <namespaces>
        <add namespace="System.Web.Helpers" />
        <add namespace="System.Web.Mvc" />
        <add namespace="System.Web.Mvc.Ajax" />
        <add namespace="System.Web.Mvc.Html" />
        <add namespace="System.Web.Optimization" />
        <add namespace="System.Web.Routing" />
        <add namespace="System.Web.WebPages" />
        <add namespace="MvcSiteMapProvider.Web.Html" />
        <add namespace="MvcSiteMapProvider.Web.Html.Models" />
      </namespaces>
    </pages>
  </system.web>
  <system.webServer>
    <modules runAllManagedModulesForAllRequests="true">
      <remove name="UrlRoutingModule-4.0" />
      <add name="UrlRoutingModule-4.0" type="System.Web.Routing.UrlRoutingModule" />
    </modules>
    <validation validateIntegratedModeConfiguration="false" />
    <handlers>
      <remove name="ExtensionlessUrlHandler-Integrated-4.0" />
      <remove name="OPTIONSVerbHandler" />
      <remove name="TRACEVerbHandler" />
      <remove name="ExtensionlessUrlHandler-ISAPI-4.0_32bit" />
      <remove name="ExtensionlessUrlHandler-ISAPI-4.0_64bit" />
      <add name="ExtensionlessUrlHandler-ISAPI-4.0_32bit" path="*." verb="GET,HEAD,POST,DEBUG,PUT,DELETE,PATCH,OPTIONS" modules="IsapiModule" scriptProcessor="%windir%\Microsoft.NET\Framework\v4.0.30319\aspnet_isapi.dll" preCondition="classicMode,runtimeVersionv4.0,bitness32" responseBufferLimit="0" />
      <add name="ExtensionlessUrlHandler-ISAPI-4.0_64bit" path="*." verb="GET,HEAD,POST,DEBUG,PUT,DELETE,PATCH,OPTIONS" modules="IsapiModule" scriptProcessor="%windir%\Microsoft.NET\Framework64\v4.0.30319\aspnet_isapi.dll" preCondition="classicMode,runtimeVersionv4.0,bitness64" responseBufferLimit="0" />
      <add name="ExtensionlessUrlHandler-Integrated-4.0" path="*." verb="*" type="System.Web.Handlers.TransferRequestHandler" preCondition="integratedMode,runtimeVersionv4.0" />
    </handlers>
    <staticContent>
      <remove fileExtension=".svg" />
      <remove fileExtension=".eot" />
      <remove fileExtension=".woff" />
      <mimeMap fileExtension=".svg" mimeType="image/svg+xml" />
      <mimeMap fileExtension=".eot" mimeType="application/vnd.ms-fontobject" />
      <mimeMap fileExtension=".woff" mimeType="application/x-woff" />
    </staticContent>
        <httpProtocol>
            <customHeaders>
                <add name="Access-Control-Allow-Origin" value="*" />
            </customHeaders>
        </httpProtocol>
  </system.webServer>
  <connectionStrings>
    <!--<add name="DAMSEntities" connectionString="metadata=res://*/Entities.DAMSModel.csdl|res://*/Entities.DAMSModel.ssdl|res://*/Entities.DAMSModel.msl;provider=System.Data.SqlClient;provider connection string=&quot;data source=localhost;initial catalog=dams_eprime_dev;integrated security=True;multipleactiveresultsets=True;application name=EntityFramework&quot;" providerName="System.Data.EntityClient" />-->
    <add name="DAMSEntities" connectionString="metadata=res://*/Entities.DAMSModel.csdl|res://*/Entities.DAMSModel.ssdl|res://*/Entities.DAMSModel.msl;provider=System.Data.SqlClient;provider connection string=&quot;data source=10.242.89.23;initial catalog=db_eprime_dams_dev;integrated security=False;user id=ecorp;password=Pusintek2016##;multipleactiveresultsets=True;application name=EntityFramework&quot;" providerName="System.Data.EntityClient" />
  </connectionStrings>
  <runtime>
    <assemblyBinding xmlns="urn:schemas-microsoft-com:asm.v1">
      <dependentAssembly>
        <assemblyIdentity name="WebGrease" publicKeyToken="31bf3856ad364e35" culture="neutral" />
        <bindingRedirect oldVersion="0.0.0.0-1.6.5135.21930" newVersion="1.6.5135.21930" />
      </dependentAssembly>
      <dependentAssembly>
        <assemblyIdentity name="System.Net.Http" publicKeyToken="b03f5f7f11d50a3a" culture="neutral" />
        <bindingRedirect oldVersion="0.0.0.0-4.0.0.0" newVersion="4.0.0.0" />
      </dependentAssembly>
      <dependentAssembly>
        <assemblyIdentity name="System" publicKeyToken="b77a5c561934e089" culture="neutral" />
        <bindingRedirect oldVersion="0.0.0.0-4.0.0.0" newVersion="4.0.0.0" />
      </dependentAssembly>
      <dependentAssembly>
        <assemblyIdentity name="Newtonsoft.Json" publicKeyToken="30ad4fe6b2a6aeed" culture="neutral" />
        <bindingRedirect oldVersion="0.0.0.0-12.0.0.0" newVersion="12.0.0.0" />
      </dependentAssembly>
      <dependentAssembly>
        <assemblyIdentity name="Antlr3.Runtime" publicKeyToken="eb42632606e9261f" culture="neutral" />
        <bindingRedirect oldVersion="0.0.0.0-3.5.0.2" newVersion="3.5.0.2" />
      </dependentAssembly>
      <dependentAssembly>
        <assemblyIdentity name="EntityFramework" publicKeyToken="b77a5c561934e089" culture="neutral" />
        <bindingRedirect oldVersion="0.0.0.0-4.1.0.0" newVersion="4.1.0.0" />
      </dependentAssembly>
      <dependentAssembly>
        <assemblyIdentity name="System.Web.Razor" publicKeyToken="31bf3856ad364e35" culture="neutral" />
        <bindingRedirect oldVersion="0.0.0.0-3.0.0.0" newVersion="3.0.0.0" />
      </dependentAssembly>
      <dependentAssembly>
        <assemblyIdentity name="System.Web.WebPages.Razor" publicKeyToken="31bf3856ad364e35" culture="neutral" />
        <bindingRedirect oldVersion="0.0.0.0-3.0.0.0" newVersion="3.0.0.0" />
      </dependentAssembly>
      <dependentAssembly>
        <assemblyIdentity name="Castle.Core" publicKeyToken="407dd0808d44fbdc" culture="neutral" />
        <bindingRedirect oldVersion="0.0.0.0-4.0.0.0" newVersion="4.0.0.0" />
      </dependentAssembly>
      <dependentAssembly>
        <assemblyIdentity name="System.Threading.Tasks.Extensions" publicKeyToken="cc7b13ffcd2ddd51" culture="neutral" />
        <bindingRedirect oldVersion="0.0.0.0-4.1.1.0" newVersion="4.1.1.0" />
      </dependentAssembly>
      <dependentAssembly>
        <assemblyIdentity name="System.Web.Helpers" publicKeyToken="31bf3856ad364e35" />
        <bindingRedirect oldVersion="1.0.0.0-3.0.0.0" newVersion="3.0.0.0" />
      </dependentAssembly>
      <dependentAssembly>
        <assemblyIdentity name="System.Web.WebPages" publicKeyToken="31bf3856ad364e35" />
        <bindingRedirect oldVersion="1.0.0.0-3.0.0.0" newVersion="3.0.0.0" />
      </dependentAssembly>
      <dependentAssembly>
        <assemblyIdentity name="System.Web.Mvc" publicKeyToken="31bf3856ad364e35" />
        <bindingRedirect oldVersion="0.0.0.0-5.2.7.0" newVersion="5.2.7.0" />
      </dependentAssembly>
      <dependentAssembly>
        <assemblyIdentity name="System.Net.Http.Formatting" publicKeyToken="31bf3856ad364e35" culture="neutral" />
        <bindingRedirect oldVersion="0.0.0.0-5.2.7.0" newVersion="5.2.7.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="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.OAuth" 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.Cookies" publicKeyToken="31bf3856ad364e35" culture="neutral" />
        <bindingRedirect oldVersion="0.0.0.0-3.0.1.0" newVersion="3.0.1.0" />
      </dependentAssembly>
    </assemblyBinding>
  </runtime>
  <entityFramework>
    <defaultConnectionFactory type="System.Data.Entity.Infrastructure.LocalDbConnectionFactory, EntityFramework">
      <parameters>
        <parameter value="v11.0" />
      </parameters>
    </defaultConnectionFactory>
    <providers>
      <provider invariantName="System.Data.SqlClient" type="System.Data.Entity.SqlServer.SqlProviderServices, EntityFramework.SqlServer" />
    </providers>
  </entityFramework>
  <system.net>
    <mailSettings>
      <!-- Method#1: Configure smtp server credentials -->
      <smtp from="rekadia.id@gmail.com" deliveryMethod="Network">
        <network enableSsl="true" host="smtp.gmail.com" port="587" userName="rekadia.id@gmail.com" password="rekadian123" defaultCredentials="false" />
      </smtp>
      <!--
      <smtp from="some-email@gmail.com" deliveryMethod="SpecifiedPickupDirectory">
        <network host="localhost" />
        <specifiedPickupDirectory pickupDirectoryLocation="c:\temp\"/>
      </smtp>
      -->
      <!--
      <smtp from="some-email@gmail.com" deliveryMethod="SpecifiedPickupDirectory">
        <network host="localhost" />
        <specifiedPickupDirectory pickupDirectoryLocation="c:\temp\"/>
      </smtp>
      -->
      <!-- Method#2: Dump emails to a local directory -->
      <!--
			<smtp from="some-email@gmail.com" deliveryMethod="SpecifiedPickupDirectory">
				<network host="localhost" />
				<specifiedPickupDirectory pickupDirectoryLocation="c:\temp\"/>
			</smtp>
			-->
    </mailSettings>
  </system.net>
  <system.codedom>
    <compilers>
      <compiler language="c#;cs;csharp" extension=".cs" type="Microsoft.CodeDom.Providers.DotNetCompilerPlatform.CSharpCodeProvider, Microsoft.CodeDom.Providers.DotNetCompilerPlatform, Version=2.0.1.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35" warningLevel="4" compilerOptions="/langversion:6 /nowarn:1659;1699;1701" />
      <compiler language="vb;vbs;visualbasic;vbscript" extension=".vb" type="Microsoft.CodeDom.Providers.DotNetCompilerPlatform.VBCodeProvider, Microsoft.CodeDom.Providers.DotNetCompilerPlatform, Version=2.0.1.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35" warningLevel="4" compilerOptions="/langversion:14 /nowarn:41008 /define:_MYTYPE=\&quot;Web\&quot; /optionInfer+" />
    </compilers>
  </system.codedom>
  <applicationSettings>
    <WebUI.Properties.Settings>
      <setting name="ClientID" serializeAs="String">
        <value>Dams2022.Dev</value>
      </setting>
      <setting name="ClientSecret" serializeAs="String">
        <value>1234</value>
      </setting>
      <setting name="ClientURL" serializeAs="String">
        <value>http://10.242.38.81</value>
      </setting>
      <!--<setting name="AuthorizationEndpoint" serializeAs="String">
				<value>https://account.kemenkeu.go.id/Oauth/Authorize</value>
			</setting>
			<setting name="TokenEndpoint" serializeAs="String">
				<value>https://account.kemenkeu.go.id/Oauth/Token</value>
			</setting>
			<setting name="UserInfoEndpoint" serializeAs="String">
				<value>http://api.kemenkeu.go.id/v2/api/Pegawai/GetBasicInfo</value>
			</setting>
			<setting name="SSOURL" serializeAs="String">
				<value>https://account.kemenkeu.go.id</value>
			</setting>-->
      <setting name="AuthorizationEndpoint" serializeAs="String">
        <value>http://10.242.77.90/SSO/Oauth/Authorize</value>
      </setting>
      <setting name="TokenEndpoint" serializeAs="String">
        <value>http://10.242.77.90/SSO/Oauth/Token</value>
      </setting>
      <setting name="UserInfoEndpoint" serializeAs="String">
        <value>http://api.kemenkeu.go.id/v2/api/Pegawai/GetBasicInfo</value>
      </setting>
      <setting name="SSOURL" serializeAs="String">
        <value>http://10.242.77.90/SSO</value>
      </setting>
      <setting name="KemenkeuAPIsURL" serializeAs="String">
        <value>http://10.242.77.91/kemenkeu-api</value>
      </setting>
    </WebUI.Properties.Settings>
  </applicationSettings>
</configuration>
<!--ProjectGuid: 40E6C74C-002B-4307-8B38-EF9C9DBA6FB7-->