Skip to content

Adjust AddOns::ParamsGenerator::SelfManaged::AddOns to work with a base trial

In [SM Cloud Licensing Trials] Iteration 1.1: Impl... (&16046 - closed), the creation flow of the SM Ultimate on Cloud Licensing trial record was implemented. [SM Cloud Licensing Trials] Iteration 1.2: Upda... (&16047) utilises it to allow provisioning/deprovisioning, activation, and usage of this trial type.

With this setup, we plan to incorporate Duo Core into Ultimate trials. AddOns::ParamsGenerator::SelfManaged::AddOns has been tightly coupled to a subscription, which will need to be adapted to also work with a base trial.

Proposal

Potential Solution 1:

Pass a trial or subscription object to AddOns::ParamsGenerator::SelfManaged::AddOns 's generate method to be able to generate params for the trial.

Potential Solution 2:

Create a new method generate_from_trial that accepts a trial object to generate add on params based on this trial object.

Result

Next steps (if any)

How will we measure success?

Edited by Divya Mahadevan