tuwiendsg / MELA

Monitoring and analyzing elasticity of cloud services
http://tuwiendsg.github.io/MELA/
2 stars 4 forks source link

Do not use full artifact name in context paths #12

Closed olmoser closed 10 years ago

olmoser commented 10 years ago

Currently, in component MELA-AnalysisService, the full name of the Maven artifact is part of the context path of the webservice. The problem is that this path will change in the future, and thus all clients referring to this path (e.g. all scripts in the pythonClients directory) have to be adapted.

Replace

<configuration>
    <path>/MELA-AnalysisService-0.1-SNAPSHOT</path>
</configuration>

in the related pom file with e.g.

<configuration>
    <path>/mela</path>
</configuration>

moreover I would prefer to expose the MELA API via

<servlet-mapping>
    <servlet-name>CXFServlet</servlet-name>
    <url-pattern>/api/*</url-pattern>
</servlet-mapping>

instead of

<servlet-mapping>
    <servlet-name>CXFServlet</servlet-name>
    <url-pattern>/REST_WS/*</url-pattern>
</servlet-mapping>