Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add ControlService webapi calls #92

Merged
merged 12 commits into from Sep 6, 2017
Merged

Add ControlService webapi calls #92

merged 12 commits into from Sep 6, 2017

Conversation

norrismiv
Copy link
Contributor

No description provided.

hybrasyl/Map.cs Outdated
// };
// // We don't implement world map point restrictions yet, so we're done here
// Points.Add(mapPoint);
//}

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This should not be included here.

hybrasyl/Game.cs Outdated
@@ -199,6 +202,14 @@ public static void Main(string[] args)
LogLevel = Hybrasyl.Constants.DEFAULT_LOG_LEVEL;
Assemblyinfo = new AssemblyInfo(Assembly.GetEntryAssembly());

//set up service endpoint for ControlService

var host = new WebServiceHost(typeof(ControlService), new Uri("http://localhost:4949/ControlService"));
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

OK here, I'll take on the task of extending the XML for config to handle configuring this, along with the "shutdown password" / token.

We should also use a more standard X-Access-Token versus exposing the key in the GET request.

@baughj
Copy link
Member

baughj commented Sep 6, 2017

👍

@baughj baughj merged commit 3375521 into hybrasyl:develop Sep 6, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants