-
Notifications
You must be signed in to change notification settings - Fork 61
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Moved distribution commands out of cli-core to cli-artifactory
- Loading branch information
Showing
147 changed files
with
9,410 additions
and
473 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
version: 1 | ||
type: gradle | ||
resolver: | ||
repo: libs-release | ||
serverId: test | ||
deployer: | ||
repo: gradle-local-repo | ||
serverId: test | ||
ivyPattern: '[organization]/[module]/ivy-[revision].xml' | ||
artifactPattern: '[organization]/[module]/[revision]/[artifact]-[revision](-[classifier]).[ext]' | ||
usePlugin: true |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
{"shared":[{"sourcePath":"/Users/gail/dev/project-examples-master/gradle-examples/gradle-example-publish/shared/build/libs/shared-1.0-SNAPSHOT.jar","artifactDest":"org/jfrog/test/gradle/publish/shared/1.0-SNAPSHOT/shared-1.0-SNAPSHOT.jar","sha1":"e471721512461342a0cb230726474c54a3089275","sha256":"3664fa68f0e5ef2c01ccc41715108f8380e336d0cfc82367750f035ec9a494ba","deploySucceeded":true},{"sourcePath":"/Users/gail/dev/project-examples-master/gradle-examples/gradle-example-publish/gradle.properties","artifactDest":"org/jfrog/test/gradle/publish/shared/1.0-SNAPSHOT/shared-1.0-SNAPSHOT.properties","sha1":"06fdab8aa5df49b45b1771cf6ec56d379090a7ba","sha256":"ab17a74ebcbd624ccd245378126bef1fd30ed8d392e3fa2ad3088f7fa8bc4de9","deploySucceeded":true}],"webservice":[{"sourcePath":"/Users/gail/dev/project-examples-master/gradle-examples/gradle-example-publish/services/webservice/build/libs/webservice-1.0-SNAPSHOT.jar","artifactDest":"org/jfrog/test/gradle/publish/webservice/1.0-SNAPSHOT/webservice-1.0-SNAPSHOT.jar","sha1":"73613a903ad45ed335f28aad3a725226a71cd969","sha256":"f8107aa11da0d043e4b5a86827c8ba6945b596486a8c1dbe602e96b6ecb624ad","deploySucceeded":true},{"sourcePath":"/Users/gail/dev/project-examples-master/gradle-examples/gradle-example-publish/gradle.properties","artifactDest":"org/jfrog/test/gradle/publish/webservice/1.0-SNAPSHOT/webservice-1.0-SNAPSHOT.properties","sha1":"06fdab8aa5df49b45b1771cf6ec56d379090a7ba","sha256":"ab17a74ebcbd624ccd245378126bef1fd30ed8d392e3fa2ad3088f7fa8bc4de9","deploySucceeded":true}],"api":[{"sourcePath":"/Users/gail/dev/project-examples-master/gradle-examples/gradle-example-publish/api/build/libs/api-1.0-SNAPSHOT.jar","artifactDest":"org/jfrog/test/gradle/publish/api/1.0-SNAPSHOT/api-1.0-SNAPSHOT.jar","sha1":"0a57f71bbb170f8a1abf8ca48e4d66583ed6c212","sha256":"4e4144738752d89d5f44dc1e1dbadb1a86d07423ff95ed68d993d3d9ee551878","deploySucceeded":true},{"sourcePath":"/Users/gail/dev/project-examples-master/gradle-examples/gradle-example-publish/gradle.properties","artifactDest":"org/jfrog/test/gradle/publish/api/1.0-SNAPSHOT/api-1.0-SNAPSHOT.properties","sha1":"06fdab8aa5df49b45b1771cf6ec56d379090a7ba","sha256":"ab17a74ebcbd624ccd245378126bef1fd30ed8d392e3fa2ad3088f7fa8bc4de9","deploySucceeded":true},{"sourcePath":"/Users/gail/dev/project-examples-master/gradle-examples/gradle-example-publish/settings.gradle","artifactDest":"org/jfrog/test/gradle/publish/api/1.0-SNAPSHOT/gradle-settings-1.0-SNAPSHOT.txt","sha1":"30788efb365346a1bcabfa8b2041cd875fdad213","sha256":"fb08055200862980c6e80a7d862ec306bf4549fcff87f132ab824f38c8a5205c","deploySucceeded":true}]} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
aaaaaaaaaa |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
aaaaaaaaaa |
765 changes: 765 additions & 0 deletions
765
artifactory/commands/testdata/artifactory_export/artifactory.config.xml
Large diffs are not rendered by default.
Oops, something went wrong.
4 changes: 4 additions & 0 deletions
4
artifactory/commands/testdata/artifactory_export/artifactory.properties
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
artifactory.version=7.38.8 | ||
artifactory.revision=73808900 | ||
artifactory.timestamp=1167040800000 | ||
artifactory.buildNumber=LOCAL |
233 changes: 233 additions & 0 deletions
233
artifactory/commands/testdata/artifactory_export/etc/access.bootstrap.json
Large diffs are not rendered by default.
Oops, something went wrong.
721 changes: 721 additions & 0 deletions
721
...tory/commands/testdata/artifactory_export/etc/artifactory.config.latest.1652771695026.xml
Large diffs are not rendered by default.
Oops, something went wrong.
721 changes: 721 additions & 0 deletions
721
...tory/commands/testdata/artifactory_export/etc/artifactory.config.latest.1652771695459.xml
Large diffs are not rendered by default.
Oops, something went wrong.
722 changes: 722 additions & 0 deletions
722
...tory/commands/testdata/artifactory_export/etc/artifactory.config.latest.1652771700358.xml
Large diffs are not rendered by default.
Oops, something went wrong.
722 changes: 722 additions & 0 deletions
722
artifactory/commands/testdata/artifactory_export/etc/artifactory.config.latest.xml
Large diffs are not rendered by default.
Oops, something went wrong.
4 changes: 4 additions & 0 deletions
4
artifactory/commands/testdata/artifactory_export/etc/artifactory.properties
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
artifactory.version=7.38.8 | ||
artifactory.revision=73808900 | ||
artifactory.timestamp=LOCAL | ||
artifactory.buildNumber=LOCAL |
300 changes: 300 additions & 0 deletions
300
artifactory/commands/testdata/artifactory_export/etc/artifactory.system.properties
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,300 @@ | ||
# | ||
# | ||
# Artifactory is a binaries repository manager. | ||
# Copyright (C) 2019 JFrog Ltd. | ||
# | ||
# Artifactory is free software: you can redistribute it and/or modify | ||
# it under the terms of the GNU Affero General Public License as published by | ||
# the Free Software Foundation, either version 3 of the License, or | ||
# (at your option) any later version. | ||
# | ||
# Artifactory is distributed in the hope that it will be useful, | ||
# but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | ||
# GNU Affero General Public License for more details. | ||
# | ||
# You should have received a copy of the GNU Affero General Public License | ||
# along with Artifactory. If not, see <http://www.gnu.org/licenses/>. | ||
# | ||
# | ||
|
||
############################################################################### | ||
# Use this file to override system-level properties used by artifactory. # | ||
# Artifactory-specific properties beginning with the "artifactory." prefix # | ||
# will be handled internally by artifactory - you should change them only if # | ||
# you know what you are doing. # | ||
# All other properties will become normal (jvm-wide) system properties, so # | ||
# this file can be used as an alternative for specifying command-line # | ||
# -Dparam=val parameters. # | ||
############################################################################### | ||
|
||
## Comma separated list of disabled addons | ||
#artifactory.addons.disabled= | ||
|
||
## Name of alternate application context class to use | ||
#artifactory.applicationContextClass=null | ||
|
||
# Enable adding the session id to the URL | ||
#artifactory.servlet.supportUrlSessionTracking=false | ||
|
||
## Indicates whether a different instance of Artifactory can request remote artifacts from this instance | ||
#artifactory.artifactoryRequestsToGlobalCanRetrieveRemoteArtifacts=false | ||
|
||
## Disable the download access to the global 'repo' | ||
artifactory.repo.global.disabled=true | ||
|
||
## Number of seconds for fs items to idle in the cache | ||
#artifactory.fsitem.cache.idleTimeSecs=1200 | ||
|
||
## Number of seconds to wait between running the storage garbage collector. Use the UI to configure as cron exp | ||
#artifactory.gc.intervalSecs=14400 | ||
|
||
## Number of milliseconds the garbage collector should wait between the scanning of each node | ||
#artifactory.gc.sleepBetweenNodesMillis=20 | ||
|
||
## Number of milliseconds to wait before starting to sleep between garbage collector node scanning iterations | ||
#artifactory.gc.scanStartSleepingThresholdMillis=20000 | ||
|
||
## Number of milliseconds to sleep between garbage collector node scanning iterations | ||
#artifactory.gc.scanSleepBetweenIterationsMillis=200 | ||
|
||
## Number of milliseconds to work between garbage collector datastore file scanning sleep invocations | ||
#artifactory.gc.fileScanSleepIterationMillis=1000 | ||
|
||
## Number of milliseconds to sleep during lengthy garbage collector datastore file scanning | ||
#artifactory.gc.fileScanSleepMillis=250 | ||
|
||
## The maximum binary record cache entries. Apllicable only for v2 gc | ||
#artifactory.gc.maxCacheEntries=10000 | ||
|
||
## Number of seconds to wait until timing out while waiting for an item lock to be acquired | ||
#artifactory.locks.timeoutSecs=120 | ||
|
||
## Whether to print detailed debug information on lock timeouts | ||
#artifactory.locks.debugTimeouts=false | ||
|
||
## Number of seconds to wait between each refresh of the system logs viewer | ||
#artifactory.logs.viewRefreshRateSecs=10 | ||
|
||
## The maximum number of seconds to wait when blocking on a concurrent download from the same repository, before | ||
## starting a parallel download | ||
# artifactory.repo.concurrentDownloadSyncTimeoutSecs=900 | ||
|
||
## Indicates if all stored archives should be indexed (even if already done) upon system startup | ||
#artifactory.search.content.forceArchiveIndexing=false | ||
|
||
## Maximum number of excerpt fragments to return for each result when searching archive content through the UI | ||
#artifactory.search.content.maxFragments=500 | ||
|
||
## Maximum number of characters for each fragment | ||
#artifactory.search.content.maxFragmentsSize=5000 | ||
|
||
## Maximum number of results to return when searching through the UI | ||
#artifactory.search.maxResults=500 | ||
|
||
## The backend limit of maximum results to return from sql queries issued by users. Should be higher than maxResults. | ||
#artifactory.search.userQueryLimit=1000 | ||
|
||
## The minimum number of characters allowed for an archive content query. | ||
#artifactory.search.archive.minQueryLength=3 | ||
|
||
## The maximum number of seconds that should be spent on a pattern search | ||
#artifactory.search.pattern.timeoutSecs=30 | ||
|
||
## Number of seconds for authentications to idle in the cache | ||
#artifactory.security.authentication.cache.idleTimeSecs=300 | ||
|
||
## Minimal number of seconds that should be the difference between each user last access timestamp | ||
#artifactory.security.userLastAccessUpdatesResolutionSecs=60 | ||
|
||
## If Login Remember Me should be disabled and users will have to input their credentials on each login. | ||
#artifactory.security.disableRememberMe=false | ||
|
||
## Lifespan of the remember me cookie | ||
#artifactory.security.rememberMe.lifetimeSecs=1209600 | ||
|
||
## Caches blocked user in sake of performance improvement | ||
## and takes load off authentication mechanism/db | ||
#artifactory.security.useFrontCacheForBlockedUsers=true | ||
|
||
## Login dynamically blocked for increasing amount of time | ||
## since third incorrect login, algorithm is: | ||
## (INCORRECT_ATTEMPTS-3) * loginBlockDelay (millis) | ||
## | ||
## note: delay may not exceed 5000 (5 seconds) | ||
## | ||
#artifactory.security.loginBlockDelay=500 | ||
|
||
## Path to alternate Spring configuration file | ||
#artifactory.spring.configDir=null | ||
|
||
## Number of lock timeouts to retry while waiting for a task to complete | ||
#artifactory.task.completionLockTimeoutRetries=100 | ||
|
||
## Whether logging and processing of traffic is active | ||
#artifactory.traffic.collectionActive=false | ||
|
||
## Number of seconds to wait between each version information update query | ||
#artifactory.versioningQueryIntervalSecs=43200 | ||
|
||
## The substring by which a remote host is identified as Maven''s central host | ||
#artifactory.mvn.central.hostPattern=.maven.org | ||
|
||
## The maximum frequency in seconds that a remote index on Maven central host can be queried for updates | ||
#artifactory.mvn.central.indexerMaxQueryIntervalSecs=86400 | ||
## Maximum concurrent workers to calculate maven metadata | ||
#artifactory.mvn.metadata.calculation.workers=8 | ||
|
||
## Fully qualified name of a maven metadata version comparator to determine the latest and release versions | ||
#artifactory.mvn.metadataVersionsComparatorFqn=org.artifactory.maven.versioning.VersionNameMavenMetadataVersionComparator | ||
|
||
## Fully qualified name of a maven metadata timestamp comparator to determine the latest snapshot versions | ||
#artifactory.mvn.metadataSnapshotComparatorFqn=org.artifactory.maven.snapshot.TimestampSnapshotComparator | ||
|
||
## Disable requests with version tokens (SNAPSHOT, [RELEASE], [INTEGRATION] which retrieves the latest unique if exists | ||
#artifactory.request.disableVersionTokens=false | ||
|
||
## Determine if should sort and retrieve the latest [RELEASE] version by files date created (default is by version string comparator) | ||
#artifactory.request.searchLatestReleaseByDateCreated=false | ||
|
||
## Add additional xml mime type file extensions (*.myextension). Separated by "," | ||
#artifactory.xmlAdditionalMimeTypeExtensions=myextension1,myextension2 | ||
|
||
## Max number of folders to scan deeply for items used as build artifact or dependencies before deleting to warn of | ||
#artifactory.build.maxFoldersToScanForDeletionWarnings=2 | ||
|
||
## Size for the derby page cache | ||
derby.storage.pageCacheSize=500 | ||
|
||
## Disable the Derby JMX management service | ||
derby.module.mgmt.jmx=org.apache.derby.impl.services.jmxnone.NoManagementService | ||
|
||
## Log all errors/messages except syntax errors and constraint violations | ||
derby.stream.error.logSeverityLevel=40000 | ||
|
||
## Log all executed statements along with their txid | ||
derby.language.logStatementText=false | ||
|
||
## Log all deadlocks | ||
#derby.locks.monitor=true | ||
|
||
## Writes a stack trace of all threads involved in lock problems # -- (not just the victims) to the log | ||
#derby.locks.deadlockTrace=true | ||
|
||
## Threshold for the number rows touched above which to auto-escalate to table-level locking from row-level locking | ||
#derby.locks.escalationThreshold=5000 | ||
|
||
## Defines the maximum size of text to parse through the text highlighting script | ||
#artifactory.ui.syntaxColoringMaxTextSizeBytes=512000 | ||
|
||
## Defines the default chroot for UI file\dir selectors that browse machine Artifactory was installed on | ||
#artifactory.ui.chroot=/home/bob | ||
|
||
## Defines the maximum number of files to retain when maintaining a rolling file policy | ||
#artifactory.file.roller.maxFileToRetain=10 | ||
|
||
## Number of milliseconds to work between system backup file export sleep invocations | ||
#artifactory.backup.fileExportSleepIterationMillis=2000 | ||
|
||
## Number of milliseconds to sleep during lengthy system backup file exports | ||
#artifactory.backup.fileExportSleepMillis=250 | ||
|
||
## Number of seconds to check for updates of plugin script files (0 - do not refresh updates scripts) | ||
#artifactory.plugin.scripts.refreshIntervalSecs=0 | ||
|
||
## Send the Accept-Encoding:gzip header to remote repositories and handle gzip stream responses | ||
#artifactory.http.acceptEncoding.gzip=true | ||
|
||
# use the Expect continue directive | ||
#artifactory.http.useExpectContinue=false | ||
|
||
# The lower-limit of a filtered resource size for which a performance warning will be displayed | ||
#filtering.resourceSizeKb=64 | ||
|
||
# Whether to search for an an existing resource under a different name before requesting a remote artifact | ||
#artifactory.repo.remote.checkForExistingResourceOnRequest=true | ||
|
||
# Comma separated list of global excludes to apply on all repositories | ||
#artifactory.repo.includeExclude.globalExcludes=**/*~,**/#*#,**/.#*,**/%*%,**/._*,**/CVS,**/CVS/**,**/.cvsignore,**/SCCS,**/SCCS/**,**/vssver.scc,**/.svn,**/.svn/**,**/.DS_Store | ||
|
||
## A list of archive file names that may contain textual license information.\ | ||
#artifactory.archive.licenseFile.names=license,LICENSE,license.txt,LICENSE.txt,LICENSE.TXT | ||
|
||
## Number of seconds for dynamic metadata to be cached | ||
#artifactory.mvn.dynamicMetadata.cacheRetentionSecs=10 | ||
|
||
## A list of custom types (custom file extensions) to use when resolving maven artifacts | ||
#artifactory.mvn.custom.types=tar.gz,tar.bz2 | ||
|
||
## Determines the maximum number of rows to display per result page | ||
#artifactory.ui.search.maxRowsPerPage=20 | ||
|
||
## Maximum number of results to return when performing NuGet searches without specifying a limit | ||
#artifactory.nuget.search.maxResults=100 | ||
|
||
## If true, all requests to the NuGet API require authentication even if anonymous access is enabled. | ||
#artifactory.nuget.forceAuthentication=false | ||
|
||
## Disable filename token in response Content-Disposition header | ||
#artifactory.response.disableContentDispositionFilename=false | ||
|
||
## Comma separated list of supported archive extensions for archive bundled deploy | ||
#artifactory.request.explodedArchiveExtensions=zip,tar,tar.gz,tgz | ||
|
||
## Disable \ enable the username auto complete in the login page (values : "off" "on"). | ||
#artifactory.useUserNameAutoCompleteOnLogin=on | ||
|
||
## The interval, in seconds, for flushing aggregated statistics to the storage | ||
#artifactory.stats.flushIntervalSecs=30 | ||
|
||
## The amount of indices to pre fetch by IdGenerator | ||
#artifactory.db.idGenerator.fetch.amount=1000 | ||
|
||
## When set, the Bintray Settings section in the User Profile page in the UI will be hidden. | ||
#artifactory.bintray.ui.hideUploads=true | ||
|
||
## Hides the encrypted password field and the maven settings snippet from the profile page | ||
#artifactory.ui.hideEncryptedPassword=true | ||
|
||
## Hides checksum files in simple and list browsing | ||
#artifactory.ui.hideChecksums=true | ||
|
||
## Maximum number repositories to import in parallel (default is one less than the available processors) | ||
#artifactory.import.max.parallelRepos | ||
|
||
## Idle connection monitor interval (in seconds) | ||
#artifactory.repo.http.idleConnectionMonitorInterval=10 | ||
|
||
## Disables idle HTTP connections monitoring (idle connections are closed automatically when #idleConnectionMonitorInterval expires) | ||
#artifactory.repo.http.disableIdleConnectionMonitoring=false | ||
|
||
## Time to wait for content collection accomplishing (in minutes) | ||
#artifactory.support.core.bundle.contentCollectionAwaitTimeout=60 | ||
|
||
## Artifactory by default blocks concurrent execution of Support content collection, | ||
## however one can configure time to wait for next available execution slot before | ||
## withdraw (in seconds) | ||
#artifactory.support.core.bundle.waitForSlotBeforeWithdraw=600 | ||
|
||
## Max (previously created) bundles to keep | ||
#artifactory.support.core.bundle.maxBundles=5 | ||
|
||
## The latest deployed npm package will be tag with the 'latest' tag | ||
#artifactory.npm.tag.tagLatestByPublish=true | ||
|
||
## Add package MD5 checksum to Debian Packages file | ||
#artifactory.debian.metadata.calculateMd5InPackagesFiles=true | ||
|
||
## Whitelist loopback prefixes URL as a remote repository URL (e.g. localhost) separated by ','. default all loopback URLs are blocked | ||
#artifactory.remote.repo.url.whitelist.prefix=null | ||
|
||
## Block any site/link local (10/8|172.16/12|192.168/16|169.254/16 prefix) or unresolvable URL as a remote repository URL (default: false) | ||
#artifactory.remote.repo.url.strict.policy=false | ||
|
||
## Quick search of artifacts using UI case sensitivity indicator | ||
#ui.search.artifacts.caseInsensitive=true | ||
|
||
## Enable/Disable system import. Enabled by default. | ||
#artifactory.system.import.enabled=true | ||
## Enable/Disable repository import. Enabled by default. | ||
#artifactory.repository.import.enabled=true |
30 changes: 30 additions & 0 deletions
30
artifactory/commands/testdata/artifactory_export/etc/binarystore.xml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,30 @@ | ||
<?xml version="1.0" encoding="UTF-8"?> | ||
<!-- | ||
~ Artifactory is a binaries repository manager. | ||
~ Copyright (C) 2019 JFrog Ltd. | ||
~ | ||
~ Artifactory is free software: you can redistribute it and/or modify | ||
~ it under the terms of the GNU Affero General Public License as published by | ||
~ the Free Software Foundation, either version 3 of the License, or | ||
~ (at your option) any later version. | ||
~ | ||
~ Artifactory is distributed in the hope that it will be useful, | ||
~ but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
~ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | ||
~ GNU Affero General Public License for more details. | ||
~ | ||
~ You should have received a copy of the GNU Affero General Public License | ||
~ along with Artifactory. If not, see <http://www.gnu.org/licenses/>. | ||
--> | ||
<!-- | ||
This file configures Artifactory's binary provider | ||
--> | ||
|
||
<!-- | ||
~ TAKE CARE! Making changes to this file may result in losing binaries stored in Artifactory! | ||
~ If you are not sure of what you are doing, please contact JFrog Support for assistance. | ||
--> | ||
|
||
<config version="1"> | ||
<chain template="file-system"/> | ||
</config> |
Oops, something went wrong.