update wpi feed url to v 4.0
This commit is contained in:
parent
5d88284609
commit
54d9bb207b
5 changed files with 14 additions and 6 deletions
|
@ -78,12 +78,12 @@ namespace WebsitePanel.EnterpriseServer
|
|||
|
||||
if (Utils.ParseBool(serviceSettings["FeedEnableMicrosoft"], true))
|
||||
{
|
||||
arFeeds.Add("https://www.microsoft.com/web/webpi/3.0/WebProductList.xml");
|
||||
arFeeds.Add(esServers.MAIN_WPI_FEED);
|
||||
}
|
||||
|
||||
if (Utils.ParseBool(serviceSettings["FeedEnableHelicon"], true))
|
||||
{
|
||||
arFeeds.Add("http://www.helicontech.com/zoo/feed/wsp");
|
||||
arFeeds.Add(esServers.HELICON_WPI_FEED);
|
||||
}
|
||||
|
||||
string additionalFeeds = serviceSettings["FeedUrls"];
|
||||
|
|
|
@ -54,6 +54,9 @@ namespace WebsitePanel.EnterpriseServer
|
|||
[ToolboxItem(false)]
|
||||
public class esServers : System.Web.Services.WebService
|
||||
{
|
||||
public const string MAIN_WPI_FEED = "https://www.microsoft.com/web/webpi/4.0/WebProductList.xml";
|
||||
public const string HELICON_WPI_FEED = "http://www.helicontech.com/zoo/feed/wsp4";
|
||||
|
||||
#region Servers
|
||||
[WebMethod]
|
||||
public List<ServerInfo> GetAllServers()
|
||||
|
@ -677,12 +680,12 @@ namespace WebsitePanel.EnterpriseServer
|
|||
|
||||
if (Utils.ParseBool(wpiSettings["FeedEnableMicrosoft"] ,true))
|
||||
{
|
||||
arFeeds.Add( "https://www.microsoft.com/web/webpi/3.0/WebProductList.xml" );
|
||||
arFeeds.Add( MAIN_WPI_FEED );
|
||||
}
|
||||
|
||||
if (Utils.ParseBool(wpiSettings["FeedEnableHelicon"] ,true))
|
||||
{
|
||||
arFeeds.Add( "http://www.helicontech.com/zoo/feed/wsp" );
|
||||
arFeeds.Add( HELICON_WPI_FEED );
|
||||
}
|
||||
|
||||
string additionalFeeds = wpiSettings["FeedUrls"];
|
||||
|
|
|
@ -71,7 +71,8 @@ namespace WebsitePanel.Providers.Web
|
|||
public const string WAG_XML_FEED_CACHE_KEY = "WAG_XML_FEED_CACHE_KEY";
|
||||
public const int WEB_APPLICATIONS_CACHE_STORE_MINUTES = 60;
|
||||
public const int XML_FEED_RECOVERY_ATTEMPTS = 10;
|
||||
public const string WAG_DEFAULT_FEED_URL = "https://www.microsoft.com/web/webpi/3.0/WebApplicationList.xml";
|
||||
// public const string WAG_DEFAULT_FEED_URL = "https://www.microsoft.com/web/webpi/3.0/WebApplicationList.xml";
|
||||
public const string WAG_DEFAULT_FEED_URL = "https://www.microsoft.com/web/webpi/4.0/webapplicationlist.xml";
|
||||
|
||||
// well-known parameters matching
|
||||
public readonly Dictionary<string, DeploymentParameterWellKnownTag> wellKnownParameters
|
||||
|
|
|
@ -68,6 +68,9 @@
|
|||
<Name>WebsitePanel.Server.WPIServiceContract</Name>
|
||||
</ProjectReference>
|
||||
</ItemGroup>
|
||||
<ItemGroup>
|
||||
<None Include="app.config" />
|
||||
</ItemGroup>
|
||||
<Import Project="$(MSBuildToolsPath)\Microsoft.CSharp.targets" />
|
||||
<PropertyGroup>
|
||||
<PostBuildEvent>
|
||||
|
|
|
@ -60,7 +60,8 @@ namespace WebsitePanel.Server.Code
|
|||
|
||||
private readonly List<string> _feeds;
|
||||
private string _webPIinstallersFolder;
|
||||
private const string MainWpiFeed = "https://www.microsoft.com/web/webpi/3.0/webproductlist.xml";
|
||||
//private const string MainWpiFeed = "https://www.microsoft.com/web/webpi/3.0/webproductlist.xml";
|
||||
private const string MainWpiFeed = "https://www.microsoft.com/web/webpi/4.0/WebProductList.xml";
|
||||
private const string IisChoiceProduct = "StaticContent";
|
||||
private const string WebMatrixChoiceProduct = "WebMatrix";
|
||||
private ProductManager _productManager;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue