diff --git a/ds-wms-service/DS.WMS.ContainerManagementApi/Properties/PublishProfiles/FolderProfile.pubxml b/ds-wms-service/DS.WMS.ContainerManagementApi/Properties/PublishProfiles/FolderProfile.pubxml
new file mode 100644
index 00000000..3a0b4b68
--- /dev/null
+++ b/ds-wms-service/DS.WMS.ContainerManagementApi/Properties/PublishProfiles/FolderProfile.pubxml
@@ -0,0 +1,17 @@
+
+
+
+
+ false
+ false
+ true
+ Release
+ Any CPU
+ FileSystem
+ D:\ds8deploy
+ FileSystem
+ <_TargetId>Folder
+
+
\ No newline at end of file
diff --git a/ds-wms-service/DS.WMS.Gateway/Program.cs b/ds-wms-service/DS.WMS.Gateway/Program.cs
index db276ae8..59947886 100644
--- a/ds-wms-service/DS.WMS.Gateway/Program.cs
+++ b/ds-wms-service/DS.WMS.Gateway/Program.cs
@@ -41,7 +41,7 @@ if (!policyName.IsNullOrEmpty())
// if (app.Environment.IsDevelopment())
// {
- var apis = new List { "WmsMainAPI", "WmsAdminAPI", "WmsOpAPI", "WmsFeeAPI", "WmsCheckAPI", "WmsFinanceAPI", "WmsPrintAPI", "WmsTaskAPI", "TestApi" };
+ var apis = new List { "WmsMainAPI", "WmsAdminAPI", "WmsOpAPI", "WmsFeeAPI", "WmsCheckAPI", "WmsFinanceAPI", "WmsPrintAPI", "WmsTaskAPI", "WmsContainerManagementAPI", "TestApi" };
app
.UseSwagger()
diff --git a/ds-wms-service/DS.WMS.Gateway/ocelot.json b/ds-wms-service/DS.WMS.Gateway/ocelot.json
index 05cff7cf..c99de3dd 100644
--- a/ds-wms-service/DS.WMS.Gateway/ocelot.json
+++ b/ds-wms-service/DS.WMS.Gateway/ocelot.json
@@ -199,24 +199,6 @@
"Type": "RoundRobin"
}
},
- {
- "DownstreamPathTemplate": "/containerManagementApi/{url}",
- "DownstreamScheme": "http",
- "DownstreamHostAndPorts": [
- {
- "Host": "localhost",
- "Port": 3005
- }
- ],
- "UpstreamPathTemplate": "/containerManagementApi/{url}",
- "UpstreamHttpMethod": [
- "Get",
- "Post"
- ],
- "LoadBalancerOptions": {
- "Type": "RoundRobin"
- }
- },
{
"DownstreamPathTemplate": "/LinkAttach/{url}",
"DownstreamScheme": "http",
@@ -317,6 +299,24 @@
"ReRouteIsCaseSensitive": false,
"UseServiceDiscovery": false
},
+ {
+ "DownstreamPathTemplate": "/containerManagementApi/{url}",
+ "DownstreamScheme": "http",
+ "DownstreamHostAndPorts": [
+ {
+ "Host": "localhost",
+ "Port": 3010
+ }
+ ],
+ "UpstreamPathTemplate": "/containerManagementApi/{url}",
+ "UpstreamHttpMethod": [
+ "Get",
+ "Post"
+ ],
+ "LoadBalancerOptions": {
+ "Type": "RoundRobin"
+ }
+ },
{
"DownstreamPathTemplate": "/WmsContainerManagementAPI/swagger.json",
"DownstreamScheme": "http",