ConPaaS-team / conpaas

ConPaaS: integrated runtime environment for elastic cloud applications
http://www.conpaas.eu
BSD 3-Clause "New" or "Revised" License
14 stars 3 forks source link

Deleting uploaded files #93

Open gpierre42 opened 9 years ago

gpierre42 commented 9 years ago

This is a request for adding a method to remove a version of uploaded code in the relevant services (PHP, Java, Generic etc.).

At the moment, the same code upload functionality is re-implemented in every service. This is obviously not a good idea, as duplicate code is hard to maintain. In the longer run it would be good to move this functionality to the ConPaaS core.

tcrivat commented 9 years ago

The requested delete method, along with CLI support (in cpsclient and cps-tools) was added in commit c7307b4ab3a46e7e9d413a286d8ee1466a31a88d for the Generic Service and in commit 5f423358ae260f44613a407848a59e3bf317511c for the hosting services (PHP and Java). The Frontend was updated accordingly in commit c09516e88231ee569cbac2f6c27e20b918967ff3.

I am leaving the issue still open because the code management functionality is, indeed, duplicated: once in the Generic Service and once in PHP/Java (which have a common implementation).