Projects tigase _server tigase-http-api Issues #107
Allow exposing `.well-known` in the root context (#107)
Closed
wojciech.kapcia@tigase.net opened 4 years ago

Currently we have dns-webservice module which exposes /.well-known/host-meta endpoint for XEP-0156. The problem is that because we can have context assigned to only single module the resulting URL is: dns-webservice/.well-known/host-meta which won't work. One possibility would be to move dns-service to root context, but this would block other modules.

The idea from the call: have additional module that would allow registration of the "well-known" providers and it would inject them to the root context.

Andrzej Wójcik (Tigase) commented 4 years ago

I've added a new module with context set to /.well-known/ and interface which if implemented by modules will allow them to inject servlets into /.well-known/ context.

Andrzej Wójcik (Tigase) commented 4 years ago

Feature is part of the issue #107_108 branch

wojciech.kapcia@tigase.net commented 4 years ago

Looks and works good, can be merged.

I added some logs and removed "magic" detection of BOSH settings to make it consistent with WebSocket resolver.

issue 1 of 1
Type
New Feature
Priority
Normal
Assignee
Version
tigase-server-8.2.0
Issue Votes (0)
Watchers (0)
Reference
tigase/_server/tigase-http-api#107
Please wait...
Page is in error, reload to recover