This commit is contained in:
2018-07-26 00:44:46 +00:00
parent e50ca91179
commit a83df7f444

View File

@@ -9,6 +9,7 @@ using Microsoft.EntityFrameworkCore;
using rockfishCore.Models;
using rockfishCore.Util;
namespace rockfishCore.Controllers
{
[Produces("application/json")]
@@ -30,12 +31,35 @@ namespace rockfishCore.Controllers
{
dtoOpsStatus ret= new dtoOpsStatus();
ret.MailMirrorOK=RfMail.MailIsMirroringProperly();
//PING?
//Can ping Spaces and all the servers we have, maybe do that first then proceed
//https://docs.microsoft.com/en-us/dotnet/framework/network-programming/how-to-ping-a-host
//using System.Net.NetworkInformation;
//AyaNova website: https://www.ayanova.com/
//API website: https://api.ayanova.com/
//Contact form: https://contact.ayanova.com/contact
//Request form: https://contact.ayanova.com/request
//Request lite form: https://contact.ayanova.com/requestlite
//subversion: https://svn.helloayanova.com:18080/svn/GZTWREPO/ (requires login)
//subversion admin: http://svn.helloayanova.com:3343/csvn/login/auth
//Forum: http://forum.ayanova.com/
//devops: https://test.helloayanova.com/api/v8/
//Spaces and backup: https://gztw1.nyc3.digitaloceanspaces.com/
//Need S3 library for c#
return ret;
}
public class dtoOpsStatus
{
public bool MailMirrorOK;
public bool ForumOK;
public bool AyaNovaWebsiteOK;
public bool APIWebsiteOK;
}