本地存储库
应用程序/ vnd.org.jfrog.artifactory.repositories.LocalRepositoryConfiguration + json
{-“关键”:“local-repo1”,“projectKey”:“projx”——“环境”:“开发”、“刺激”,+“rclass”:“当地”——“packageType”:“高山”|“货物”|“作曲家”|“凉亭”|“厨师”|“cocoapods”|“柯南”|“凹口”|“debian”|“码头工人”|“掌舵”|“宝石”|“gitlfs”|“走”|“gradle”|“常春藤”|“maven”|“npm”|“nuget”|“opkg”|“酒吧”|“傀儡”|“pypi”|“rpm”|“sbt”|“迅速”|“起程拓殖”|“流浪汉”|“百胜”|“通用”(默认)——“描述”:“本地存储库公共描述”,——“笔记”:“一些内部笔记”,——“includesPattern”:“* * / *”(默认),——“excludesPattern”:“(默认),——“repoLayoutRef”:“maven-2-default”(默认),——“debianTrivialLayout”:假的,——“checksumPolicyType”:“client-checksums”(默认)|“server-generated-checksums”——“handleReleases”:真正的(默认),——“handleSnapshots”:真正的(默认),——“maxUniqueSnapshots”:0(默认),——“maxUniqueTags”:0(默认),——“snapshotVersionBehavior”:“独特”(默认)|“非唯一”|“部署”,#指定Maven快照版本的命名约定。从7.41版本,这个默认从“非唯一”改为“独特”,影响了本地和联合存储库——“suppressPomConsistencyChecks”:假(默认),——“blackedOut”:假(默认),——“xrayIndex”:假(默认),——“propertySets”:“ps1”、“ps2”,——“archiveBrowsingEnabled”:假的,——“calculateYumMetadata”:假的,——“yumRootDepth”:0,-“dockerApiVersion”:“V2”(默认),——“enableFileListsIndexing”:“false”(默认),——“optionalIndexCompressionFormats”:["bz2", "lzma", "xz"], - "downloadRedirect": "false"(默认),- "cdnRedirect": "false"(默认,仅适用于Artifactory Cloud), - "blockPushingSchema1": "false", - "primaryKeyPairRef": "mygpgkey", - "secondaryKeyPairRef": "mysecgpgkey", - "priorityResolution": "false"(默认,适用于所有存储库类型,不包括CocoaPods, Git LFS, NuGet V2, Opkg, Rust, Vagrant和VCS存储库),- "terraformType": "module" | "provider"}
远程存储库
应用程序/ vnd.org.jfrog.artifactory.repositories.RemoteRepositoryConfiguration + json
{-“关键”:“remote-repo1”,“projectKey”:“projx”——“环境”:“开发”、“刺激”,+“rclass”:“远程”——“packageType”:“高山”|“货物”|“作曲家”|“凉亭”|“厨师”|“cocoapods”|“柯南”|“凹口”|“debian”|“码头工人”|“掌舵”|“宝石”|“gitlfs”|“走”|“gradle”|“常春藤”|“maven”|“npm”|“nuget”|“opkg”|“酒吧”|“傀儡”|“pypi”|“rpm”|“sbt”|“迅速”|“起程拓殖”|“流浪汉”|“百胜”|“通用的”(默认)+“url”:“http://host some-repo”,——“用户名”:“remote-repo-user”-“密码”:“通过”,——“代理”:“proxy1”——“disableProxy”:假(默认),——“描述”:“公众的远程存储库描述”,——“笔记”:“一些内部笔记”,——“includesPattern”:“高山”|“货物”|“作曲家”|“凉亭”|“厨师”|“cocoapods”|“柯南”|“凹口”|“debian”|“码头工人”|“掌舵”|“宝石”|“gitlfs“|”去“|”gradle”|“常春藤”|“maven npm“|”“|”nuget”|“opkg”|“酒吧”|“傀儡”|“pypi“|”转“|”sbt”|“迅速”|“起程拓殖”|“流浪汉”|“百胜”|“通用”(默认)* * / *”(默认),——“excludesPattern”:“(默认),——“repoLayoutRef”:" maven2 -default", - "remoteRepoChecksumPolicyType": "generate-如果-absent"(默认)| "fail" | "ignore-and-generate" | "pass-thru", - " handlerreleases ": true(默认),- "handleSnapshots": true(默认),- "maxUniqueSnapshots": 0(默认),- "suppressPomConsistencyChecks": false(默认),- "hardFail": false(默认),- "offline": false(默认),- " blackkedout ": false(默认),- " storeartifactslocal ": true(默认),- "socketTimeoutMillis": 15000(默认),- "localAddress":“212.150.139.167”——“retrievalCachePeriodSecs”:43200(默认),——“missedRetrievalCachePeriodSecs”:7200(默认),——“unusedArtifactsCleanupPeriodHours”:0(默认),——“assumedOfflinePeriodSecs”:300(默认),——“fetchJarsEagerly”:假(默认),——“fetchSourcesEagerly”:假(默认),——“shareConfiguration”:假(默认),——“synchronizeProperties”:假(默认),——“blockMismatchingMimeTypes”:真正的(默认),——“xrayIndex”:假(默认),——“propertySets”:["ps1", "ps2"], - allowAnyHostAuth": false(默认),- enablecookimanagement: false(默认),- enableTokenAuthentication: false(默认),- bowerRegistryUrl: "https://registry.bower. sh ", - "allowAnyHostAuth": false(默认)。- "gitRegistryUrl": "https://github.com/rust-lang/crates.io-index"(默认),- "composerRegistryUrl": "https://packagist.org"(默认),- "pyPIRegistryUrl": "https://pypi.org"(默认),- "vcsType": "GIT"(默认),- "vcsGitProvider": "GITHUB"(默认)| "BITBUCKET" | "OLDSTASH" | "ARTIFACTORY" | "CUSTOM", - "vcsGitDownloadUrl": "" "(默认),- "bypassHeadRequests": false(默认),- "clientTlsCertificate": "" "(默认),+ "externalDependenciesEnabled":false(默认,仅适用于Docker存储库),- "externalDependenciesPatterns": ["**/*microsoft*/**", "**/*github*/**"](仅适用于Docker存储库)- "downloadRedirect":" false"(默认,仅适用于Artifactory Cloud), - "feedContextPath":"api/v2", - "downloadContextPath":"api/v2/package", - "v3FeedUrl":"https://api.nuget.org/v3/index.json", - " contentsynchronization ": {"enabled": false(默认),"statistics": {"enabled": {"enabled":默认):false(默认)},"properties": {"enabled": false(默认)},"source": {"originAbsenceDetection": false(默认)},- "blockPushingSchema1": false, - "priorityResolution": false(默认,适用于除CocoaPods, Git LFS, NuGet V2, Opkg, Rust, Vagrant和VCS之外的所有存储库类型),- "disableUrlNormalization": false(默认)}
虚拟存储库
应用程序/ vnd.org.jfrog.artifactory.repositories.VirtualRepositoryConfiguration + json
{-“关键”:“virtual-repo1”,“projectKey”:“projx”——“环境”:“开发”、“刺激”,+“rclass”:“虚拟”+“packageType”:“高山”|“货物”|“作曲家”|“凉亭”|“厨师”|“cocoapods”|“柯南”|“凹口”|“debian”|“码头工人”|“掌舵”|“宝石”|“gitlfs”|“走”|“gradle”|“常春藤”|“maven”|“npm”|“nuget”|“opkg”|“酒吧”|“傀儡”|“pypi”|“rpm”|“sbt”|“迅速”|“起程拓殖”|“流浪汉”|“百胜”|“通用”(默认)——“存储库”:[“local-rep1”、“local-rep2”,“remote-rep1”、“virtual-rep2”)——“描述”:"虚拟存储库公共描述",- "notes": "一些内部说明",- " inclespattern ": "**/*"(默认),- "excludesPattern": "" "(默认),- "repoLayoutRef": "maven-2-default", - "debianTrivialLayout": false, - " artifactoryrequestscanretriveremoteartifacts ": false, - "keyPair": "keypair1", - "pomRepositoryReferencesCleanupPolicy": "discard_active_reference"(默认)| "discard_any_reference" | "nothing" - "defaultDeploymentRepo":“local-repo1”——“optionalIndexCompressionFormats”:[“bz2”获取“lzma”,“xz”),——“forceMavenAuthentication”:假的,(默认——仅适用于Maven存储库)+“externalDependenciesEnabled”:假(默认——适用于凉亭,npm,仅存储库),——“externalDependenciesPatterns ": [ "**/* 微软 */**", "**/* github * / * *”)(仅适用于凉亭,npm,存储库),——“externalDependenciesRemoteRepo”:“”(仅适用于凉亭和npm存储库),——“primaryKeyPairRef”:"mygpgkey", - "secondaryKeyPairRef": "mysecgpgkey"}
联合存储库
应用程序/vnd.org.jfrog.artifactory.repositories.FederatedRepositoryConfiguration + json
——“关键”:“federated-repo1”,“projectKey”:“projx”——“环境”:“开发”、“刺激”,+“rclass”:“联邦”,——“packageType”:“高山”|“maven”|“gradle”|“常春藤”|“sbt”|“掌舵”|“货物”|“cocoapods”|“opkg”|“rpm”|“nuget”|“凹口”|“宝石”|“npm”|“凉亭”|“debian”|“作曲家”|“pypi”|“码头工人”|“流浪汉”|“gitlfs”|“走”|“百胜”|“柯南”|“厨师”|“傀儡”|“通用”(默认)——“成员”:[{“url”:"http://targetartifactory/artifactory/repositoryName", "enabled":"true"},": [{"url": "以repositoryName结尾的完整url"," enabled":"默认为true。表示联邦成员的活动状态。支持修改自己成员的启用状态。其他联邦成员上的配置将自动更新。}] //如果联邦成员接收到不包含存储库URL的请求,它将自动添加配置的基本URL和“key”字段值的组合。注意,每个联邦成员需要一组基URL,——“描述”:“联合存储库公共描述”,——“代理”:“proxy-key”——“disableProxy”:假(默认),——“笔记”:“一些内部笔记”,——“includesPattern ": "**/*" ( 默认),“excludesPattern”:“(默认),——“repoLayoutRef”:“maven-2-default”(默认),——“debianTrivialLayout”:假的,——“checksumPolicyType”:“client-checksums”(默认)|“server-generated-checksums”——“handleReleases”:true(默认),- "handleSnapshots": true(默认),- "maxUniqueSnapshots": 0(默认),- "maxUniqueTags": 0(默认),- "snapshotVersionBehavior": "unique"(默认)| " nonunique " | "deployer", - "suppressPomConsistencyChecks": false(默认),- " blackkedout ": false(默认),- "xrayIndex": false(默认),- "propertySets": ["ps1", "ps2"], - "archiveBrowsingEnabled": false, - "calculateYumMetadata": false, - "yumRootDepth": 0, - "dockerApiVersion":"V2"(默认),- "enableFileListsIndexing": "false"(默认),- "optionalIndexCompressionFormats": ["bz2", "lzma", "xz"], - "downloadRedirect": "false"(默认),- "cdnRedirect": "false"(默认,仅适用于人工云),- "blockPushingSchema1": "false", - "primaryKeyPairRef": "mygpgkey", - "secondaryKeyPairRef": "mysecgpgkey", - "priorityResolution":false(默认,适用于所有存储库类型,不包括CocoaPods, Git LFS, NuGet V2, Opkg, RPM, Rust, Vagrant和VCS存储库)}