CPE_learningsite
This repository has no backups
This repository's network speed is throttled to 100KB/sec
Upgrade your account to fix these warnings, or use backups.vc for automated backups
d90493cf2f1f435b060f3ae01600f05f801f24a8
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 |
using System; using System.Collections.Generic; using System.Configuration; using System.Linq; using System.Web; using CPE.App.Web.Elucidat; using CPE.App.Web.Helpers; using CPE.App.Web.Models; using CPE.App.Web.Code; namespace CPE.App.Api.Helpers { public class ProjectConfigureHelper { //Configuring by doing a re-release, no longer a project configuration but naming convention already in place public static bool ProjectConfiguration(string projectCode, string releaseCode) { Utilities.LogWrapper.Info("[ProjectConfigureHelper][ProjectConfiguration] projectCode={0} releaseCode={1}", projectCode, releaseCode); string result = ElucidatMeetingConnection.CreateRelease(new ReleaseSettingModel { ProjectCode = projectCode, ReleaseMode = "online-private", ReleaseCode = releaseCode, XapiLrsEndpointUrl = ConfigurationManager.AppSettings["LrsEndpoint"], XapiLrsEndpointUsername = ConfigurationManager.AppSettings["LrsEndpointUsername"], XapiLrsEndpointPassword = ConfigurationManager.AppSettings["LrsEndpointPassword"], LearnerAccess = "restricted" }); if (result.IndexOf("Release is being prepared") > -1) { return true; } return false; } } } |
Commits for CPE_learningsite/CPE/CPE.App/CPE.App.Api/Helpers/ProjectConfigureHelper.cs
Revision | Author | Commited | Message |
---|---|---|---|
4cd176 ... | v.shishlov | Fri 27 Aug, 2021 14:33:17 +0000 | initial commit |