Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Licence Management with the provider #12

Closed
Zwordi opened this issue Dec 12, 2023 · 2 comments · Fixed by #20
Closed

Licence Management with the provider #12

Zwordi opened this issue Dec 12, 2023 · 2 comments · Fixed by #20
Assignees
Labels
feature request New feature or request

Comments

@Zwordi
Copy link

Zwordi commented Dec 12, 2023

Hello,

I would like to present an feature request about the license management.

Currently we are using mainly TF & IaC to manage our Artifactory stack.
We do have a need about the license management.

Based on https://jfrog.com/help/r/jfrog-rest-apis/install-license an POST is available to push a new license to the API that will then push it on local nodes.
On the endpoint there is no attributes available to check the content of the installed license like an hash of the license file.
We do have the expiration date of the license but it’s not enough to think about a way to do it with TF right away.

The resource would be very close to the property_set with an adaptation towards the endpoint target and the actions.

Based on the artifactory stack I think that doing something at the sdk level would be more consistent however I think that posting on this project is more consistent.
A new functions like CheckArtifactoryLicense would be a good startpoint from my perspective.

Resource related I think that this new resource would need to have attribute like:

  • name
  • license_key/license_file (to be able to load it through a string or an file functions)

Then once created we would have those new attributes like:

  • type: Entreprise
  • valid_until
  • licensed_to

What do you think ? Am I clear enough ?

Spoilers : I’m no go developer :)

@alexhung
Copy link
Member

@Zwordi Thanks for the suggestion. I'll add this to our plan.

@alexhung alexhung transferred this issue from jfrog/terraform-provider-artifactory Dec 12, 2023
@alexhung alexhung added new feature Automatically generated release notes feature request New feature or request and removed new feature Automatically generated release notes labels Dec 20, 2023
alexhung added a commit that referenced this issue Jan 4, 2024
@alexhung
Copy link
Member

alexhung commented Jan 4, 2024

@Zwordi I released v1.2.0 with new resource platform_license to manage single license. Currently the API has limitation that prevent me to create a resource to support managing HA license.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature request New feature or request
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants