Skip to content
Commits on Apr 5, 2018
  1. @adreghiciu

    [NXCM-5187] Set Hc4Provider.HTTP_CTX_KEY_REPOSITORY attribute in orde…

    adreghiciu committed Apr 5, 2018
    …r to trigger Nexus SSL Trust Store
    
    Signed-off-by: Alin Dreghiciu <adreghiciu@gmail.com>
Commits on Apr 11, 2013
  1. @cstamas

    NXCM-1221: Expose simpler local URL setting

    cstamas committed Apr 11, 2013
    These methods are used in both, "live" repo instances
    but also in case of Repo Templates too. This
    change now enables simple setting the local storage
    location without "tricks" needed.
Commits on Apr 10, 2013
  1. @cstamas

    Improve logging

    cstamas committed Apr 10, 2013
    Minor change that adds more information why and which
    repository is illegal state for prefix file update
  2. @cstamas

    Improving logging.

    cstamas committed Apr 10, 2013
    We were emitting a WARN level log for unexpected exception,
    but we did not dump it's stack trace.
    
    This masked some cases (probably NPE thrown by Preconditions
    with message null) of problem (see stack below), where
    the problem was actually at very first line, but the cause
    is not logged at all, only generic message and "null"
    message for cause.
    
    Still, there is also an NPE in recordError happening,
    probably as trying to record this same NPE without
    message into outcome.
    
    jvm 1    | 2013-04-05 09:04:23 WARN  [ar-4-thread-3  ] - org.sonatype.nexus.proxy.maven.routing.internal.RemoteContentDiscovererImpl - Remote strategy
     prefix-file error: null
    jvm 1    | 2013-04-05 09:04:23 WARN  [ar-4-thread-3  ] - org.sonatype.nexus.proxy.maven.routing.internal.UpdateRepositoryRunnable - RSO AR-Updater fai
    led:
    jvm 1    | java.lang.NullPointerException: null
    jvm 1    |      at com.google.common.base.Preconditions.checkNotNull(Preconditions.java:191) ~[guava-13.0.1.jar:na]
    jvm 1    |      at org.sonatype.nexus.proxy.maven.routing.discovery.DiscoveryResult$OutcomeImpl.<init>(DiscoveryResult.java:83) ~[nexus-core-2.4.0-07.jar:2.4.0-07]
    jvm 1    |      at org.sonatype.nexus.proxy.maven.routing.discovery.DiscoveryResult$OutcomeImpl.<init>(DiscoveryResult.java:67) ~[nexus-core-2.4.0-07.jar:2.4.0-07]
    jvm 1    |      at org.sonatype.nexus.proxy.maven.routing.discovery.DiscoveryResult.recordError(DiscoveryResult.java:254) ~[nexus-core-2.4.0-07.jar:2.4.0-07]
    jvm 1    |      at org.sonatype.nexus.proxy.maven.routing.internal.RemoteContentDiscovererImpl.discoverRemoteContent(RemoteContentDiscovererImpl.java:107) ~[nexus-core-2.4.0-07.jar:2.4.0-07]
    jvm 1    |      at org.sonatype.nexus.proxy.maven.routing.internal.RemoteContentDiscovererImpl.discoverRemoteContent(RemoteContentDiscovererImpl.java:64) ~[nexus-core-2.4.0-07.jar:2.4.0-07]
    jvm 1    |      at org.sonatype.nexus.proxy.maven.routing.internal.ManagerImpl.updateProxyPrefixFile(ManagerImpl.java:602) ~[nexus-core-2.4.0-07.jar:2.4.0-07]
    jvm 1    |      at org.sonatype.nexus.proxy.maven.routing.internal.ManagerImpl.updateAndPublishPrefixFile(ManagerImpl.java:541) ~[nexus-core-2.4.0-07.jar:2.4.0-07]
    jvm 1    |      at org.sonatype.nexus.proxy.maven.routing.internal.UpdateRepositoryRunnable.doRun(UpdateRepositoryRunnable.java:70) ~[nexus-core-2.4.0-07.jar:2.4.0-07]
    jvm 1    |      at org.sonatype.nexus.proxy.maven.routing.internal.task.RunnableSupport.run(RunnableSupport.java:75) ~[nexus-core-2.4.0-07.jar:2.4.0-07]
    jvm 1    |      at org.sonatype.nexus.proxy.maven.routing.internal.task.CancelableRunnableSupport.run(CancelableRunnableSupport.java:82) [nexus-core-2.4.0-07.jar:2.4.0-07]
    jvm 1    |      at org.sonatype.nexus.proxy.maven.routing.internal.task.executor.ConstrainedExecutorImpl$CancelableRunnableWrapper.run(ConstrainedExecutorImpl.java:199) [nexus-core-2.4.0-07.jar:2.4.0-07]
    jvm 1    |      at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:439) [na:1.6.0_43]
    jvm 1    |      at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303) [na:1.6.0_43]
    jvm 1    |      at java.util.concurrent.FutureTask.run(FutureTask.java:138) [na:1.6.0_43]
    jvm 1    |      at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$301(ScheduledThreadPoolExecutor.java:98) [na:1.6.0_43]
    jvm 1    |      at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:206) [na:1.6.0_43]
    jvm 1    |      at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:895) [na:1.6.0_43]
    jvm 1    |      at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:918) [na:1.6.0_43]
    jvm 1    |      at java.lang.Thread.run(Thread.java:680) [na:1.6.0_43]
  3. @cstamas

    Merge pull request #799 from sonatype/nxcm-5153-staging-upload-v2

    cstamas committed Apr 10, 2013
    [2.5] NXCM-5153: NXCM-5161: Core changes for upload resource
  4. @cstamas
  5. @cstamas
