Branch: refs/heads/master
Home: https://github.com/jenkinsci/jenkins
Commit: a5310b10d6f4489eab4316cda8ab5a5d7ce14771
https://github.com/jenkinsci/jenkins/commit/a5310b10d6f4489eab4316cda8ab5a5d7ce14771
Author: Sumit Sarin <[email protected]>
Date: 2020-06-22 (Mon, 22 Jun 2020)
Changed paths:
M core/src/main/java/hudson/model/Fingerprint.java
M core/src/main/java/hudson/model/FingerprintCleanupThread.java
M core/src/main/java/hudson/model/FingerprintMap.java
A core/src/main/java/jenkins/fingerprints/FileFingerprintStorage.java
A core/src/main/java/jenkins/fingerprints/FingerprintStorage.java
R core/src/test/java/hudson/model/FingerprintCleanupThreadTest.java
M core/src/test/java/hudson/model/FingerprintTest.java
A test/src/test/java/hudson/model/FingerprintCleanupThreadTest.java
M test/src/test/java/hudson/model/FingerprintTest.java
Log Message:
-----------
[JENKINS-62345] Introduce FingerprintStorage API in core (#4731)
* [JENKINS-62345] Introduce FingerprintStorage API
* Fix FingerprintTest by adding JenkinsRule
* Add licenses
* Undo Adding JTH to core
* Move roundTrip test to JTH
* Move toByteArray method to Fingerprint class
* Decrease extension ordinal value for FileFingerprintStorage
* abstract logging and bulkchange into fingerprint class
* Move loading logs into Fingerprint
* Expose setPersistedFacets in Fingerprint class
* Annotate FingerprintStorage as Beta
* Add docstring for FingerprintStorage and FileFingerprintStorage
* Remove nonnull annotation from getPersistedFacets
* Add System property to choose FingerprintStorage engine
* Introduce initFacets method for abstraction
* Remove setPersistedFacets method
* Change scope of getPersistedFacets to default
* Single line return statement
* Add check for null
* Remove checkForNull annotation from initFacets
* change access scope from package to public for load
* Remove No external use from FingerprintStorageEngine
* fingerprintStorageEngine moved inside constructor
* Make get function static
* Remove ordinal value
* Make get method public
* make getPersistedFacets public
* Remove brackets from Extension
* Mark FileFingerprintStorage Beta
* Add fingerprint's hash to logging
* Spelling fix
* Remove toByteArray method
* Move getConfigFile and getFingerprintFile to FileFingerprintStorage
* Annotate and make final: getPersistedFacets
* getBytes -> fromHex
* Deprecate Fingerprint.save(File file)
* add version since deprecated
* Deprecate Fingerprint.load(file) method
* Move FingerprintStorage,FileFingerprintStorage -> jenkins.fingerprints package
* Deprecate Fingerprint load(@NonNull byte[] md5sum) and move to String id
* Delete private deprecated method
* CheckForNull added
* Add comments about implementing Saveable Listener
* Add TODO for Saveable Listener
* Add TODO for renaming md5 in xml
* Move serialize to FileFingerprintStorage
* Make serialize method private
* Add docstrings
* Revert serialize to static
* Introduce deletion in the API
* Make messageOfParseException private
* Remove Redundant imports
* Add test for fingerprint deletion
* Make methods private
* Move deletion test to FingerprintTest
* Improve code style
* Improve code style
* Add deletion errors in FileFingerprintStorage#delete
* Add spaces
* Remove extra empty line
* Variable renaming
* Add documentation
* Add spacing
* Remove spacing
* Beta -> NoExternalUse
* Refactoring
* Add CheckForNull annotation in save method
* Add documentation
* Refactor FingerprintMap#isReady to FingerprintStorage
* Suppress fingerprint cleanup thread when external storage is configured
* Add TODO
* Fix negation bug
* Move FingerprintCleanupThreadTest from core to test (needs JTH)
* Revert to using ordinal for extension
* Remove redundant import
* Add note on ID
* spacing changes
* Add spacing
* Add ordinal to extension
* Add curlies
* remove curlies
* j -> jenkinsRule
* Remove note on | delimeter
* Improve docstring
* null -> {@code null}
* Improve docstring
* Improve documentation
* Fix typos
* Minor changes to variable names and docstrings
* Update docstring
--
You received this message because you are subscribed to the Google Groups
"Jenkins Commits" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To view this discussion on the web visit
https://groups.google.com/d/msgid/jenkinsci-commits/jenkinsci/jenkins/push/refs/heads/master/3fa2f5-a5310b%40github.com.