Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in
Toggle navigation
H
HIMSScannerService
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
HIMSScanner
HIMSScannerService
Commits
670cc6b8
Commit
670cc6b8
authored
Nov 30, 2024
by
Krishna Reddy Tamatam
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Added Connection setting and Program.cs changes
parent
5c5827d3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
15 additions
and
4 deletions
+15
-4
FTPService.csproj
FTPService.csproj
+3
-1
Program.cs
Program.cs
+10
-1
appsettings.json
appsettings.json
+2
-2
No files found.
FTPService.csproj
View file @
670cc6b8
...
@@ -22,5 +22,7 @@
...
@@ -22,5 +22,7 @@
<PackageReference Include="Npgsql" Version="8.0.3" />
<PackageReference Include="Npgsql" Version="8.0.3" />
<PackageReference Include="AspNetCore.HealthChecks.NpgSql" Version="8.0.1" />
<PackageReference Include="AspNetCore.HealthChecks.NpgSql" Version="8.0.1" />
</ItemGroup>
</ItemGroup>
<ItemGroup>
<None Include="log4net.config" CopyToOutputDirectory="Always" />
</ItemGroup>
</Project>
</Project>
Program.cs
View file @
670cc6b8
...
@@ -132,12 +132,21 @@ app.UseEndpoints(endpoints =>
...
@@ -132,12 +132,21 @@ app.UseEndpoints(endpoints =>
// });
// });
// });
// });
// if (app.Environment.IsDevelopment())
// {
// app.Run("http://localhost:5603");
// }
// else
// {
// app.Run();
// }
if
(
app
.
Environment
.
IsDevelopment
())
if
(
app
.
Environment
.
IsDevelopment
())
{
{
app
.
Run
(
"http://localhost:5603"
);
app
.
Run
(
"http://localhost:5603"
);
}
}
else
else
{
{
app
.
Run
();
app
.
Run
(
"http://*:4708"
);
}
}
appsettings.json
View file @
670cc6b8
{
{
"AppSettings"
:
{
"AppSettings"
:
{
"ConnectionString"
:
"SERVER=1
92.168.7.207;PORT=5432;UID=ff4dbuser;PWD=dbuser4ff123!;Database=fernandez_uat_20240913
;Timeout=1000"
,
"ConnectionString"
:
"SERVER=1
0.11.12.106;PORT=5432;UID=himsdbuser;PWD=dbuser@hims123!;database=fernandez_20241125
;Timeout=1000"
,
"FTPConfiguration"
:
{
"FTPConfiguration"
:
{
"Username"
:
"fernandez"
,
"Username"
:
"fernandez"
,
"Password"
:
"fernandez123!"
,
"Password"
:
"fernandez123!"
,
"FtpURL"
:
"ftp://192.168.7.104/"
,
"FtpURL"
:
"ftp://192.168.7.104/"
,
"FTPMODE"
:
false
,
"FTPMODE"
:
false
,
"DestinationPath"
:
"
D:
\\
FTPRoot
\\
Fernandez
"
"DestinationPath"
:
"
/ftproot/FTPRoot/Fernandez/ScanDocuments
"
}
}
},
},
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment