IMPROVEMENTS:
- Add
JFrogProvider
and associates functions for Terraform provider interface
IMPROVEMENTS:
- Upgrade Resty to 2.16.2
IMPROVEMENTS:
- Add
JFrogResource
andJFrogError
structs
IMPROVEMENTS:
- Add support for multiple TFC Workload Identity Token env var
IMPROVEMENTS:
- Add
RegexNotMatches
Plugin Framework validator
IMPROVEMENTS:
- Move Identifiable() out of
/util/sdk
package path to/util
IMPROVEMENTS:
- Add RepoKey validator
- Check resty log for header existence before redacting it
IMPROVEMENTS:
- Add project_key validator for Framework
- Update CheckPlan func to improve text output and filtering
IMPROVEMENTS:
- Switch SendUsage func arg to Resty Request to make gorountine-safe
IMPROVEMENTS:
- Add plan checking func for acceptance test
IMPROVEMENTS:
- Fix typo in provider metadata type name
- Improve error checking on applyTelemetry()
IMPROVEMENTS:
- Add support for exchanging OIDC ID token for access token using JFrog OIDC configuration
PR: #59
IMPROVEMENTS:
- Enable Resty's debug logging when
TF_LOG
is set toDEBUG
orTRACE
.
BUG FIXES:
- Consolidate CheckArtifactoryLicense funcs into single version for both SDKv2 and Framework
PR: #57
BUG FIXES:
- Remove special error code handling in response middleware
- Fix error handling in check license and version func
PR: #56
IMPROVEMENTS:
- Improve
RepoKey
validation to match Artifactory web UI.
PR: #55
IMPROVEMENTS:
- Add
RepoKey
validation
PR: #53
IMPROVEMENTS:
- Upgrade Resty to 2.11.1
PR: #51
IMPROVEMENTS:
- Upgrade Resty to 2.9.1
- Compile using Go 1.21
PR: #50
BUG FIXES:
- Fix incorrect template package for
ExecuteTemplate
function
PR 48
IMPROVEMENTS:
- Add
ProductId
toProviderMetadata
struct to support Framework resource - Add send usage funcs for each resource method for Framework resource
- Move utility function
ExecuteTemplate
that are not specific to SDKv2 or Framework toutil.go
so they can be used without pulling in either library.
PR 47
IMPROVEMENTS:
- Update Terraform packages.
PR 45
IMPROVEMENTS:
- Move utility functions that are not specific to SDKv2 or Framework to
util.go
so they can be used without pulling in either library.
PR 44
BUG FIXES:
- Bump google.golang.org/grpc from 1.53.0 to 1.56.3
PR 43
BUG FIXES:
- Bump golang.org/x/net from 0.8.0 to 0.17.0
PR 42
NEW FEATURES:
- added new string validator to check if string is valid URL.
- re-organize framework string validator files.
- added unit tests for framework string validators.
PR #41
NEW FEATURES:
- added new string validator to check if string is valid cron expression.
PR #40
NEW FEATURES:
- added
CheckXrayVersion
function to get instance version from Xray.
PR #39
NEW FEATURES:
- added new set validator to check if string is in a pre-defined list of strings.
- added new object validator to check if an attribute is set with value (not unknown or null) when the object is set.
BUG FIXES:
- fixed verification for fw.ValidateBool, values are not compared against each other, but against the value, passed in the function caller.
NEW FEATURES:
- added validator to check if two boolean attributes are set to the same value in Plugin Framework resources.
NEW FEATURES:
- Added
utilfw.go
file with functions used in the resources, migrated to Terraform Plugin Framework. Moved from SDK to Plugin package.
PR #33
NEW FEATURES:
- Added
CheckArtifactoryVersion
function to get instance version from Artifactory.
PR #32
NEW FEATURES:
- Increase the allowed project key length to 32 characters, since Artifactory 7.56.2 expands the maximum length for project key to 32.
PR #31
NEW FEATURES:
- Added
ProviderMetadata
struct to support passing more enriched metadata from Terraform Provider to resources. - Added
CheckVersion
function to verify if a version is same or later than the supported version.
BUG FIXES:
- Add nil checking for
CastToStringArr
to avoid panic. PR #29
BUG FIXES:
- Update regex for
ProjectKey
validator to allow 2-20 characters since 7.49.3. PR #28
NEW FEATURES:
- added
CheckImportState
function to verify the import state in import tests. PR #26
NEW FEATURES:
- added validation for the cron expression length to only allow 6-7 parts expressions. PR #25
BUG FIXES:
- Update regex for
ProjectKey
validator to allow 2-10 characters. PR #23
BUG FIXES:
- Update regex for
ProjectKey
validator
BUG FIXES:
- Revert changes to size limit for
ProjectKey
validator
BUG FIXES:
- Update string size limit for
ProjectKey
validator
REFACTOR:
- Fix client user agent string was hardcoded to Artifactory
REFACTOR:
- MergeSchema is now MergeMap and has been genericized
- 1 more util function added
REFACTOR:
- revert changes to how field properties are fetched.
REFACTOR:
unpack
Movedunpack
code into this module even though it's still WIP.Identifiable
has been moved into this module as it is sharedGetOk
- removed deprecated usage
REFACTOR:
util
package stripped down. Predicates moved topredicate
packages and packers topacker
package.- Some remainder of sharable code from artifactory code was moved in.
NoPassword
predicate now no longer also includesNoClass
- done for distinction and clarity
BUG FIXES:
util.CheckArtifactoryLicense
: Fix only checking forEnterprise
license type. Now support a list of license types to check.
NEW FEATURES:
- Add
StringIsNotURL()
tovalidator
package
NEW FEATURES:
- Add
util.AddTelemetry()
andutil.CheckArtifactoryLicense()
NEW FEATURES:
- Add
util.ApplyTelemetry()
andutil.SendUsage()
NEW FEATURES:
- Add
StringInSlice()
andIntAtLeast()
tovalidator
package
NEW FEATURES:
- Add
test.ExecuteTemplate()
andutil.UniversalPack()
NEW FEATURES:
- New packages for all JFrog Terraform providers.