Giter VIP home page Giter VIP logo

lyo-samples's People

Contributors

berezovskyi avatar dependabot[bot] avatar jadelkhoury avatar jamsden avatar snyk-bot avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar

lyo-samples's Issues

Add Eclipse Maven repos to all projects

Failed to execute goal on project oauth.sample: Could not resolve dependencies for project org.eclipse.lyo.server:oauth.sample:war:0.0.1-SNAPSHOT: The following artifacts could not be resolved: org.eclipse.lyo.server:oauth-webapp:war:2.3.0, org.eclipse.lyo.server:oauth-core:jar:2.3.0, org.eclipse.lyo.server:oauth-consumer-store:jar:2.3.0: Could not find artifact org.eclipse.lyo.server:oauth-webapp:war:2.3.0 in central (repo.maven.apache.org/maven2) -> [Help 1]

lyo-samples are not working with the latest oslc4j client library

Hi,

today I tried to run the examples with the lyo 4.0.0 dependencies - a few days ago they were working.

But with the latest patches of the oslc4j-client-4.0.0-SNAPSHOT.jar library the samples will not work anymore.
I had a look to the library itself, it doesn't contain the different resource classes (like ChangeRequest, Requirment, ...) anymore

Could someone check this please - or does someone has an idea?

Best regards
STeve

TestCase querying issue

Hi,
Based on the ETMSample, I wrote a query that should retrieve all the test cases of a given project area.

The result of this query is always an empty array, although there is actually 3 test cases in this project area.

Did I missed something ?

String catalogUrl = new RootServicesHelper(<My QM URL>, OSLCConstants.OSLC_QM_V2, client).getCatalogUrl();
String serviceProviderUrl = client.lookupServiceProviderUrl(catalogUrl, <My QM project area>);
String queryCapability = client.lookupQueryCapability(serviceProviderUrl, OSLCConstants.OSLC_QM_V2, OSLCConstants.QM_TEST_CASE_QUERY);
OslcQueryParameters queryParams = new OslcQueryParameters();
queryParams.setPrefix("rdf=<http://www.w3.org/1999/02/22-rdf-syntax-ns#>");
queryParams.setWhere("rdf:type=<http://open-services.net/ns/qm#TestCase>");
OslcQuery query = new OslcQuery(client, queryCapability, -1, queryParams);
OslcQueryResult result = query.submit();
Assertions.assertNotNull(result);
Assertions.assertEquals(3, result.getMembersUrls().length);

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.