Commits on Apr 9, 2013
  1. @kellyrob99

    Merge pull request #805 from sonatype/NXCM-5181-allowForceUpdateOfSys…

    kellyrob99 committed Apr 9, 2013
    …temStatus
    
    REVIEW: NXCM-5181 expose ability to force an update of SystemStatus
  2. @kellyrob99

    updated based on CR feedback

    kellyrob99 committed Apr 9, 2013
     NXCM-5181 - Can't install new license into expired trial.
  3. @kellyrob99
  4. @jdillon

    Merge pull request #803 from sonatype/NXCM-5197-warn-to-debug-in-hasI…

    jdillon committed Apr 9, 2013
    …ntersectingTasksThatRuns
    
    TRIVIAL: warn -> debug for mismatch between plexus and sisu name in tasks
  5. @cstamas

    Merge pull request #806 from sonatype/nxcm-5188-checkum-policy-blocks…

    cstamas committed Apr 9, 2013
    …-prefix-list
    
    Checkum policy blocks prefix list
  6. @cstamas

    NXCM-5188: Checksum policy set to IGNORE for prefix requests

    cstamas committed Apr 9, 2013
    As the transport integrity here has small chances to slip in
    as prefix file will be processed, and hence, checked/validated
  7. @cstamas

    Merge pull request #807 from sonatype/nxcm-5194-dupe-g-repository-met…

    cstamas committed Apr 9, 2013
    …adata
    
    NXCM-5194: G level metadata merge creates duplicated entries
  8. @cstamas

    NXCM-5194: Applied comments

    cstamas committed Apr 9, 2013
    From Alin to simplify the method.
  9. @adreghiciu

    Merge pull request #791 from sonatype/file-list-io-error

    adreghiciu committed Apr 9, 2013
    [2.5] NEXUS-5612 File listing should fail in case of IOEx
  10. @cstamas
