aboutsummaryrefslogtreecommitdiffstats
path: root/Software/Visual_Studio/Web/Tango.MachineService/Controllers
diff options
context:
space:
mode:
authorRoy Ben Shabat <Roy.mail.net@gmail.com>2020-04-11 00:54:54 +0300
committerRoy Ben Shabat <Roy.mail.net@gmail.com>2020-04-11 00:54:54 +0300
commitcb1b51c238c64f570d73b7dca6a2eee205b2da01 (patch)
treedae3c0d5da9d003cb6860431d763eaad0dd5caf7 /Software/Visual_Studio/Web/Tango.MachineService/Controllers
parentb4682a3abfe299c19b24752b2fb1ce2477611ec3 (diff)
downloadTango-cb1b51c238c64f570d73b7dca6a2eee205b2da01.tar.gz
Tango-cb1b51c238c64f570d73b7dca6a2eee205b2da01.zip
Implemented FSE bug reporting !!!
Diffstat (limited to 'Software/Visual_Studio/Web/Tango.MachineService/Controllers')
-rw-r--r--Software/Visual_Studio/Web/Tango.MachineService/Controllers/FSEController.cs13
1 files changed, 13 insertions, 0 deletions
diff --git a/Software/Visual_Studio/Web/Tango.MachineService/Controllers/FSEController.cs b/Software/Visual_Studio/Web/Tango.MachineService/Controllers/FSEController.cs
index 95a26d78e..dccf2d24c 100644
--- a/Software/Visual_Studio/Web/Tango.MachineService/Controllers/FSEController.cs
+++ b/Software/Visual_Studio/Web/Tango.MachineService/Controllers/FSEController.cs
@@ -10,6 +10,7 @@ using Tango.BL.Entities;
using Tango.Core;
using Tango.Core.Cryptography;
using Tango.FSE.Web.Messages;
+using Tango.MachineService.Filters;
using Tango.Web.Controllers;
using Tango.Web.Helpers;
using Tango.Web.Security;
@@ -104,5 +105,17 @@ namespace Tango.MachineService.Controllers
PasswordChangeRequired = user.PasswordChangeRequired
};
}
+
+ [HttpPost]
+ [JwtTokenFilter]
+ public BugReportingInfoResponse GetBugReportInfo(BugReportingInfoRequest request)
+ {
+ return new BugReportingInfoResponse()
+ {
+ CollectionUrl = MachineServiceConfig.FSE_TFS_COLLECTION_URL,
+ PersonalToken = MachineServiceConfig.FSE_TFS_PERSONAL_TOKEN,
+ UserEmail = MachineServiceConfig.FSE_TFS_USER_EMAIL
+ };
+ }
}
}