This repository has been archived by the owner on Jan 21, 2020. It is now read-only.
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[#226] Update getServiceType() to reflect changes to service names
Originally, this looked for just namespaced segments (`Rest` and `Rpc`). However, with the changes made for 1.0.4 to remove encoded slashes from service names, this breaks link injection, as it could not identify a REST service by the namespace, and thus always identified services as RPC. The change introduced will now also detect when the service name contains dash-separated namespaces (`-Rest-`).
- Loading branch information