Commits on Apr 8, 2013
  1. @nabcos
  2. @cstamas

    NXCM-5194: G level metadata merge duplicates entries

    cstamas committed Apr 8, 2013
    Reason was as entry equality was checked by comparing all
    three properties of the Plugin: prefix, artifactId and name.
    
    This commit "improves" this, by performing comparison
    on prefix and artifactId only. This means that
    duplication will not happen anymore on new
    deploys, and will be corrected if maven metadata
    rebuild task is run against repository. Still,
    the one case "changing prefix" mentioned
    in related issue is NOT fixed by this change.
    
    Related:
    https://issues.sonatype.org/browse/NEXUS-4448
  3. @cstamas

    NXCM-5188: Typo in comment

    cstamas committed Apr 8, 2013
  4. @cstamas

    NXCM-5188: Removed temptation by adding inline explanation

    cstamas committed Apr 8, 2013
    I was tempted to change these methods, but finally figured
    it's completely unneeded.
    
    Comment explains why.
  5. @cstamas

    NXCM-5188: Added checksum relax possibility and using it in AR strategy

    cstamas committed Apr 8, 2013
    Added simple "per request" ChecksumPolicy override feature to maven
    specific repositories (as ChecksumPolicy itself is maven specific).
    Using it one can "relax" the policy for single request.
    
    Making use of it in RemotePrefixFileStrategy, to relax
    the policy if its STRICT to one step below (STRICT_IF_EXISTS).
    
    Added UT that validates the change. UT will fail if relevant
    changes are commented out from RemotePrefixFileStrategy,
  6. @cstamas

    NXCM-5188: NPE fix

    cstamas committed Apr 8, 2013
    In the issue attached log, it's clearly visible that validation
    did reject the item (policy=Strict but no hashes were present).
    Later, an NPE is thrown, as the cleanup method is not protected
    from this case.
    
    In all other case it would work as contentValid would be
    TRUE for all of those. This is the only branch in logic
    where it is FALSE, and the remoteHash is null too.
    
    In other words, cleanup is needed when content is
    invalid, but hashes arrived into cache.
Commits on Apr 5, 2013
  1. @kellyrob99

    Merge pull request #798 from sonatype/NEXUS_5615

    kellyrob99 committed Apr 5, 2013
    REVIEW: NEXUS-5615 update UI to indicate first/last name are required and add a last name t...
  2. @jdillon

    Merge pull request #773 from sonatype/workaround-non-shared-interceptors

    jdillon committed Apr 5, 2013
    REVIEW: Workaround to automatically share method interceptors
  3. @jdillon

    [NXCM-5197] warn -> debug for cases where there is a mismatch between…

    jdillon committed Apr 5, 2013
    … plexus and sisu naming
  4. @adreghiciu

    Merge pull request #801 from sonatype/nxcm-5187-rrb-not-using-ssl

    adreghiciu committed Apr 5, 2013
    TRIVIAL: [NXCM-5187] Set Hc4Provider.HTTP_CTX_KEY_REPOSITORY attribute in order to trigger Nexus SSL Trust Store
  5. @cstamas

    Added newline

    cstamas committed Apr 5, 2013
  6. @cstamas

    Fixing the build.

    cstamas committed Apr 5, 2013
    Properties are not (yet) on classpath when UT
    runs. So, it's now simulated...
  7. @ifedorenko

    Merge pull request #793 from sonatype/NEXUS-5641_honour_lucene_fstype…

    ifedorenko committed Apr 5, 2013
    …_during_index_update
    
    NEXUS-5641 honour lucene.fsdirectory.type during index update
  8. @cstamas

    Merge pull request #790 from sonatype/nexus-client-version

    cstamas committed Apr 5, 2013
    [2.5] NexusClient UA should carry proper version
  9. @cstamas

    UT javadoc and method rename.

    cstamas committed Apr 5, 2013
    To better reflect what this is about.
  10. @cstamas

    Added UT for version

    cstamas committed Apr 5, 2013
    And fixed the wrong binary name of the maven properties
  11. @cstamas

    Updated since tag

    cstamas committed Apr 5, 2013
  12. @cstamas

    Merge pull request #797 from sonatype/nexus-5658-timeline-fsdirectory…

    cstamas committed Apr 5, 2013
    …-type
    
    [2.5] NEXUS-5658: timeline plugin does not honour lucene.fsdirectory.type property
Something went wrong with that request. Please try again.