bcgov / platform-services-registry

Platform services OCP project registry
https://registry.developer.gov.bc.ca/
Apache License 2.0
8 stars 13 forks source link

Temporary project set provisioning #2790

Open mtspn opened 1 month ago

mtspn commented 1 month ago

Describe the issue Implement a new type of temporary project set in the registry that exists for a short time period before being automatically deleted. I suggest 30 days. We could consider allowing users to choose their own time span for their temporary project sets.

Additional context This could enable:

Additional considerations/decisions:

How does this benefit the users of our platform?

Definition of done

Amritpal-Nijjar commented 1 month ago

1 problem I foresee is that creating new products and deleting these products is that it would count towards the statistics that is currently being generated. The analytics page currently keeps track of all products past and present, so with this change we would see bumps in the charts of training products being created and deleted in timely waves. I am unsure if this is something we want to separate out from real products vs training products. We can combat this issue by flagging each training product as a "training set" so that it can be separated from non training sets. This could also open the opportunity of tracking statistics regarding training...

Amritpal-Nijjar commented 1 month ago

e.g

Screenshot 2024-05-15 at 11.39.40 AM.png
mtspn commented 1 month ago

Thanks @Amritpal-Nijjar, the image link is broken there but I see what you're saying. I think it would be good if we could separate out training and sandbox projects - as I understand these are all also counted as 'products' in analytics too?

Amritpal-Nijjar commented 1 month ago

That is correct, the analytics page counts everything, but because training namespaces are being reused for every training cohort, we do not currently see this wave of create/delete on the analytics page. Separating out training and sandbox projects will make our analytics much more accurate/representative overall.