You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@brooklyn.apache.org by geomacy <gi...@git.apache.org> on 2018/01/19 11:14:04 UTC

[GitHub] brooklyn-server issue #936: Update Reflections dependency

Github user geomacy commented on the issue:

    https://github.com/apache/brooklyn-server/pull/936
  
    Looks like these tests are catching some different behaviour - on master, from `BundleAndTypeResourcesTest#testFilterListOfEntitiesByName`,  from the code 
    ```
            List<TypeSummary> entities = client().path("/catalog/types")
                    .query("fragment", "vaNIllasOFTWAREpROCESS").get(new GenericType<List<TypeSummary>>() {});
            log.info("Matching entities: " + entities);
            assertEquals(entities.size(), 1);
    ```
    I get 
    
    ```
    2018-01-19 11:01:05,319 INFO  Matching entities: [TypeSummary[org.apache.brooklyn.entity.software.base.VanillaSoftwareProcess:0.0.0-SNAPSHOT, containingBundle=brooklyn-catalog-bom-yOHyKxk9:0.0.0-SNAPSHOT, kind=SPEC, displayName=Vanilla Software Process]]
    ```
    
    whereas in this branch it gives
    ```
    2018-01-19 10:39:58,713 INFO  Matching entities: [TypeSummary[org.apache.brooklyn.entity.software.base.VanillaSoftwareProcess:0.0.0-SNAPSHOT, containingBundle=brooklyn-catalog-bom-N5sHOvLj:0.0.0-SNAPSHOT, kind=SPEC, displayName=Vanilla Software Process], TypeSummary[org.apache.brooklyn.entity.software.base.VanillaSoftwareProcessImpl:0.0.0-SNAPSHOT, containingBundle=brooklyn-catalog-bom-N5sHOvLj:0.0.0-SNAPSHOT, kind=SPEC, displayName=VanillaSoftwareProcessImpl]]
    ```
    i.e. finding the `VanillaSoftwareProcessImpl` too.   


---