Galosoft.IaaS.Gateway 24.11.15-nj

This is a prerelease version of Galosoft.IaaS.Gateway.
There is a newer prerelease version of this package available.
See the version list below for details.
dotnet add package Galosoft.IaaS.Gateway --version 24.11.15-nj                
NuGet\Install-Package Galosoft.IaaS.Gateway -Version 24.11.15-nj                
This command is intended to be used within the Package Manager Console in Visual Studio, as it uses the NuGet module's version of Install-Package.
<PackageReference Include="Galosoft.IaaS.Gateway" Version="24.11.15-nj" />                
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add Galosoft.IaaS.Gateway --version 24.11.15-nj                
#r "nuget: Galosoft.IaaS.Gateway, 24.11.15-nj"                
#r directive can be used in F# Interactive and Polyglot Notebooks. Copy this into the interactive tool or source code of the script to reference the package.
// Install Galosoft.IaaS.Gateway as a Cake Addin
#addin nuget:?package=Galosoft.IaaS.Gateway&version=24.11.15-nj&prerelease

// Install Galosoft.IaaS.Gateway as a Cake Tool
#tool nuget:?package=Galosoft.IaaS.Gateway&version=24.11.15-nj&prerelease                

sql


CREATE SCHEMA docking_center;
go;
CREATE TABLE docking_center.router_template (
	id bigint NOT NULL,
	template_code varchar(64) COLLATE Chinese_PRC_90_CI_AI_SC_UTF8 NOT NULL,
	request_path varchar(64) COLLATE Chinese_PRC_90_CI_AI_SC_UTF8 NOT NULL,
	router_uri varchar(512) COLLATE Chinese_PRC_90_CI_AI_SC_UTF8 NULL,
	path_prefix varchar(64) COLLATE Chinese_PRC_90_CI_AI_SC_UTF8 NULL,
	path_remove_prefix varchar(64) COLLATE Chinese_PRC_90_CI_AI_SC_UTF8 NULL,
	request_headers_copy bit DEFAULT 1 NOT NULL,
	deleted bit DEFAULT 0 NOT NULL,
	creator_id bigint DEFAULT 1 NULL,
	creator_name varchar(64) COLLATE Chinese_PRC_90_CI_AI_SC_UTF8 DEFAULT '1' NOT NULL,
	created_at datetime2 NOT NULL,
	last_modifier_id bigint NULL,
	last_modifier_name varchar(64) COLLATE Chinese_PRC_90_CI_AI_SC_UTF8 NULL,
	last_modified_at datetime2 NULL,
	remark varchar(128) COLLATE Chinese_PRC_90_CI_AI_SC_UTF8 NULL,
	max_retries int DEFAULT 5 NOT NULL,
	[source] varchar(255) COLLATE Chinese_PRC_90_CI_AI_SC_UTF8 NULL,
	target varchar(255) COLLATE Chinese_PRC_90_CI_AI_SC_UTF8 NULL,
	CONSTRAINT PK_docking_center_router_template PRIMARY KEY (id)
);
 CREATE  UNIQUE NONCLUSTERED INDEX UIDX_router_template_code ON cc.router_template (  template_code ASC  )  
	 WITH (  PAD_INDEX = OFF ,FILLFACTOR = 100  ,SORT_IN_TEMPDB = OFF , IGNORE_DUP_KEY = OFF , STATISTICS_NORECOMPUTE = OFF , ONLINE = OFF , ALLOW_ROW_LOCKS = ON , ALLOW_PAGE_LOCKS = ON  )
	 ON [PRIMARY ] ;

json配置


{
  "Gateway": {
    "Routes": [
      {
        "Id": "baidu",
        "Uri": "https://www.baidu.com",
        "Predicate": {
          "Path": "/baidu/{**catch-all}"
        }
      },
      {
        "Id": "jph_users",
        "Uri": "https://jsonplaceholder.typicode.com,https://jsonplaceholder.org",
        "Predicate": {
          "Path": "/api/users/{**catch-all}",
          "Method": "get,post"
        },
        "LoadBalancer": "RoundRobin",
        "Metadata": {
          "Author": "galoS",
          "Tag": "jsonplaceholder"
        },
        "Filter": {
          "PathRemovePrefix": "/api",
          "RequestHeadersCopy": true
        }
      },
      {
        "Id": "nacos",
        "Uri": "http://8.142.158.178:8848",
        "Predicate": {
          "Path": "/ui/nacos/{**catch-all}"
        },
        "Filter": {
          "PathRemovePrefix": "/ui"
        },
        "httpClient": {
          "ConnectTimeout": 300
        }
      },
      {
        "Id": "user-center",
        "Uri": "http://localhost:5265",
        "Predicate": {
          "Path": "/api/v1/usercenter/{**catch-all}"
        },
        "httpClient": {
          "ConnectTimeout": 300
        }
      }
    ]
  }
} 
Product Compatible and additional computed target framework versions.
.NET net8.0 is compatible.  net8.0-android was computed.  net8.0-browser was computed.  net8.0-ios was computed.  net8.0-maccatalyst was computed.  net8.0-macos was computed.  net8.0-tvos was computed.  net8.0-windows was computed. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.

NuGet packages

This package is not used by any NuGet packages.

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last updated
24.11.18-nj 31 11/18/2024
24.11.15-nj 31 11/15/2024