This commit is contained in:
@@ -9,6 +9,7 @@ using Microsoft.EntityFrameworkCore;
|
|||||||
using rockfishCore.Models;
|
using rockfishCore.Models;
|
||||||
using rockfishCore.Util;
|
using rockfishCore.Util;
|
||||||
|
|
||||||
|
|
||||||
namespace rockfishCore.Controllers
|
namespace rockfishCore.Controllers
|
||||||
{
|
{
|
||||||
[Produces("application/json")]
|
[Produces("application/json")]
|
||||||
@@ -30,12 +31,35 @@ namespace rockfishCore.Controllers
|
|||||||
{
|
{
|
||||||
dtoOpsStatus ret= new dtoOpsStatus();
|
dtoOpsStatus ret= new dtoOpsStatus();
|
||||||
ret.MailMirrorOK=RfMail.MailIsMirroringProperly();
|
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;
|
return ret;
|
||||||
}
|
}
|
||||||
|
|
||||||
public class dtoOpsStatus
|
public class dtoOpsStatus
|
||||||
{
|
{
|
||||||
public bool MailMirrorOK;
|
public bool MailMirrorOK;
|
||||||
|
public bool ForumOK;
|
||||||
|
public bool AyaNovaWebsiteOK;
|
||||||
|
public bool APIWebsiteOK;
|
||||||
|
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user