jfrog-cli
jfrog-cli copied to clipboard
jf rt rc seems not aligned with suggested key-value pair data types in JSON file for configuring repos
Describe the bug
jf rt rc seems not aligned with suggested key-value pair data types for config JSON file for repos
Current behavior
jf version 2.9.0 jf rt rc cran-remote-config.json (name of the file that is described in reproduction steps section) [Error] template syntax error: the value for the key: "synchronizeProperties" is not a string type.
Reproduction steps
The below jason config file was used for creating a remote repo{ "key": "cran-remote", "rclass": "remote", "packageType": "r", "description": "Remote repository for CRAN packages with Xray indexing enabled", "url": "https://cran.r-project.org/", "repoLayoutRef": "simple-default", "offline": false, "hardFail": false, "storeArtifactsLocally": true, "socketTimeoutMillis": 15000, "localAddress": "", "retrievalCachePeriodSecs": 7200, "missedRetrievalCachePeriodSecs": 1800, "unusedArtifactsCleanupPeriodHours": 168, "assumedOfflinePeriodSecs": 300, "shareConfiguration": false, "synchronizeProperties": false, "blockMismatchingMimeTypes": true, "propertySets": [], "allowAnyHostAuth": false, "enableCookieManagement": false, "clientTlsCertificate": "", "xrayIndex": true }
The json file structure seems aligned with suggested structure (https://jfrog.com/help/r/jfrog-rest-apis/repository-configuration-json).
Expected behavior
repo to be created on Jfrog artifactory repos
JFrog CLI version
2.9.0
Operating system type and version
amazon linux 2023
JFrog Artifactory version
7.71.20
JFrog Xray version
No response