Compare commits
19 Commits
322b5e3d4b
...
main
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
7222602e12 | ||
|
|
ed16feed51 | ||
|
|
d329bbb939 | ||
|
|
8eb0a93a91 | ||
|
|
ea0889feb3 | ||
|
|
09e1766bd4 | ||
|
|
601277d215 | ||
|
|
448ccb5de3 | ||
|
|
c8d81d80eb | ||
|
|
c36d7e431e | ||
|
|
460cf619bb | ||
|
|
657570d7c2 | ||
|
|
3e6dc3eefc | ||
|
|
15849e3781 | ||
|
|
3521ae60ba | ||
|
|
6206dbce7a | ||
|
|
49a5028501 | ||
|
|
318d7884f2 | ||
|
|
fc38961b62 |
@@ -18,4 +18,8 @@
|
|||||||
</PackageReference>
|
</PackageReference>
|
||||||
</ItemGroup>
|
</ItemGroup>
|
||||||
|
|
||||||
|
<ItemGroup>
|
||||||
|
<Content Include="obj\rider.project.model.nuget.info" />
|
||||||
|
</ItemGroup>
|
||||||
|
|
||||||
</Project>
|
</Project>
|
||||||
|
|||||||
1682
OCPP.Core.Database/bin/Debug/net8.0/OCPP.Core.Database.deps.json
Normal file
1682
OCPP.Core.Database/bin/Debug/net8.0/OCPP.Core.Database.deps.json
Normal file
File diff suppressed because it is too large
Load Diff
BIN
OCPP.Core.Database/bin/Debug/net8.0/OCPP.Core.Database.dll
Normal file
BIN
OCPP.Core.Database/bin/Debug/net8.0/OCPP.Core.Database.dll
Normal file
Binary file not shown.
BIN
OCPP.Core.Database/bin/Debug/net8.0/OCPP.Core.Database.pdb
Normal file
BIN
OCPP.Core.Database/bin/Debug/net8.0/OCPP.Core.Database.pdb
Normal file
Binary file not shown.
@@ -0,0 +1,13 @@
|
|||||||
|
{
|
||||||
|
"runtimeOptions": {
|
||||||
|
"tfm": "net8.0",
|
||||||
|
"framework": {
|
||||||
|
"name": "Microsoft.NETCore.App",
|
||||||
|
"version": "8.0.0"
|
||||||
|
},
|
||||||
|
"configProperties": {
|
||||||
|
"System.Reflection.NullabilityInfoContext.IsSupported": true,
|
||||||
|
"System.Runtime.Serialization.EnableUnsafeBinaryFormatterSerialization": false
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
@@ -13,7 +13,7 @@ using System.Reflection;
|
|||||||
[assembly: System.Reflection.AssemblyCompanyAttribute("dallmann consulting GmbH")]
|
[assembly: System.Reflection.AssemblyCompanyAttribute("dallmann consulting GmbH")]
|
||||||
[assembly: System.Reflection.AssemblyConfigurationAttribute("Debug")]
|
[assembly: System.Reflection.AssemblyConfigurationAttribute("Debug")]
|
||||||
[assembly: System.Reflection.AssemblyFileVersionAttribute("1.3.2.0")]
|
[assembly: System.Reflection.AssemblyFileVersionAttribute("1.3.2.0")]
|
||||||
[assembly: System.Reflection.AssemblyInformationalVersionAttribute("1.3.2+88ddddd7c28044fdad5515c33a8fbef41a5387c4")]
|
[assembly: System.Reflection.AssemblyInformationalVersionAttribute("1.3.2+601277d2153d223843903ea9507e84507f2bef5f")]
|
||||||
[assembly: System.Reflection.AssemblyProductAttribute("OCPP.Core")]
|
[assembly: System.Reflection.AssemblyProductAttribute("OCPP.Core")]
|
||||||
[assembly: System.Reflection.AssemblyTitleAttribute("OCPP.Core.Database")]
|
[assembly: System.Reflection.AssemblyTitleAttribute("OCPP.Core.Database")]
|
||||||
[assembly: System.Reflection.AssemblyVersionAttribute("1.3.2.0")]
|
[assembly: System.Reflection.AssemblyVersionAttribute("1.3.2.0")]
|
||||||
|
|||||||
@@ -1 +1 @@
|
|||||||
f0dcad204937d3fd26ede0d679763b6086f8bc46e534e366487a8bb7789d3eeb
|
201270d7be9633015df81c58e7b49d51743411d9b85e333c4421c7024ff77e3c
|
||||||
|
|||||||
@@ -0,0 +1 @@
|
|||||||
|
5a2adb8ea7cf59aa189c5a32ae8131885cbe33eefdc6f63817d77a651b063dd7
|
||||||
@@ -0,0 +1,14 @@
|
|||||||
|
/Users/nutchayut/OCPP.Core/OCPP.Core.Database/bin/Debug/net8.0/OCPP.Core.Database.deps.json
|
||||||
|
/Users/nutchayut/OCPP.Core/OCPP.Core.Database/bin/Debug/net8.0/OCPP.Core.Database.runtimeconfig.json
|
||||||
|
/Users/nutchayut/OCPP.Core/OCPP.Core.Database/bin/Debug/net8.0/OCPP.Core.Database.dll
|
||||||
|
/Users/nutchayut/OCPP.Core/OCPP.Core.Database/bin/Debug/net8.0/OCPP.Core.Database.pdb
|
||||||
|
/Users/nutchayut/OCPP.Core/OCPP.Core.Database/obj/Debug/net8.0/OCPP.Core.Database.csproj.AssemblyReference.cache
|
||||||
|
/Users/nutchayut/OCPP.Core/OCPP.Core.Database/obj/Debug/net8.0/OCPP.Core.Database.GeneratedMSBuildEditorConfig.editorconfig
|
||||||
|
/Users/nutchayut/OCPP.Core/OCPP.Core.Database/obj/Debug/net8.0/OCPP.Core.Database.AssemblyInfoInputs.cache
|
||||||
|
/Users/nutchayut/OCPP.Core/OCPP.Core.Database/obj/Debug/net8.0/OCPP.Core.Database.AssemblyInfo.cs
|
||||||
|
/Users/nutchayut/OCPP.Core/OCPP.Core.Database/obj/Debug/net8.0/OCPP.Core.Database.csproj.CoreCompileInputs.cache
|
||||||
|
/Users/nutchayut/OCPP.Core/OCPP.Core.Database/obj/Debug/net8.0/OCPP.Core.Database.dll
|
||||||
|
/Users/nutchayut/OCPP.Core/OCPP.Core.Database/obj/Debug/net8.0/refint/OCPP.Core.Database.dll
|
||||||
|
/Users/nutchayut/OCPP.Core/OCPP.Core.Database/obj/Debug/net8.0/OCPP.Core.Database.pdb
|
||||||
|
/Users/nutchayut/OCPP.Core/OCPP.Core.Database/obj/Debug/net8.0/OCPP.Core.Database.genruntimeconfig.cache
|
||||||
|
/Users/nutchayut/OCPP.Core/OCPP.Core.Database/obj/Debug/net8.0/ref/OCPP.Core.Database.dll
|
||||||
BIN
OCPP.Core.Database/obj/Debug/net8.0/OCPP.Core.Database.dll
Normal file
BIN
OCPP.Core.Database/obj/Debug/net8.0/OCPP.Core.Database.dll
Normal file
Binary file not shown.
@@ -0,0 +1 @@
|
|||||||
|
5fd2adab629a63ef617a4291d238a5770737b262ae22539996a8dd3369faba78
|
||||||
BIN
OCPP.Core.Database/obj/Debug/net8.0/OCPP.Core.Database.pdb
Normal file
BIN
OCPP.Core.Database/obj/Debug/net8.0/OCPP.Core.Database.pdb
Normal file
Binary file not shown.
BIN
OCPP.Core.Database/obj/Debug/net8.0/ref/OCPP.Core.Database.dll
Normal file
BIN
OCPP.Core.Database/obj/Debug/net8.0/ref/OCPP.Core.Database.dll
Normal file
Binary file not shown.
Binary file not shown.
1
OCPP.Core.Database/obj/rider.project.model.nuget.info
Normal file
1
OCPP.Core.Database/obj/rider.project.model.nuget.info
Normal file
@@ -0,0 +1 @@
|
|||||||
|
17170907493933033
|
||||||
@@ -1,12 +1,12 @@
|
|||||||
FROM registry.71dev.com/dotnetsdk:8.0 as build-env
|
FROM registry.71dev.com/dotnetsdk:8.0 as build-env
|
||||||
WORKDIR /source
|
WORKDIR /source
|
||||||
COPY . .
|
COPY . .
|
||||||
RUN dotnet publish OCPP.Core.Server/OCPP.Core.Server.csproj -o /publish
|
RUN dotnet publish OCPP.Core.Management/OCPP.Core.Management.csproj -o /publish
|
||||||
#RUN dotnet build
|
#RUN dotnet build
|
||||||
#RUN dotnet publish -o /publish --configuration Release ;
|
#RUN dotnet publish -o /publish --configuration Release ;
|
||||||
# Publish Stage
|
# Publish Stage
|
||||||
FROM registry.71dev.com/dotnetaspnet:8.0
|
FROM registry.71dev.com/dotnetaspnet:8.0
|
||||||
WORKDIR /app
|
WORKDIR /app
|
||||||
COPY --from=build-env /publish .
|
COPY --from=build-env /publish .
|
||||||
ENV ASPNETCORE_URLS http://*:8081
|
ENV ASPNETCORE_URLS http://*:8080
|
||||||
ENTRYPOINT ["dotnet", "OCPP.Core.Server.dll"]
|
ENTRYPOINT ["dotnet", "OCPP.Core.Management.dll"]
|
||||||
189
OCPP.Core.Management/Logs/OCPP.Core.Management-00.log
Normal file
189
OCPP.Core.Management/Logs/OCPP.Core.Management-00.log
Normal file
@@ -0,0 +1,189 @@
|
|||||||
|
warn: Microsoft.AspNetCore.Server.Kestrel[0] @ 2024-06-01T18:31:32.2089150+07:00
|
||||||
|
Overriding address(es) 'http://localhost:8082'. Binding to endpoints defined via IConfiguration and/or UseKestrel() instead.
|
||||||
|
warn: Microsoft.AspNetCore.Server.Kestrel[0] @ 2024-06-02T00:27:32.0567750+07:00
|
||||||
|
Overriding address(es) 'http://localhost:8082'. Binding to endpoints defined via IConfiguration and/or UseKestrel() instead.
|
||||||
|
warn: Microsoft.AspNetCore.Server.Kestrel[0] @ 2024-06-02T00:41:32.0457940+07:00
|
||||||
|
Overriding address(es) 'http://localhost:8082'. Binding to endpoints defined via IConfiguration and/or UseKestrel() instead.
|
||||||
|
info: OCPP.Core.Management.Controllers.AccountController[0] @ 2024-06-02T00:41:43.4731870+07:00
|
||||||
|
User 'admin' logged in
|
||||||
|
trce: OCPP.Core.Management.Controllers.HomeController[0] @ 2024-06-02T00:41:43.4983950+07:00
|
||||||
|
Index: Loading charge points with latest transactions...
|
||||||
|
fail: OCPP.Core.Management.Controllers.HomeController[0] @ 2024-06-02T00:41:43.5464040+07:00
|
||||||
|
Index: Error in status web request => nodename nor servname provided, or not known (server-ocpp-service.ocpp:80)
|
||||||
|
System.Net.Http.HttpRequestException: nodename nor servname provided, or not known (server-ocpp-service.ocpp:80)
|
||||||
|
---> System.Net.Sockets.SocketException (0xFFFDFFFF): nodename nor servname provided, or not known
|
||||||
|
at System.Net.Sockets.Socket.AwaitableSocketAsyncEventArgs.ThrowException(SocketError error, CancellationToken cancellationToken)
|
||||||
|
at System.Net.Sockets.Socket.AwaitableSocketAsyncEventArgs.System.Threading.Tasks.Sources.IValueTaskSource.GetResult(Int16 token)
|
||||||
|
at System.Net.Sockets.Socket.<ConnectAsync>g__WaitForConnectWithCancellation|285_0(AwaitableSocketAsyncEventArgs saea, ValueTask connectTask, CancellationToken cancellationToken)
|
||||||
|
at System.Net.Http.HttpConnectionPool.ConnectToTcpHostAsync(String host, Int32 port, HttpRequestMessage initialRequest, Boolean async, CancellationToken cancellationToken)
|
||||||
|
--- End of inner exception stack trace ---
|
||||||
|
at System.Net.Http.HttpConnectionPool.ConnectToTcpHostAsync(String host, Int32 port, HttpRequestMessage initialRequest, Boolean async, CancellationToken cancellationToken)
|
||||||
|
at System.Net.Http.HttpConnectionPool.ConnectAsync(HttpRequestMessage request, Boolean async, CancellationToken cancellationToken)
|
||||||
|
at System.Net.Http.HttpConnectionPool.CreateHttp11ConnectionAsync(HttpRequestMessage request, Boolean async, CancellationToken cancellationToken)
|
||||||
|
at System.Net.Http.HttpConnectionPool.AddHttp11ConnectionAsync(QueueItem queueItem)
|
||||||
|
at System.Threading.Tasks.TaskCompletionSourceWithCancellation`1.WaitWithCancellationAsync(CancellationToken cancellationToken)
|
||||||
|
at System.Net.Http.HttpConnectionPool.SendWithVersionDetectionAndRetryAsync(HttpRequestMessage request, Boolean async, Boolean doRequestAuth, CancellationToken cancellationToken)
|
||||||
|
at System.Net.Http.DiagnosticsHandler.SendAsyncCore(HttpRequestMessage request, Boolean async, CancellationToken cancellationToken)
|
||||||
|
at System.Net.Http.RedirectHandler.SendAsync(HttpRequestMessage request, Boolean async, CancellationToken cancellationToken)
|
||||||
|
at System.Net.Http.HttpClient.<SendAsync>g__Core|83_0(HttpRequestMessage request, HttpCompletionOption completionOption, CancellationTokenSource cts, Boolean disposeCts, CancellationTokenSource pendingRequestsCts, CancellationToken originalCancellationToken)
|
||||||
|
at OCPP.Core.Management.Controllers.HomeController.Index() in /Users/nutchayut/OCPP.Core/OCPP.Core.Management/Controllers/HomeController.Index.cs:line 91
|
||||||
|
fail: Microsoft.EntityFrameworkCore.Database.Connection[Microsoft.EntityFrameworkCore.Database.Connection.ConnectionError] @ 2024-06-02T00:41:54.5152150+07:00
|
||||||
|
An error occurred using the connection to database 'OCPP.Core' on server '202.129.205.201,31455'.
|
||||||
|
fail: Microsoft.EntityFrameworkCore.Query[Microsoft.EntityFrameworkCore.Query.QueryIterationFailed] @ 2024-06-02T00:41:54.5323130+07:00
|
||||||
|
An exception occurred while iterating over the results of a query for context type 'OCPP.Core.Database.OCPPCoreContext'.
|
||||||
|
System.InvalidOperationException: An exception has been raised that is likely due to a transient failure. Consider enabling transient error resiliency by adding 'EnableRetryOnFailure' to the 'UseSqlServer' call.
|
||||||
|
---> Microsoft.Data.SqlClient.SqlException (0x80131904): Cannot open database "OCPP.Core" requested by the login. The login failed.
|
||||||
|
Login failed for user 'sa'.
|
||||||
|
at Microsoft.Data.SqlClient.SqlInternalConnection.OnError(SqlException exception, Boolean breakConnection, Action`1 wrapCloseInAction)
|
||||||
|
at Microsoft.Data.SqlClient.TdsParser.ThrowExceptionAndWarning(TdsParserStateObject stateObj, Boolean callerHasConnectionLock, Boolean asyncClose)
|
||||||
|
at Microsoft.Data.SqlClient.TdsParser.TryRun(RunBehavior runBehavior, SqlCommand cmdHandler, SqlDataReader dataStream, BulkCopySimpleResultSet bulkCopyHandler, TdsParserStateObject stateObj, Boolean& dataReady)
|
||||||
|
at Microsoft.Data.SqlClient.TdsParser.Run(RunBehavior runBehavior, SqlCommand cmdHandler, SqlDataReader dataStream, BulkCopySimpleResultSet bulkCopyHandler, TdsParserStateObject stateObj)
|
||||||
|
at Microsoft.Data.SqlClient.SqlInternalConnectionTds.CompleteLogin(Boolean enlistOK)
|
||||||
|
at Microsoft.Data.SqlClient.SqlInternalConnectionTds.AttemptOneLogin(ServerInfo serverInfo, String newPassword, SecureString newSecurePassword, Boolean ignoreSniOpenTimeout, TimeoutTimer timeout, Boolean withFailover)
|
||||||
|
at Microsoft.Data.SqlClient.SqlInternalConnectionTds.LoginNoFailover(ServerInfo serverInfo, String newPassword, SecureString newSecurePassword, Boolean redirectedUserInstance, SqlConnectionString connectionOptions, SqlCredential credential, TimeoutTimer timeout)
|
||||||
|
at Microsoft.Data.SqlClient.SqlInternalConnectionTds.OpenLoginEnlist(TimeoutTimer timeout, SqlConnectionString connectionOptions, SqlCredential credential, String newPassword, SecureString newSecurePassword, Boolean redirectedUserInstance)
|
||||||
|
at Microsoft.Data.SqlClient.SqlInternalConnectionTds..ctor(DbConnectionPoolIdentity identity, SqlConnectionString connectionOptions, SqlCredential credential, Object providerInfo, String newPassword, SecureString newSecurePassword, Boolean redirectedUserInstance, SqlConnectionString userConnectionOptions, SessionData reconnectSessionData, Boolean applyTransientFaultHandling, String accessToken, DbConnectionPool pool)
|
||||||
|
at Microsoft.Data.SqlClient.SqlConnectionFactory.CreateConnection(DbConnectionOptions options, DbConnectionPoolKey poolKey, Object poolGroupProviderInfo, DbConnectionPool pool, DbConnection owningConnection, DbConnectionOptions userOptions)
|
||||||
|
at Microsoft.Data.ProviderBase.DbConnectionFactory.CreatePooledConnection(DbConnectionPool pool, DbConnection owningObject, DbConnectionOptions options, DbConnectionPoolKey poolKey, DbConnectionOptions userOptions)
|
||||||
|
at Microsoft.Data.ProviderBase.DbConnectionPool.CreateObject(DbConnection owningObject, DbConnectionOptions userOptions, DbConnectionInternal oldConnection)
|
||||||
|
at Microsoft.Data.ProviderBase.DbConnectionPool.UserCreateRequest(DbConnection owningObject, DbConnectionOptions userOptions, DbConnectionInternal oldConnection)
|
||||||
|
at Microsoft.Data.ProviderBase.DbConnectionPool.TryGetConnection(DbConnection owningObject, UInt32 waitForMultipleObjectsTimeout, Boolean allowCreate, Boolean onlyOneCheckConnection, DbConnectionOptions userOptions, DbConnectionInternal& connection)
|
||||||
|
at Microsoft.Data.ProviderBase.DbConnectionPool.TryGetConnection(DbConnection owningObject, TaskCompletionSource`1 retry, DbConnectionOptions userOptions, DbConnectionInternal& connection)
|
||||||
|
at Microsoft.Data.ProviderBase.DbConnectionFactory.TryGetConnection(DbConnection owningConnection, TaskCompletionSource`1 retry, DbConnectionOptions userOptions, DbConnectionInternal oldConnection, DbConnectionInternal& connection)
|
||||||
|
at Microsoft.Data.ProviderBase.DbConnectionInternal.TryOpenConnectionInternal(DbConnection outerConnection, DbConnectionFactory connectionFactory, TaskCompletionSource`1 retry, DbConnectionOptions userOptions)
|
||||||
|
at Microsoft.Data.ProviderBase.DbConnectionClosed.TryOpenConnection(DbConnection outerConnection, DbConnectionFactory connectionFactory, TaskCompletionSource`1 retry, DbConnectionOptions userOptions)
|
||||||
|
at Microsoft.Data.SqlClient.SqlConnection.TryOpen(TaskCompletionSource`1 retry, SqlConnectionOverrides overrides)
|
||||||
|
at Microsoft.Data.SqlClient.SqlConnection.Open(SqlConnectionOverrides overrides)
|
||||||
|
at Microsoft.Data.SqlClient.SqlConnection.Open()
|
||||||
|
at Microsoft.EntityFrameworkCore.SqlServer.Storage.Internal.SqlServerConnection.OpenDbConnection(Boolean errorsExpected)
|
||||||
|
at Microsoft.EntityFrameworkCore.Storage.RelationalConnection.OpenInternal(Boolean errorsExpected)
|
||||||
|
at Microsoft.EntityFrameworkCore.Storage.RelationalConnection.Open(Boolean errorsExpected)
|
||||||
|
at Microsoft.EntityFrameworkCore.Storage.RelationalCommand.ExecuteReader(RelationalCommandParameterObject parameterObject)
|
||||||
|
at Microsoft.EntityFrameworkCore.Query.Internal.SingleQueryingEnumerable`1.Enumerator.InitializeReader(Enumerator enumerator)
|
||||||
|
at Microsoft.EntityFrameworkCore.Query.Internal.SingleQueryingEnumerable`1.Enumerator.<>c.<MoveNext>b__21_0(DbContext _, Enumerator enumerator)
|
||||||
|
at Microsoft.EntityFrameworkCore.SqlServer.Storage.Internal.SqlServerExecutionStrategy.Execute[TState,TResult](TState state, Func`3 operation, Func`3 verifySucceeded)
|
||||||
|
ClientConnectionId:df1e09f0-0b3b-431f-a489-00563a0dbfbf
|
||||||
|
Error Number:4060,State:1,Class:11
|
||||||
|
--- End of inner exception stack trace ---
|
||||||
|
at Microsoft.EntityFrameworkCore.SqlServer.Storage.Internal.SqlServerExecutionStrategy.Execute[TState,TResult](TState state, Func`3 operation, Func`3 verifySucceeded)
|
||||||
|
at Microsoft.EntityFrameworkCore.Query.Internal.SingleQueryingEnumerable`1.Enumerator.MoveNext()
|
||||||
|
System.InvalidOperationException: An exception has been raised that is likely due to a transient failure. Consider enabling transient error resiliency by adding 'EnableRetryOnFailure' to the 'UseSqlServer' call.
|
||||||
|
---> Microsoft.Data.SqlClient.SqlException (0x80131904): Cannot open database "OCPP.Core" requested by the login. The login failed.
|
||||||
|
Login failed for user 'sa'.
|
||||||
|
at Microsoft.Data.SqlClient.SqlInternalConnection.OnError(SqlException exception, Boolean breakConnection, Action`1 wrapCloseInAction)
|
||||||
|
at Microsoft.Data.SqlClient.TdsParser.ThrowExceptionAndWarning(TdsParserStateObject stateObj, Boolean callerHasConnectionLock, Boolean asyncClose)
|
||||||
|
at Microsoft.Data.SqlClient.TdsParser.TryRun(RunBehavior runBehavior, SqlCommand cmdHandler, SqlDataReader dataStream, BulkCopySimpleResultSet bulkCopyHandler, TdsParserStateObject stateObj, Boolean& dataReady)
|
||||||
|
at Microsoft.Data.SqlClient.TdsParser.Run(RunBehavior runBehavior, SqlCommand cmdHandler, SqlDataReader dataStream, BulkCopySimpleResultSet bulkCopyHandler, TdsParserStateObject stateObj)
|
||||||
|
at Microsoft.Data.SqlClient.SqlInternalConnectionTds.CompleteLogin(Boolean enlistOK)
|
||||||
|
at Microsoft.Data.SqlClient.SqlInternalConnectionTds.AttemptOneLogin(ServerInfo serverInfo, String newPassword, SecureString newSecurePassword, Boolean ignoreSniOpenTimeout, TimeoutTimer timeout, Boolean withFailover)
|
||||||
|
at Microsoft.Data.SqlClient.SqlInternalConnectionTds.LoginNoFailover(ServerInfo serverInfo, String newPassword, SecureString newSecurePassword, Boolean redirectedUserInstance, SqlConnectionString connectionOptions, SqlCredential credential, TimeoutTimer timeout)
|
||||||
|
at Microsoft.Data.SqlClient.SqlInternalConnectionTds.OpenLoginEnlist(TimeoutTimer timeout, SqlConnectionString connectionOptions, SqlCredential credential, String newPassword, SecureString newSecurePassword, Boolean redirectedUserInstance)
|
||||||
|
at Microsoft.Data.SqlClient.SqlInternalConnectionTds..ctor(DbConnectionPoolIdentity identity, SqlConnectionString connectionOptions, SqlCredential credential, Object providerInfo, String newPassword, SecureString newSecurePassword, Boolean redirectedUserInstance, SqlConnectionString userConnectionOptions, SessionData reconnectSessionData, Boolean applyTransientFaultHandling, String accessToken, DbConnectionPool pool)
|
||||||
|
at Microsoft.Data.SqlClient.SqlConnectionFactory.CreateConnection(DbConnectionOptions options, DbConnectionPoolKey poolKey, Object poolGroupProviderInfo, DbConnectionPool pool, DbConnection owningConnection, DbConnectionOptions userOptions)
|
||||||
|
at Microsoft.Data.ProviderBase.DbConnectionFactory.CreatePooledConnection(DbConnectionPool pool, DbConnection owningObject, DbConnectionOptions options, DbConnectionPoolKey poolKey, DbConnectionOptions userOptions)
|
||||||
|
at Microsoft.Data.ProviderBase.DbConnectionPool.CreateObject(DbConnection owningObject, DbConnectionOptions userOptions, DbConnectionInternal oldConnection)
|
||||||
|
at Microsoft.Data.ProviderBase.DbConnectionPool.UserCreateRequest(DbConnection owningObject, DbConnectionOptions userOptions, DbConnectionInternal oldConnection)
|
||||||
|
at Microsoft.Data.ProviderBase.DbConnectionPool.TryGetConnection(DbConnection owningObject, UInt32 waitForMultipleObjectsTimeout, Boolean allowCreate, Boolean onlyOneCheckConnection, DbConnectionOptions userOptions, DbConnectionInternal& connection)
|
||||||
|
at Microsoft.Data.ProviderBase.DbConnectionPool.TryGetConnection(DbConnection owningObject, TaskCompletionSource`1 retry, DbConnectionOptions userOptions, DbConnectionInternal& connection)
|
||||||
|
at Microsoft.Data.ProviderBase.DbConnectionFactory.TryGetConnection(DbConnection owningConnection, TaskCompletionSource`1 retry, DbConnectionOptions userOptions, DbConnectionInternal oldConnection, DbConnectionInternal& connection)
|
||||||
|
at Microsoft.Data.ProviderBase.DbConnectionInternal.TryOpenConnectionInternal(DbConnection outerConnection, DbConnectionFactory connectionFactory, TaskCompletionSource`1 retry, DbConnectionOptions userOptions)
|
||||||
|
at Microsoft.Data.ProviderBase.DbConnectionClosed.TryOpenConnection(DbConnection outerConnection, DbConnectionFactory connectionFactory, TaskCompletionSource`1 retry, DbConnectionOptions userOptions)
|
||||||
|
at Microsoft.Data.SqlClient.SqlConnection.TryOpen(TaskCompletionSource`1 retry, SqlConnectionOverrides overrides)
|
||||||
|
at Microsoft.Data.SqlClient.SqlConnection.Open(SqlConnectionOverrides overrides)
|
||||||
|
at Microsoft.Data.SqlClient.SqlConnection.Open()
|
||||||
|
at Microsoft.EntityFrameworkCore.SqlServer.Storage.Internal.SqlServerConnection.OpenDbConnection(Boolean errorsExpected)
|
||||||
|
at Microsoft.EntityFrameworkCore.Storage.RelationalConnection.OpenInternal(Boolean errorsExpected)
|
||||||
|
at Microsoft.EntityFrameworkCore.Storage.RelationalConnection.Open(Boolean errorsExpected)
|
||||||
|
at Microsoft.EntityFrameworkCore.Storage.RelationalCommand.ExecuteReader(RelationalCommandParameterObject parameterObject)
|
||||||
|
at Microsoft.EntityFrameworkCore.Query.Internal.SingleQueryingEnumerable`1.Enumerator.InitializeReader(Enumerator enumerator)
|
||||||
|
at Microsoft.EntityFrameworkCore.Query.Internal.SingleQueryingEnumerable`1.Enumerator.<>c.<MoveNext>b__21_0(DbContext _, Enumerator enumerator)
|
||||||
|
at Microsoft.EntityFrameworkCore.SqlServer.Storage.Internal.SqlServerExecutionStrategy.Execute[TState,TResult](TState state, Func`3 operation, Func`3 verifySucceeded)
|
||||||
|
ClientConnectionId:df1e09f0-0b3b-431f-a489-00563a0dbfbf
|
||||||
|
Error Number:4060,State:1,Class:11
|
||||||
|
--- End of inner exception stack trace ---
|
||||||
|
at Microsoft.EntityFrameworkCore.SqlServer.Storage.Internal.SqlServerExecutionStrategy.Execute[TState,TResult](TState state, Func`3 operation, Func`3 verifySucceeded)
|
||||||
|
at Microsoft.EntityFrameworkCore.Query.Internal.SingleQueryingEnumerable`1.Enumerator.MoveNext()
|
||||||
|
fail: OCPP.Core.Management.Controllers.HomeController[0] @ 2024-06-02T00:41:54.5345880+07:00
|
||||||
|
Index: Error loading charge points from database
|
||||||
|
System.InvalidOperationException: An exception has been raised that is likely due to a transient failure. Consider enabling transient error resiliency by adding 'EnableRetryOnFailure' to the 'UseSqlServer' call.
|
||||||
|
---> Microsoft.Data.SqlClient.SqlException (0x80131904): Cannot open database "OCPP.Core" requested by the login. The login failed.
|
||||||
|
Login failed for user 'sa'.
|
||||||
|
at Microsoft.Data.SqlClient.SqlInternalConnection.OnError(SqlException exception, Boolean breakConnection, Action`1 wrapCloseInAction)
|
||||||
|
at Microsoft.Data.SqlClient.TdsParser.ThrowExceptionAndWarning(TdsParserStateObject stateObj, Boolean callerHasConnectionLock, Boolean asyncClose)
|
||||||
|
at Microsoft.Data.SqlClient.TdsParser.TryRun(RunBehavior runBehavior, SqlCommand cmdHandler, SqlDataReader dataStream, BulkCopySimpleResultSet bulkCopyHandler, TdsParserStateObject stateObj, Boolean& dataReady)
|
||||||
|
at Microsoft.Data.SqlClient.TdsParser.Run(RunBehavior runBehavior, SqlCommand cmdHandler, SqlDataReader dataStream, BulkCopySimpleResultSet bulkCopyHandler, TdsParserStateObject stateObj)
|
||||||
|
at Microsoft.Data.SqlClient.SqlInternalConnectionTds.CompleteLogin(Boolean enlistOK)
|
||||||
|
at Microsoft.Data.SqlClient.SqlInternalConnectionTds.AttemptOneLogin(ServerInfo serverInfo, String newPassword, SecureString newSecurePassword, Boolean ignoreSniOpenTimeout, TimeoutTimer timeout, Boolean withFailover)
|
||||||
|
at Microsoft.Data.SqlClient.SqlInternalConnectionTds.LoginNoFailover(ServerInfo serverInfo, String newPassword, SecureString newSecurePassword, Boolean redirectedUserInstance, SqlConnectionString connectionOptions, SqlCredential credential, TimeoutTimer timeout)
|
||||||
|
at Microsoft.Data.SqlClient.SqlInternalConnectionTds.OpenLoginEnlist(TimeoutTimer timeout, SqlConnectionString connectionOptions, SqlCredential credential, String newPassword, SecureString newSecurePassword, Boolean redirectedUserInstance)
|
||||||
|
at Microsoft.Data.SqlClient.SqlInternalConnectionTds..ctor(DbConnectionPoolIdentity identity, SqlConnectionString connectionOptions, SqlCredential credential, Object providerInfo, String newPassword, SecureString newSecurePassword, Boolean redirectedUserInstance, SqlConnectionString userConnectionOptions, SessionData reconnectSessionData, Boolean applyTransientFaultHandling, String accessToken, DbConnectionPool pool)
|
||||||
|
at Microsoft.Data.SqlClient.SqlConnectionFactory.CreateConnection(DbConnectionOptions options, DbConnectionPoolKey poolKey, Object poolGroupProviderInfo, DbConnectionPool pool, DbConnection owningConnection, DbConnectionOptions userOptions)
|
||||||
|
at Microsoft.Data.ProviderBase.DbConnectionFactory.CreatePooledConnection(DbConnectionPool pool, DbConnection owningObject, DbConnectionOptions options, DbConnectionPoolKey poolKey, DbConnectionOptions userOptions)
|
||||||
|
at Microsoft.Data.ProviderBase.DbConnectionPool.CreateObject(DbConnection owningObject, DbConnectionOptions userOptions, DbConnectionInternal oldConnection)
|
||||||
|
at Microsoft.Data.ProviderBase.DbConnectionPool.UserCreateRequest(DbConnection owningObject, DbConnectionOptions userOptions, DbConnectionInternal oldConnection)
|
||||||
|
at Microsoft.Data.ProviderBase.DbConnectionPool.TryGetConnection(DbConnection owningObject, UInt32 waitForMultipleObjectsTimeout, Boolean allowCreate, Boolean onlyOneCheckConnection, DbConnectionOptions userOptions, DbConnectionInternal& connection)
|
||||||
|
at Microsoft.Data.ProviderBase.DbConnectionPool.TryGetConnection(DbConnection owningObject, TaskCompletionSource`1 retry, DbConnectionOptions userOptions, DbConnectionInternal& connection)
|
||||||
|
at Microsoft.Data.ProviderBase.DbConnectionFactory.TryGetConnection(DbConnection owningConnection, TaskCompletionSource`1 retry, DbConnectionOptions userOptions, DbConnectionInternal oldConnection, DbConnectionInternal& connection)
|
||||||
|
at Microsoft.Data.ProviderBase.DbConnectionInternal.TryOpenConnectionInternal(DbConnection outerConnection, DbConnectionFactory connectionFactory, TaskCompletionSource`1 retry, DbConnectionOptions userOptions)
|
||||||
|
at Microsoft.Data.ProviderBase.DbConnectionClosed.TryOpenConnection(DbConnection outerConnection, DbConnectionFactory connectionFactory, TaskCompletionSource`1 retry, DbConnectionOptions userOptions)
|
||||||
|
at Microsoft.Data.SqlClient.SqlConnection.TryOpen(TaskCompletionSource`1 retry, SqlConnectionOverrides overrides)
|
||||||
|
at Microsoft.Data.SqlClient.SqlConnection.Open(SqlConnectionOverrides overrides)
|
||||||
|
at Microsoft.Data.SqlClient.SqlConnection.Open()
|
||||||
|
at Microsoft.EntityFrameworkCore.SqlServer.Storage.Internal.SqlServerConnection.OpenDbConnection(Boolean errorsExpected)
|
||||||
|
at Microsoft.EntityFrameworkCore.Storage.RelationalConnection.OpenInternal(Boolean errorsExpected)
|
||||||
|
at Microsoft.EntityFrameworkCore.Storage.RelationalConnection.Open(Boolean errorsExpected)
|
||||||
|
at Microsoft.EntityFrameworkCore.Storage.RelationalCommand.ExecuteReader(RelationalCommandParameterObject parameterObject)
|
||||||
|
at Microsoft.EntityFrameworkCore.Query.Internal.SingleQueryingEnumerable`1.Enumerator.InitializeReader(Enumerator enumerator)
|
||||||
|
at Microsoft.EntityFrameworkCore.Query.Internal.SingleQueryingEnumerable`1.Enumerator.<>c.<MoveNext>b__21_0(DbContext _, Enumerator enumerator)
|
||||||
|
at Microsoft.EntityFrameworkCore.SqlServer.Storage.Internal.SqlServerExecutionStrategy.Execute[TState,TResult](TState state, Func`3 operation, Func`3 verifySucceeded)
|
||||||
|
ClientConnectionId:df1e09f0-0b3b-431f-a489-00563a0dbfbf
|
||||||
|
Error Number:4060,State:1,Class:11
|
||||||
|
--- End of inner exception stack trace ---
|
||||||
|
at Microsoft.EntityFrameworkCore.SqlServer.Storage.Internal.SqlServerExecutionStrategy.Execute[TState,TResult](TState state, Func`3 operation, Func`3 verifySucceeded)
|
||||||
|
at Microsoft.EntityFrameworkCore.Query.Internal.SingleQueryingEnumerable`1.Enumerator.MoveNext()
|
||||||
|
at System.Collections.Generic.List`1..ctor(IEnumerable`1 collection)
|
||||||
|
at System.Linq.Enumerable.ToList[TSource](IEnumerable`1 source)
|
||||||
|
at OCPP.Core.Management.Controllers.HomeController.Index() in /Users/nutchayut/OCPP.Core/OCPP.Core.Management/Controllers/HomeController.Index.cs:line 140
|
||||||
|
info: OCPP.Core.Management.Controllers.AccountController[0] @ 2024-06-02T00:42:02.8721630+07:00
|
||||||
|
User 'admin' logged in
|
||||||
|
trce: OCPP.Core.Management.Controllers.HomeController[0] @ 2024-06-02T00:42:02.8761570+07:00
|
||||||
|
Index: Loading charge points with latest transactions...
|
||||||
|
fail: OCPP.Core.Management.Controllers.HomeController[0] @ 2024-06-02T00:42:02.8812750+07:00
|
||||||
|
Index: Error in status web request => nodename nor servname provided, or not known (server-ocpp-service.ocpp:80)
|
||||||
|
System.Net.Http.HttpRequestException: nodename nor servname provided, or not known (server-ocpp-service.ocpp:80)
|
||||||
|
---> System.Net.Sockets.SocketException (0xFFFDFFFF): nodename nor servname provided, or not known
|
||||||
|
at System.Net.Sockets.Socket.AwaitableSocketAsyncEventArgs.ThrowException(SocketError error, CancellationToken cancellationToken)
|
||||||
|
at System.Net.Sockets.Socket.AwaitableSocketAsyncEventArgs.System.Threading.Tasks.Sources.IValueTaskSource.GetResult(Int16 token)
|
||||||
|
at System.Net.Sockets.Socket.<ConnectAsync>g__WaitForConnectWithCancellation|285_0(AwaitableSocketAsyncEventArgs saea, ValueTask connectTask, CancellationToken cancellationToken)
|
||||||
|
at System.Net.Http.HttpConnectionPool.ConnectToTcpHostAsync(String host, Int32 port, HttpRequestMessage initialRequest, Boolean async, CancellationToken cancellationToken)
|
||||||
|
--- End of inner exception stack trace ---
|
||||||
|
at System.Net.Http.HttpConnectionPool.ConnectToTcpHostAsync(String host, Int32 port, HttpRequestMessage initialRequest, Boolean async, CancellationToken cancellationToken)
|
||||||
|
at System.Net.Http.HttpConnectionPool.ConnectAsync(HttpRequestMessage request, Boolean async, CancellationToken cancellationToken)
|
||||||
|
at System.Net.Http.HttpConnectionPool.CreateHttp11ConnectionAsync(HttpRequestMessage request, Boolean async, CancellationToken cancellationToken)
|
||||||
|
at System.Net.Http.HttpConnectionPool.AddHttp11ConnectionAsync(QueueItem queueItem)
|
||||||
|
at System.Threading.Tasks.TaskCompletionSourceWithCancellation`1.WaitWithCancellationAsync(CancellationToken cancellationToken)
|
||||||
|
at System.Net.Http.HttpConnectionPool.SendWithVersionDetectionAndRetryAsync(HttpRequestMessage request, Boolean async, Boolean doRequestAuth, CancellationToken cancellationToken)
|
||||||
|
at System.Net.Http.DiagnosticsHandler.SendAsyncCore(HttpRequestMessage request, Boolean async, CancellationToken cancellationToken)
|
||||||
|
at System.Net.Http.RedirectHandler.SendAsync(HttpRequestMessage request, Boolean async, CancellationToken cancellationToken)
|
||||||
|
at System.Net.Http.HttpClient.<SendAsync>g__Core|83_0(HttpRequestMessage request, HttpCompletionOption completionOption, CancellationTokenSource cts, Boolean disposeCts, CancellationTokenSource pendingRequestsCts, CancellationToken originalCancellationToken)
|
||||||
|
at OCPP.Core.Management.Controllers.HomeController.Index() in /Users/nutchayut/OCPP.Core/OCPP.Core.Management/Controllers/HomeController.Index.cs:line 91
|
||||||
|
info: OCPP.Core.Management.Controllers.HomeController[0] @ 2024-06-02T00:42:03.0684930+07:00
|
||||||
|
Index: Found 0 charge points / connectors
|
||||||
|
warn: Microsoft.AspNetCore.Server.Kestrel[0] @ 2024-06-02T00:42:40.1738420+07:00
|
||||||
|
Overriding address(es) 'http://localhost:8082'. Binding to endpoints defined via IConfiguration and/or UseKestrel() instead.
|
||||||
|
trce: OCPP.Core.Management.Controllers.HomeController[0] @ 2024-06-02T00:42:47.0957060+07:00
|
||||||
|
Index: Loading charge points with latest transactions...
|
||||||
|
info: OCPP.Core.Management.Controllers.HomeController[0] @ 2024-06-02T00:42:47.2083850+07:00
|
||||||
|
Index: Result of status web request => Length=0
|
||||||
|
info: OCPP.Core.Management.Controllers.HomeController[0] @ 2024-06-02T00:42:48.1017280+07:00
|
||||||
|
Index: Found 0 charge points / connectors
|
||||||
|
trce: OCPP.Core.Management.Controllers.HomeController[0] @ 2024-06-02T00:42:53.9862280+07:00
|
||||||
|
ChargeTag: Loading charge tags...
|
||||||
|
info: OCPP.Core.Management.Controllers.HomeController[0] @ 2024-06-02T00:42:54.0941500+07:00
|
||||||
|
ChargeTag: Found 0 charge tags
|
||||||
|
trce: OCPP.Core.Management.Controllers.HomeController[0] @ 2024-06-02T00:42:56.7993090+07:00
|
||||||
|
Index: Loading charge points with latest transactions...
|
||||||
|
info: OCPP.Core.Management.Controllers.HomeController[0] @ 2024-06-02T00:42:56.8499620+07:00
|
||||||
|
Index: Result of status web request => Length=0
|
||||||
|
info: OCPP.Core.Management.Controllers.HomeController[0] @ 2024-06-02T00:42:56.9205190+07:00
|
||||||
|
Index: Found 0 charge points / connectors
|
||||||
@@ -12,6 +12,7 @@
|
|||||||
<ItemGroup>
|
<ItemGroup>
|
||||||
<Compile Remove="Logs\**" />
|
<Compile Remove="Logs\**" />
|
||||||
<Content Remove="Logs\**" />
|
<Content Remove="Logs\**" />
|
||||||
|
<Content Include="obj\rider.project.model.nuget.info" />
|
||||||
<EmbeddedResource Remove="Logs\**" />
|
<EmbeddedResource Remove="Logs\**" />
|
||||||
<None Remove="Logs\**" />
|
<None Remove="Logs\**" />
|
||||||
</ItemGroup>
|
</ItemGroup>
|
||||||
|
|||||||
@@ -31,10 +31,12 @@
|
|||||||
|
|
||||||
"ConnectionStrings": {
|
"ConnectionStrings": {
|
||||||
//"SQLite": "Filename=.\\..\\SQLite\\OCPP.Core.sqlite;"
|
//"SQLite": "Filename=.\\..\\SQLite\\OCPP.Core.sqlite;"
|
||||||
"SqlServer": "Server=.;Database=OCPP.Core;Trusted_Connection=True;Encrypt=false;TrustServerCertificate=false"
|
//"SqlServer": "Server=.;Database=OCPP.Core;Trusted_Connection=True;Encrypt=false;TrustServerCertificate=false",
|
||||||
|
"SqlServer": "Data Source=202.129.205.201,31455;Initial Catalog=OCPP.Core;User ID=sa;Password=sql-pass;TrustServerCertificate=true;"
|
||||||
},
|
},
|
||||||
|
|
||||||
"ServerApiUrl": "http://localhost:8081/API",
|
//"ServerApiUrl": "http://localhost:8081/API",
|
||||||
|
"ServerApiUrl": "http://server-ocpp-service.ocpp/API",
|
||||||
"ApiKey": "36029A5F-B736-4DA9-AE46-D66847C9062C",
|
"ApiKey": "36029A5F-B736-4DA9-AE46-D66847C9062C",
|
||||||
|
|
||||||
"Users": [
|
"Users": [
|
||||||
@@ -53,7 +55,7 @@
|
|||||||
"Kestrel": {
|
"Kestrel": {
|
||||||
"Endpoints": {
|
"Endpoints": {
|
||||||
"Http": {
|
"Http": {
|
||||||
"Url": "http://localhost:8082"
|
"Url": "http://0.0.0.0:8080"
|
||||||
},
|
},
|
||||||
"HttpsInlineCertFile": {
|
"HttpsInlineCertFile": {
|
||||||
"Url": "https://localhost:8092",
|
"Url": "https://localhost:8092",
|
||||||
|
|||||||
BIN
OCPP.Core.Management/bin/Debug/net8.0/Azure.Core.dll
Executable file
BIN
OCPP.Core.Management/bin/Debug/net8.0/Azure.Core.dll
Executable file
Binary file not shown.
BIN
OCPP.Core.Management/bin/Debug/net8.0/Azure.Identity.dll
Executable file
BIN
OCPP.Core.Management/bin/Debug/net8.0/Azure.Identity.dll
Executable file
Binary file not shown.
BIN
OCPP.Core.Management/bin/Debug/net8.0/Karambolo.Extensions.Logging.File.dll
Executable file
BIN
OCPP.Core.Management/bin/Debug/net8.0/Karambolo.Extensions.Logging.File.dll
Executable file
Binary file not shown.
BIN
OCPP.Core.Management/bin/Debug/net8.0/Microsoft.Bcl.AsyncInterfaces.dll
Executable file
BIN
OCPP.Core.Management/bin/Debug/net8.0/Microsoft.Bcl.AsyncInterfaces.dll
Executable file
Binary file not shown.
BIN
OCPP.Core.Management/bin/Debug/net8.0/Microsoft.Data.SqlClient.dll
Executable file
BIN
OCPP.Core.Management/bin/Debug/net8.0/Microsoft.Data.SqlClient.dll
Executable file
Binary file not shown.
BIN
OCPP.Core.Management/bin/Debug/net8.0/Microsoft.Data.Sqlite.dll
Executable file
BIN
OCPP.Core.Management/bin/Debug/net8.0/Microsoft.Data.Sqlite.dll
Executable file
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
BIN
OCPP.Core.Management/bin/Debug/net8.0/Microsoft.EntityFrameworkCore.Sqlite.dll
Executable file
BIN
OCPP.Core.Management/bin/Debug/net8.0/Microsoft.EntityFrameworkCore.Sqlite.dll
Executable file
Binary file not shown.
BIN
OCPP.Core.Management/bin/Debug/net8.0/Microsoft.EntityFrameworkCore.dll
Executable file
BIN
OCPP.Core.Management/bin/Debug/net8.0/Microsoft.EntityFrameworkCore.dll
Executable file
Binary file not shown.
BIN
OCPP.Core.Management/bin/Debug/net8.0/Microsoft.Extensions.DependencyModel.dll
Executable file
BIN
OCPP.Core.Management/bin/Debug/net8.0/Microsoft.Extensions.DependencyModel.dll
Executable file
Binary file not shown.
Binary file not shown.
BIN
OCPP.Core.Management/bin/Debug/net8.0/Microsoft.Identity.Client.dll
Executable file
BIN
OCPP.Core.Management/bin/Debug/net8.0/Microsoft.Identity.Client.dll
Executable file
Binary file not shown.
BIN
OCPP.Core.Management/bin/Debug/net8.0/Microsoft.IdentityModel.Abstractions.dll
Executable file
BIN
OCPP.Core.Management/bin/Debug/net8.0/Microsoft.IdentityModel.Abstractions.dll
Executable file
Binary file not shown.
BIN
OCPP.Core.Management/bin/Debug/net8.0/Microsoft.IdentityModel.JsonWebTokens.dll
Executable file
BIN
OCPP.Core.Management/bin/Debug/net8.0/Microsoft.IdentityModel.JsonWebTokens.dll
Executable file
Binary file not shown.
BIN
OCPP.Core.Management/bin/Debug/net8.0/Microsoft.IdentityModel.Logging.dll
Executable file
BIN
OCPP.Core.Management/bin/Debug/net8.0/Microsoft.IdentityModel.Logging.dll
Executable file
Binary file not shown.
Binary file not shown.
BIN
OCPP.Core.Management/bin/Debug/net8.0/Microsoft.IdentityModel.Protocols.dll
Executable file
BIN
OCPP.Core.Management/bin/Debug/net8.0/Microsoft.IdentityModel.Protocols.dll
Executable file
Binary file not shown.
BIN
OCPP.Core.Management/bin/Debug/net8.0/Microsoft.IdentityModel.Tokens.dll
Executable file
BIN
OCPP.Core.Management/bin/Debug/net8.0/Microsoft.IdentityModel.Tokens.dll
Executable file
Binary file not shown.
BIN
OCPP.Core.Management/bin/Debug/net8.0/Microsoft.SqlServer.Server.dll
Executable file
BIN
OCPP.Core.Management/bin/Debug/net8.0/Microsoft.SqlServer.Server.dll
Executable file
Binary file not shown.
BIN
OCPP.Core.Management/bin/Debug/net8.0/Microsoft.Win32.SystemEvents.dll
Executable file
BIN
OCPP.Core.Management/bin/Debug/net8.0/Microsoft.Win32.SystemEvents.dll
Executable file
Binary file not shown.
BIN
OCPP.Core.Management/bin/Debug/net8.0/Newtonsoft.Json.dll
Executable file
BIN
OCPP.Core.Management/bin/Debug/net8.0/Newtonsoft.Json.dll
Executable file
Binary file not shown.
BIN
OCPP.Core.Management/bin/Debug/net8.0/OCPP.Core.Database.dll
Normal file
BIN
OCPP.Core.Management/bin/Debug/net8.0/OCPP.Core.Database.dll
Normal file
Binary file not shown.
BIN
OCPP.Core.Management/bin/Debug/net8.0/OCPP.Core.Database.pdb
Normal file
BIN
OCPP.Core.Management/bin/Debug/net8.0/OCPP.Core.Database.pdb
Normal file
Binary file not shown.
BIN
OCPP.Core.Management/bin/Debug/net8.0/OCPP.Core.Management
Executable file
BIN
OCPP.Core.Management/bin/Debug/net8.0/OCPP.Core.Management
Executable file
Binary file not shown.
1296
OCPP.Core.Management/bin/Debug/net8.0/OCPP.Core.Management.deps.json
Normal file
1296
OCPP.Core.Management/bin/Debug/net8.0/OCPP.Core.Management.deps.json
Normal file
File diff suppressed because it is too large
Load Diff
BIN
OCPP.Core.Management/bin/Debug/net8.0/OCPP.Core.Management.dll
Normal file
BIN
OCPP.Core.Management/bin/Debug/net8.0/OCPP.Core.Management.dll
Normal file
Binary file not shown.
BIN
OCPP.Core.Management/bin/Debug/net8.0/OCPP.Core.Management.pdb
Normal file
BIN
OCPP.Core.Management/bin/Debug/net8.0/OCPP.Core.Management.pdb
Normal file
Binary file not shown.
@@ -0,0 +1,20 @@
|
|||||||
|
{
|
||||||
|
"runtimeOptions": {
|
||||||
|
"tfm": "net8.0",
|
||||||
|
"frameworks": [
|
||||||
|
{
|
||||||
|
"name": "Microsoft.NETCore.App",
|
||||||
|
"version": "8.0.0"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"name": "Microsoft.AspNetCore.App",
|
||||||
|
"version": "8.0.0"
|
||||||
|
}
|
||||||
|
],
|
||||||
|
"configProperties": {
|
||||||
|
"System.GC.Server": true,
|
||||||
|
"System.Reflection.NullabilityInfoContext.IsSupported": true,
|
||||||
|
"System.Runtime.Serialization.EnableUnsafeBinaryFormatterSerialization": false
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
@@ -0,0 +1 @@
|
|||||||
|
{"ContentRoots":["/Users/nutchayut/OCPP.Core/OCPP.Core.Management/wwwroot/"],"Root":{"Children":{"css":{"Children":{"site.css":{"Children":null,"Asset":{"ContentRootIndex":0,"SubPath":"css/site.css"},"Patterns":null}},"Asset":null,"Patterns":null},"favicon.ico":{"Children":null,"Asset":{"ContentRootIndex":0,"SubPath":"favicon.ico"},"Patterns":null},"js":{"Children":{"site.js":{"Children":null,"Asset":{"ContentRootIndex":0,"SubPath":"js/site.js"},"Patterns":null}},"Asset":null,"Patterns":null},"lib":{"Children":{"bootstrap-dialog":{"Children":{"bootstrap-dialog.min.css":{"Children":null,"Asset":{"ContentRootIndex":0,"SubPath":"lib/bootstrap-dialog/bootstrap-dialog.min.css"},"Patterns":null},"bootstrap-dialog.min.js":{"Children":null,"Asset":{"ContentRootIndex":0,"SubPath":"lib/bootstrap-dialog/bootstrap-dialog.min.js"},"Patterns":null}},"Asset":null,"Patterns":null},"jquery-validation-unobtrusive":{"Children":{"jquery.validate.unobtrusive.js":{"Children":null,"Asset":{"ContentRootIndex":0,"SubPath":"lib/jquery-validation-unobtrusive/jquery.validate.unobtrusive.js"},"Patterns":null},"jquery.validate.unobtrusive.min.js":{"Children":null,"Asset":{"ContentRootIndex":0,"SubPath":"lib/jquery-validation-unobtrusive/jquery.validate.unobtrusive.min.js"},"Patterns":null},"LICENSE.txt":{"Children":null,"Asset":{"ContentRootIndex":0,"SubPath":"lib/jquery-validation-unobtrusive/LICENSE.txt"},"Patterns":null}},"Asset":null,"Patterns":null},"jquery-validation":{"Children":{"dist":{"Children":{"additional-methods.js":{"Children":null,"Asset":{"ContentRootIndex":0,"SubPath":"lib/jquery-validation/dist/additional-methods.js"},"Patterns":null},"additional-methods.min.js":{"Children":null,"Asset":{"ContentRootIndex":0,"SubPath":"lib/jquery-validation/dist/additional-methods.min.js"},"Patterns":null},"jquery.validate.js":{"Children":null,"Asset":{"ContentRootIndex":0,"SubPath":"lib/jquery-validation/dist/jquery.validate.js"},"Patterns":null},"jquery.validate.min.js":{"Children":null,"Asset":{"ContentRootIndex":0,"SubPath":"lib/jquery-validation/dist/jquery.validate.min.js"},"Patterns":null}},"Asset":null,"Patterns":null},"LICENSE.md":{"Children":null,"Asset":{"ContentRootIndex":0,"SubPath":"lib/jquery-validation/LICENSE.md"},"Patterns":null}},"Asset":null,"Patterns":null},"jquery":{"Children":{"dist":{"Children":{"jquery.js":{"Children":null,"Asset":{"ContentRootIndex":0,"SubPath":"lib/jquery/dist/jquery.js"},"Patterns":null},"jquery.min.js":{"Children":null,"Asset":{"ContentRootIndex":0,"SubPath":"lib/jquery/dist/jquery.min.js"},"Patterns":null},"jquery.min.map":{"Children":null,"Asset":{"ContentRootIndex":0,"SubPath":"lib/jquery/dist/jquery.min.map"},"Patterns":null}},"Asset":null,"Patterns":null},"LICENSE.txt":{"Children":null,"Asset":{"ContentRootIndex":0,"SubPath":"lib/jquery/LICENSE.txt"},"Patterns":null}},"Asset":null,"Patterns":null}},"Asset":null,"Patterns":null}},"Asset":null,"Patterns":[{"ContentRootIndex":0,"Pattern":"**","Depth":0}]}}
|
||||||
BIN
OCPP.Core.Management/bin/Debug/net8.0/SQLitePCLRaw.batteries_v2.dll
Executable file
BIN
OCPP.Core.Management/bin/Debug/net8.0/SQLitePCLRaw.batteries_v2.dll
Executable file
Binary file not shown.
BIN
OCPP.Core.Management/bin/Debug/net8.0/SQLitePCLRaw.core.dll
Executable file
BIN
OCPP.Core.Management/bin/Debug/net8.0/SQLitePCLRaw.core.dll
Executable file
Binary file not shown.
BIN
OCPP.Core.Management/bin/Debug/net8.0/SQLitePCLRaw.provider.e_sqlite3.dll
Executable file
BIN
OCPP.Core.Management/bin/Debug/net8.0/SQLitePCLRaw.provider.e_sqlite3.dll
Executable file
Binary file not shown.
Binary file not shown.
BIN
OCPP.Core.Management/bin/Debug/net8.0/System.Drawing.Common.dll
Executable file
BIN
OCPP.Core.Management/bin/Debug/net8.0/System.Drawing.Common.dll
Executable file
Binary file not shown.
BIN
OCPP.Core.Management/bin/Debug/net8.0/System.IdentityModel.Tokens.Jwt.dll
Executable file
BIN
OCPP.Core.Management/bin/Debug/net8.0/System.IdentityModel.Tokens.Jwt.dll
Executable file
Binary file not shown.
BIN
OCPP.Core.Management/bin/Debug/net8.0/System.Memory.Data.dll
Executable file
BIN
OCPP.Core.Management/bin/Debug/net8.0/System.Memory.Data.dll
Executable file
Binary file not shown.
BIN
OCPP.Core.Management/bin/Debug/net8.0/System.Runtime.Caching.dll
Executable file
BIN
OCPP.Core.Management/bin/Debug/net8.0/System.Runtime.Caching.dll
Executable file
Binary file not shown.
Binary file not shown.
BIN
OCPP.Core.Management/bin/Debug/net8.0/System.Security.Permissions.dll
Executable file
BIN
OCPP.Core.Management/bin/Debug/net8.0/System.Security.Permissions.dll
Executable file
Binary file not shown.
BIN
OCPP.Core.Management/bin/Debug/net8.0/System.Windows.Extensions.dll
Executable file
BIN
OCPP.Core.Management/bin/Debug/net8.0/System.Windows.Extensions.dll
Executable file
Binary file not shown.
@@ -0,0 +1,9 @@
|
|||||||
|
{
|
||||||
|
"Logging": {
|
||||||
|
"LogLevel": {
|
||||||
|
"Default": "Information",
|
||||||
|
"Microsoft": "Warning",
|
||||||
|
"Microsoft.Hosting.Lifetime": "Information"
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
69
OCPP.Core.Management/bin/Debug/net8.0/appsettings.json
Normal file
69
OCPP.Core.Management/bin/Debug/net8.0/appsettings.json
Normal file
@@ -0,0 +1,69 @@
|
|||||||
|
{
|
||||||
|
"Logging": {
|
||||||
|
"File": {
|
||||||
|
"BasePath": "Logs",
|
||||||
|
"FileAccessMode": "KeepOpenAndAutoFlush",
|
||||||
|
"FileEncodingName": "utf-8",
|
||||||
|
"DateFormat": "yyyyMMdd",
|
||||||
|
"CounterFormat": "000",
|
||||||
|
"MaxFileSize": 1048576,
|
||||||
|
"LogLevel": {
|
||||||
|
"OCPP": "Trace",
|
||||||
|
"Microsoft": "Warning",
|
||||||
|
"Default": "Debug"
|
||||||
|
},
|
||||||
|
"IncludeScopes": false,
|
||||||
|
"MaxQueueSize": 10,
|
||||||
|
"Files": [
|
||||||
|
{
|
||||||
|
"Path": "OCPP.Core.Management-<counter>.log",
|
||||||
|
"CounterFormat": "00"
|
||||||
|
}
|
||||||
|
]
|
||||||
|
}
|
||||||
|
},
|
||||||
|
|
||||||
|
"LogLevel": {
|
||||||
|
"Default": "Information"
|
||||||
|
},
|
||||||
|
|
||||||
|
"AllowedHosts": "*",
|
||||||
|
|
||||||
|
"ConnectionStrings": {
|
||||||
|
//"SQLite": "Filename=.\\..\\SQLite\\OCPP.Core.sqlite;"
|
||||||
|
//"SqlServer": "Server=.;Database=OCPP.Core;Trusted_Connection=True;Encrypt=false;TrustServerCertificate=false",
|
||||||
|
"SqlServer": "Data Source=202.129.205.201,31455;Initial Catalog=OCPP.Core;User ID=sa;Password=sql-pass;TrustServerCertificate=true;"
|
||||||
|
},
|
||||||
|
|
||||||
|
//"ServerApiUrl": "http://localhost:8081/API",
|
||||||
|
"ServerApiUrl": "https://ocpp-server.71dev.com/API",
|
||||||
|
"ApiKey": "36029A5F-B736-4DA9-AE46-D66847C9062C",
|
||||||
|
|
||||||
|
"Users": [
|
||||||
|
{
|
||||||
|
"Username": "admin",
|
||||||
|
"Password": "t3st",
|
||||||
|
"Administrator": true
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"Username": "user",
|
||||||
|
"Password": "t3st",
|
||||||
|
"Administrator": false
|
||||||
|
}
|
||||||
|
],
|
||||||
|
|
||||||
|
"Kestrel": {
|
||||||
|
"Endpoints": {
|
||||||
|
"Http": {
|
||||||
|
"Url": "http://0.0.0.0:8080"
|
||||||
|
},
|
||||||
|
"HttpsInlineCertFile": {
|
||||||
|
"Url": "https://localhost:8092",
|
||||||
|
"Certificate": {
|
||||||
|
"Path": "localhost.pfx",
|
||||||
|
"Password": "OCPP.Core"
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
Binary file not shown.
BIN
OCPP.Core.Management/bin/Debug/net8.0/localhost.pfx
Normal file
BIN
OCPP.Core.Management/bin/Debug/net8.0/localhost.pfx
Normal file
Binary file not shown.
Binary file not shown.
BIN
OCPP.Core.Management/bin/Debug/net8.0/runtimes/linux-arm/native/libe_sqlite3.so
Executable file
BIN
OCPP.Core.Management/bin/Debug/net8.0/runtimes/linux-arm/native/libe_sqlite3.so
Executable file
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
BIN
OCPP.Core.Management/bin/Debug/net8.0/runtimes/linux-x64/native/libe_sqlite3.so
Executable file
BIN
OCPP.Core.Management/bin/Debug/net8.0/runtimes/linux-x64/native/libe_sqlite3.so
Executable file
Binary file not shown.
BIN
OCPP.Core.Management/bin/Debug/net8.0/runtimes/linux-x86/native/libe_sqlite3.so
Executable file
BIN
OCPP.Core.Management/bin/Debug/net8.0/runtimes/linux-x86/native/libe_sqlite3.so
Executable file
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
BIN
OCPP.Core.Management/bin/Debug/net8.0/runtimes/osx-x64/native/libe_sqlite3.dylib
Executable file
BIN
OCPP.Core.Management/bin/Debug/net8.0/runtimes/osx-x64/native/libe_sqlite3.dylib
Executable file
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
BIN
OCPP.Core.Management/bin/Debug/net8.0/runtimes/win-arm/native/e_sqlite3.dll
Executable file
BIN
OCPP.Core.Management/bin/Debug/net8.0/runtimes/win-arm/native/e_sqlite3.dll
Executable file
Binary file not shown.
Binary file not shown.
BIN
OCPP.Core.Management/bin/Debug/net8.0/runtimes/win-arm64/native/e_sqlite3.dll
Executable file
BIN
OCPP.Core.Management/bin/Debug/net8.0/runtimes/win-arm64/native/e_sqlite3.dll
Executable file
Binary file not shown.
Binary file not shown.
BIN
OCPP.Core.Management/bin/Debug/net8.0/runtimes/win-x64/native/e_sqlite3.dll
Executable file
BIN
OCPP.Core.Management/bin/Debug/net8.0/runtimes/win-x64/native/e_sqlite3.dll
Executable file
Binary file not shown.
Binary file not shown.
BIN
OCPP.Core.Management/bin/Debug/net8.0/runtimes/win-x86/native/e_sqlite3.dll
Executable file
BIN
OCPP.Core.Management/bin/Debug/net8.0/runtimes/win-x86/native/e_sqlite3.dll
Executable file
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
@@ -14,7 +14,7 @@ using System.Reflection;
|
|||||||
[assembly: System.Reflection.AssemblyCompanyAttribute("dallmann consulting GmbH")]
|
[assembly: System.Reflection.AssemblyCompanyAttribute("dallmann consulting GmbH")]
|
||||||
[assembly: System.Reflection.AssemblyConfigurationAttribute("Debug")]
|
[assembly: System.Reflection.AssemblyConfigurationAttribute("Debug")]
|
||||||
[assembly: System.Reflection.AssemblyFileVersionAttribute("1.3.2.0")]
|
[assembly: System.Reflection.AssemblyFileVersionAttribute("1.3.2.0")]
|
||||||
[assembly: System.Reflection.AssemblyInformationalVersionAttribute("1.3.2+88ddddd7c28044fdad5515c33a8fbef41a5387c4")]
|
[assembly: System.Reflection.AssemblyInformationalVersionAttribute("1.3.2+601277d2153d223843903ea9507e84507f2bef5f")]
|
||||||
[assembly: System.Reflection.AssemblyProductAttribute("OCPP.Core")]
|
[assembly: System.Reflection.AssemblyProductAttribute("OCPP.Core")]
|
||||||
[assembly: System.Reflection.AssemblyTitleAttribute("OCPP.Core.Management")]
|
[assembly: System.Reflection.AssemblyTitleAttribute("OCPP.Core.Management")]
|
||||||
[assembly: System.Reflection.AssemblyVersionAttribute("1.3.2.0")]
|
[assembly: System.Reflection.AssemblyVersionAttribute("1.3.2.0")]
|
||||||
|
|||||||
@@ -1 +1 @@
|
|||||||
8a23988c6a892ff0d7ca584ecafd18988537390493f966a7777d98e91f2575e3
|
42c38ba14badf43072f20f41abebde0c3ab1b3455e27ff024d151c4ee1ae6418
|
||||||
|
|||||||
Some files were not shown because too many files have changed in this diff Show More
Reference in New Issue
Block a user