[DB Cleaner On Steroids Lifetime Plugin] What does this LifeTime plugin do?

Forge Component
(1)
Published on 24 Feb by Miguel 'Kelter' Antunes
1 vote
Published on 24 Feb by Miguel 'Kelter' Antunes

Hi,

The plugin description mentions 

"Extends DB Cleaner On Steroids to allow taking advantage of LifeTime API to better delete applications."

Could you describe in more detail what this means?

Is this related to the Febr 2019 update of LifeTime?

  • https://www.outsystems.com/home/downloadsdetail/118/2166/
  • It is now possible to delete application versions (LifeTime tags) using the new method "DELETE /applications/{ApplicationKey}/versions/{VersionKey}/" of LifeTime Deployment API v2. This feature will allow to delete in the environments the old module versions previously tagged by LifeTime. It requires Platform Server 10.0.912.0 (OutSystems 10 environments) or Platform Server 11 - Release Sep.2018 Cumulative Patch 1 (OutSystems 11 environments). Inspired by Harlin Setiadarma's idea. (RLIT-2399

Does this then only work for enterprise licenses?

Regards,

Daniel

Hi Daniel,

I think Stacey did the most of this code. He's the one to better explain. Nonetheless I think you're right, and the plugin is targeted to Enterprise environments.

Cheers.

Yes. This only works in Enterprise licenses. The current personal environments do not support the LifeTIme API.


Stacey

Hi Stacy,

Thanks for the update, but what does this LifeTime plugin add to the features that DB Cleaner On Steriods already provides? 

Regards,

Daniel

I´m using the personal environment als and thefollwoing DBCleaner module is working for me.

https://www.outsystems.com/forge/component-overview/423/dbcleaner

I used it, to clean older software versions of my modules.

SaxoTom wrote:

I´m using the personal environment als and thefollwoing DBCleaner module is working for me.

https://www.outsystems.com/forge/component-overview/423/dbcleaner

I used it, to clean older software versions of my modules.

Yes SaxoTom, I understand, but what has that to do with the question i asked to the component team?


Solution

So the issue is with tagged versions. In the PE, there is an automated process that will clean out older tagged versions. This is not the case in enterprise environments. Having a tagged version stops it from being deleted. This is why the LifeTime API has to be used to delete the tags.

Solution