Clone Tools
  • last updated a few seconds ago
Constraints
Constraints: committers
 
Constraints: files
Constraints: dates
DROOLS-4184 Fix first set of issues reported by SonarCloud (#2398)

* DROOLS-4181 Fix blocker issues reported by SonarCloud

* DROOLS-4181 Fix critical issues reported by SonarCloud

* DROOLS-4181 Fix first set of major issues reported by SonarCloud

* DROOLS-4181 Fix second set of major issues reported by SonarCloud

* DROOLS-4181 Fix third set of major issues reported by SonarCloud

* DROOLS-4181 Fix test related to SonarCloud fixes.

* DROOLS-4181 Fix downstream problems.

    • -24
    • +10
    ./org/kie/scanner/KieModuleMetaDataImpl.java
  1. … 147 more files in changeset.
JBPM-6848: Form Generation fails generating forms for classes on external dependencies (#2277)

    • -0
    • +2
    ./org/kie/scanner/KieModuleMetaData.java
  1. … 1 more file in changeset.
JBPM-8166: case modeler - register the assets into the workbench and process engine (#2257)

  1. … 1 more file in changeset.
JBPM-7999 - xstream ForbiddenClassException with data objects from dependencies (#2168)

    • -0
    • +39
    ./org/kie/scanner/KieURLClassLoader.java
  1. … 1 more file in changeset.
[DROOLS-3108] allow KieScanner to work with a plain file system (#2109)

[DROOLS-3108] allow KieScanner to work with a plain file system

    • -168
    • +26
    ./org/kie/scanner/KieRepositoryScannerImpl.java
  1. … 12 more files in changeset.
[BAPL-511] avoid triggering unnecessary builds from kie-ci (#2075)

[DROOLS-2935] initialize the kproject class loader when loading a kmodule from the local repo

  1. … 4 more files in changeset.
[DROOLS-2935] initialize the kproject class loader when loading a kmo… (#2028)

* [DROOLS-2935] initialize the kproject class loader when loading a kmodule from the local repo

* Update AccumulateTest.java

  1. … 6 more files in changeset.
[DROOLS-2591] fix reloading of updated SNAPSHOT KJars (#1991)

  1. … 2 more files in changeset.
[DROOLS-2773] skip artifacts that cannot be resolved during indexing of dependencies in KieScanner

    • -6
    • +11
    ./org/kie/scanner/KieRepositoryScannerImpl.java
Master drools 2591 (#1926)

[DROOLS-2591] fix reloading of updated SNAPSHOT KJars

  1. … 2 more files in changeset.
[RHBRMS-3092] Wrong error message on KieScanner update (#1860)

(cherry picked from commit f702410978cbb44a37ccc67858aa08770ea1572e)

[RHBPMS-5076] ensure to always update snapshots

    • -9
    • +26
    ./org/kie/scanner/MavenRepository.java
  1. … 1 more file in changeset.
automatically recognize and properly install a kjar containing the executable model

    • -33
    • +6
    ./org/kie/scanner/KieRepositoryScannerImpl.java
  1. … 7 more files in changeset.
[DROOLS-2166] avoid NPE when trying to extract the meta data from a project with an invalid pom

[DROOLS-2166] avoid NPE when trying to extract the meta data from a project with an invalid pom

(cherry picked from commit a5c753ea082e0a5f98f4c03b181210ee431d476d)

use CanonicalKieModule in kie-ci

    • -16
    • +36
    ./org/kie/scanner/KieRepositoryScannerImpl.java
  1. … 2 more files in changeset.
use CanonicalKieModule in kie-ci

    • -16
    • +36
    ./org/kie/scanner/KieRepositoryScannerImpl.java
  1. … 2 more files in changeset.
use CanonicalKieModule in kie-ci

    • -16
    • +36
    ./org/kie/scanner/KieRepositoryScannerImpl.java
  1. … 2 more files in changeset.
[DROOLS-1720] allow to use KieScanner in combination with explicit updateToVersion (#1453)

(cherry picked from commit 009aa4210c9c4b6e52d9b662dce21484a47cf054)

    • -4
    • +11
    ./org/kie/scanner/KieRepositoryScannerImpl.java
[DROOLS-1720] allow to use KieScanner in combination with explicit updateToVersion (#1453)

    • -4
    • +11
    ./org/kie/scanner/KieRepositoryScannerImpl.java
[DROOLS-1720] allow to use KieScanner in combination with explicit updateToVersion (#1443)

(cherry picked from commit 122f30f11701943d89fd4580f39d521b0cf85bf1)

    • -11
    • +9
    ./org/kie/scanner/KieRepositoryScannerImpl.java
  1. … 4 more files in changeset.
[DROOLS-1720] allow to use KieScanner in combination with explicit updateToVersion (#1443)

(cherry picked from commit 122f30f11701943d89fd4580f39d521b0cf85bf1)

[DROOLS-1720] allow to use KieScanner in combination with explicit updateToVersion (#1453)

(cherry picked from commit 009aa4210c9c4b6e52d9b662dce21484a47cf054)

[DROOLS-1720] allow to use KieScanner in combination with explicit updateToVersion

    • -5
    • +10
    ./org/kie/scanner/KieRepositoryScannerImpl.java
  1. … 3 more files in changeset.
[DROOLS-1720] allow to use KieScanner in combination with explicit updateToVersion (#1443)

    • -11
    • +9
    ./org/kie/scanner/KieRepositoryScannerImpl.java
  1. … 4 more files in changeset.
[DROOLS-1655] unregister statful ksession from the kcontainer when it… (#1369)

[DROOLS-1655] unregister statful ksession from the kcontainer when it is disposed

  1. … 13 more files in changeset.
AF-558: adjust to the renamed ReleaseId from AppFormer (#1342)

    • -4
    • +4
    ./org/kie/scanner/KieMavenRepository.java
  1. … 4 more files in changeset.
add KieModuleMetaData constructor accepting a List of URI as dependencies (#1331)

[GUVNOR-3016] add KieModuleMetaData constructor accepting a List of URI as dependen…

    • -1
    • +7
    ./org/kie/scanner/KieModuleMetaData.java
    • -18
    • +33
    ./org/kie/scanner/KieModuleMetaDataImpl.java
RHBRMS-2842 [DROOLS-1051] KieScanner does not initialize if missing to locate ... (#1323)

[ Cherry picked 80a06ea4b ]

...a kjar dependency of test scope.

See Jboss JIRA https://issues.jboss.org/browse/DROOLS-1051

Suppose a kjar has a "test" scope dependency which may not be resolvable

at runtime; the KieContainer will be created correctly (warning raised

in log) but the initialization of the KieScanner fail with NPE.

Expected behavior: also the KieScanner shall be able to initialize if

the KieContainer is working correctly.

Description of proposed patch.

Problem is that if the dependency "dep" is not resolvable at runtime,

the method artifactResolver.resolveArtifact(...) will return a null, and

in turn a NPE, and in turn will fail the initialization of the

KieScanner.

Actually the following scopes:

"test", "provided", and "system" are not required to be resolved to be

updated by the KieScanner, as these actual artifacts are needed only

during test or they need to be manually specified by the

container/runtime environment.

Thanks in advance for your feedback.

P.s.: this is a squashed commit to update the original proposal to

reflect PR's comment: "check the scope of the dependency (

DependencyDescriptor.getScope() ) and make the KieScanner to fail fast

if the dependency is not optional."

Missed that method as I originally developed this change against the

6.2.x branch, and modified the commit just before submitting the PR to

have it against master... Thanks for pointing it out ! =)

Conflicts:

kie-ci/src/test/java/org/kie/scanner/KieRepositoryScannerTest.java

  1. … 2 more files in changeset.
[DROOLS-1582] split kie-ci (#1314)

    • -184
    • +0
    ./org/kie/scanner/ArtifactResolver.java
    • -0
    • +102
    ./org/kie/scanner/KieMavenRepository.java
    • -5
    • +5
    ./org/kie/scanner/KieModuleMetaData.java
    • -26
    • +30
    ./org/kie/scanner/KieRepositoryScannerImpl.java
    • -10
    • +11
    ./org/kie/scanner/MavenClassLoaderResolver.java
    • -453
    • +0
    ./org/kie/scanner/MavenRepository.java
  1. … 43 more files in changeset.
Switch log messages in KieRepositoryScanner (#1297)