vertigo-io/vertigo-core

[Vega] Don't use url path to give a definition name to the WS

forhanp opened this issue · 0 comments

Actually, the automatic definition of the web-services in Vega uses the PathPrefix and the name of the URL path to define the Definition Name.
This leads to limitation of the name due to the 60 characters name limitation (in fact it is more 50 due to the "WS_HTTP-WORD_" prefix added in front of the path name).
In complex application, it seems a good idea to be able to configure web-services paths as we want to give more maintainability to the code.
Perhaps we can change the way the web-services ares defined to use "classname::method" instead. With the same prefix as now ("WS_HTTP-WORD_"), we should be able to define unique names and keep the path free from constraints.