oslc / lyo-samples Goto Github PK
View Code? Open in Web Editor NEWLicense: BSD 3-Clause "New" or "Revised" License
License: BSD 3-Clause "New" or "Revised" License
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
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);
See eclipse/lyo.rio#26 as well
Also consider splitting those two app groups
Tests hang and do not execute any more. Did not investigate but think they expect a server running, should move the tests into integration testing group.
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]
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.