From 297743bf5628098e1cbaca8e0add65862be58b06 Mon Sep 17 00:00:00 2001 From: junkerm Date: Wed, 30 Jan 2019 07:25:50 +0100 Subject: [PATCH] version 0.2.11 (#381) * wip: quick start document * Update specmate-quick-start.md * Update specmate-quick-start.md * Update specmate-quick-start.md * Update specmate-quick-start.md * Update specmate-quick-start.md * Update specmate-quick-start.md * Update specmate-quick-start.md * Update specmate-quick-start.md * Update specmate-quick-start.md * Update specmate-quick-start.md * Update specmate-quick-start.md * Make offset a parameter and set it to zero for pasting a whole model * Add: Images for Documentation * Update specmate-quick-start.md * Enhance: Name insted of numbers for rectangles * Update specmate-quick-start.md * Update specmate-quick-start.md * Update specmate-quick-start.md * Update specmate-quick-start.md * Update specmate-quick-start.md * Update specmate-quick-start.md * Enhance: Highlight node type * Update specmate-quick-start.md * Update specmate-quick-start.md * Update specmate-quick-start.md * Update specmate-quick-start.md * Update specmate-quick-start.md * Update specmate-quick-start.md * Update specmate-quick-start.md * Update specmate-quick-start.md * Update specmate-quick-start.md * Update specmate-quick-start.md * Update specmate-quick-start.md * Update specmate-quick-start.md * Update specmate-quick-start.md * Update specmate-quick-start.md * Enhance: Rename description in image * Update specmate-quick-start.md * Update specmate-quick-start.md * Update specmate-quick-start.md * Update specmate-quick-start.md * Update specmate-quick-start.md * Update specmate-quick-start.md * Update specmate-quick-start.md * Update specmate-quick-start.md * Update specmate-quick-start.md * Update specmate-quick-start.md * Update specmate-quick-start.md * Update specmate-quick-start.md * Update specmate-quick-start.md * Update specmate-quick-start.md * Add: Images for test-case-specification * Update specmate-quick-start.md * Update specmate-quick-start.md * Update specmate-quick-start.md * Update specmate-quick-start.md * Update specmate-quick-start.md * Update specmate-quick-start.md * Update specmate-quick-start.md * Enhace: Crop images * Enhance: Images * Enhance: images * Update specmate-quick-start.md * Update specmate-quick-start.md * Update specmate-quick-start.md * Update specmate-quick-start.md * Update specmate-quick-start.md * Add: Documentation in german * Update specmate-quick-start german.md * Update specmate-quick-start.md * Update specmate-quick-start.md * Update specmate-quick-start german.md * Update specmate-quick-start.md * Update specmate-quick-start german.md * Update specmate-quick-start german.md * Update specmate-quick-start german.md * Update specmate-quick-start german.md * Update specmate-quick-start german.md * Update specmate-quick-start german.md * Update specmate-quick-start german.md * Update specmate-quick-start german.md * Update specmate-quick-start german.md * Update specmate-quick-start german.md * Update specmate-quick-start.md * Update specmate-quick-start.md hightlight code blocks * Update specmate-quick-start german.md * Update specmate-quick-start.md * Text can now be truncated at arbitrary separators (#355) * Validator view (#334) * Added validation cache. * Added a new Error/ Warnings section. Moved old warnings there. * Select involved elements on click. * - Improved error message from name validator (#362) - improved error handling in dummy data * fix: text cases consistent per default * fix bug that prevents testspecs and processes from being duplicated -make TestSpecification and Process inherit from ISpecmateModelObject * previous solution led to compile error in ui, hence a different solution * fixes bug that causes the trace-link side-panel not to be shown when selecting a process step * Informative error responses (#346) * Preparation in backend to provide better error messages in frontend * Simplification * Streamlining semantics for exceptions SpecmateException shall be used for internal errors that are logged and not exposed to clients. SpecmateValidationException shall be used for errors caused by invalid data from the client; information about the reason for the error shall be exposed to the client (as long as security is not affected). * Missed an instance of deleted exception * Propagated new exception design to specmate * tested the wrong object * Session lookup errors are internal * Enum generator for typescript * Generated typescript enums * Use int for HTTP status code as that allows <> comparisons * ... and regenerate ts * Better numbering of error codes * Update error codes in front-end * Removed unnecessary comment * RestClient returns entity If we get another HTTP status code than 200, we still want to look at the message body as that may contain a problem description object. * Tests for client errors * Another auth test * Helper function to determine whether an error is caused by client or internal * Run new tests... * Fix typo * Specify if a folder is a library or not (#352) * Folders have now the attribute isLibrary. The migrator marks all top-level library folders from projects defined in the configuration as libraries * Identify library folders * Consistent naming of boolean attributes * Update naming * Update naming * Test-data needs to be configured such that library folders are considered * Add robustness in case of missing configuration * Library folder fix Fixed acceptance criterion 5 from https://trello.com/c/DT33S5Cr/253-bibliothek-top-level-ordner-%C3%BCber-projektkonfiguration-beschreiben * Fix integration test which did not know about the new attribute * Correct dummy data * Added missing names to objects which triggered the validator * Use project id rather than name Refactored variables names to reflect what we are actually handling: project ids rather than project names. * Fix migrator to consider the correct folders The migrator checks now the parent folder (project) of a library folder and only marks those folders as library folders that are currently configured as such in the project(s). * Update tests * Update specmate-quick-start german.md * Add: German images * Update specmate-quick-start german.md * Update specmate-quick-start german.md * Update specmate-quick-start german.md * Update specmate-quick-start.md * Update specmate-quick-start german.md * Remove: Unused image * Update specmate-quick-start.md * Update specmate-quick-start german.md * Update specmate-quick-start german.md * Update specmate-quick-start german.md small corrections * fix bug where CEGNodes are found by search after a change to the node (#363) * Update specmate-quick-start.md * Update specmate-quick-start german.md * Update specmate-quick-start german.md * Update specmate-quick-start.md * Update specmate-quick-start.md * Update specmate-quick-start german.md * Update specmate-quick-start german.md * Update specmate-quick-start german.md * Update specmate-quick-start german.md * Update specmate-quick-start german.md * Update specmate-quick-start german.md * Validator test fix (#368) * Adding toplevelvalidator to default validators This required adaption of crud tests as they violated some assumptions, i.e. that clients cannot change top-level folders in projects * Adapt search test * TopLevelValidator detects library deletion * Adapt test to new default folder structure for integration tests * Adapt ProjectConfigServiceTest to default integration test setup * Adapt SearchTest to default folder structure of integration tests * Fix runtime dependencies * Load jira details (#377) * pull jira dependencies that are osgi-bundles into local library * wip: jira load details with cache * wip * jira connector loads jira stories live and caches * fix tests * fix integration test * remove cdo bundles * fix: jira-connector not enabled in prod-specmate-all configuration * version bump * workaround for bug where deletetion of large models is not possible (#379) * workaround for bug where deletetion of large models is not possible * fix formating * Update specmate-quick-start.md * Update specmate-quick-start german.md * update prod run config --- .../cdo/internal/TransactionImpl.java | 33 +- .../specmate-std-env/prod-specmate-all.bndrun | 378 +++++++++--------- documentation/specmate-quick-start german.md | 4 +- documentation/specmate-quick-start.md | 4 +- 4 files changed, 214 insertions(+), 205 deletions(-) diff --git a/bundles/specmate-persistency-cdo/src/com/specmate/persistency/cdo/internal/TransactionImpl.java b/bundles/specmate-persistency-cdo/src/com/specmate/persistency/cdo/internal/TransactionImpl.java index cdef29fb3..8bd4a4fdb 100644 --- a/bundles/specmate-persistency-cdo/src/com/specmate/persistency/cdo/internal/TransactionImpl.java +++ b/bundles/specmate-persistency-cdo/src/com/specmate/persistency/cdo/internal/TransactionImpl.java @@ -61,15 +61,15 @@ public TransactionImpl(CDOPersistencyService persistency, CDOTransaction transac this.transaction = transaction; this.logService = logService; this.statusService = statusService; - this.changeListeners = listeners; - - this.validators = new ArrayList<>(); - this.validators.add(new IDValidator()); - this.validators.add(new NameValidator()); - this.validators.add(new TextLengthValidator()); - this.validators.add(new ConnectionValidator()); - this.validators.add(new TopLevelValidator()); - this.validatorsEnabled = true; + changeListeners = listeners; + + validators = new ArrayList<>(); + validators.add(new IDValidator()); + validators.add(new NameValidator()); + validators.add(new TextLengthValidator()); + validators.add(new ConnectionValidator()); + validators.add(new TopLevelValidator()); + validatorsEnabled = true; } @Override @@ -160,7 +160,10 @@ private void setMetadata(T object, List detachedObjects) { comment.append(extractDeletedObjects(detachedObjects)); } - transaction.setCommitComment(comment.toString()); + // FIXME: Workaround as CDO creates comment field with length 255 + if (comment.length() <= 255) { + transaction.setCommitComment(comment.toString()); + } } private String extractUserName(T object) { @@ -272,7 +275,7 @@ public void rollback() { @Override public List query(String queryString, Object context) { - CDOQuery cdoQuery = this.transaction.createQuery("ocl", queryString, context); + CDOQuery cdoQuery = transaction.createQuery("ocl", queryString, context); return cdoQuery.getResult(); } @@ -288,12 +291,12 @@ public void update(CDOTransaction transaction) { @Override public void addValidator(IChangeListener v) { - this.validators.add(v); + validators.add(v); } @Override public void removeValidator(String clazz) { - Iterator it = this.validators.iterator(); + Iterator it = validators.iterator(); while (it.hasNext()) { IChangeListener v = it.next(); if (v.getClass().getName().equals(clazz)) { @@ -304,11 +307,11 @@ public void removeValidator(String clazz) { @Override public void clearValidators() { - this.validators.clear(); + validators.clear(); } @Override public void enableValidators(boolean enable) { - this.validatorsEnabled = enable; + validatorsEnabled = enable; } } diff --git a/bundles/specmate-std-env/prod-specmate-all.bndrun b/bundles/specmate-std-env/prod-specmate-all.bndrun index 434ede368..b81503827 100644 --- a/bundles/specmate-std-env/prod-specmate-all.bndrun +++ b/bundles/specmate-std-env/prod-specmate-all.bndrun @@ -1,191 +1,201 @@ -runfw: org.eclipse.osgi;version='[3.10.2.v20150203-1939,3.10.2.v20150203-1939]' -runee: JavaSE-1.8 --runrequires: \ - osgi.identity;filter:='(osgi.identity=specmate-cdo-server)',\ - osgi.identity;filter:='(osgi.identity=org.glassfish.hk2.locator)',\ - osgi.identity;filter:='(osgi.identity=org.eclipse.equinox.log)',\ - osgi.identity;filter:='(osgi.identity=jul.to.slf4j)',\ - osgi.identity;filter:='(osgi.identity=log4j.over.slf4j)',\ - osgi.identity;filter:='(osgi.identity=specmate-common)',\ - osgi.identity;filter:='(osgi.identity=specmate-emfjson)',\ - osgi.identity;filter:='(osgi.identity=specmate-logging)',\ - osgi.identity;filter:='(osgi.identity=specmate-logging-slf4j)',\ - osgi.identity;filter:='(osgi.identity=specmate-logging-slf4j-julbridge)',\ - osgi.identity;filter:='(osgi.identity=specmate-persistency-api)',\ - osgi.identity;filter:='(osgi.identity=org.glassfish.jersey.containers.jersey-container-servlet)',\ - osgi.identity;filter:='(osgi.identity=org.eclipse.equinox.event)',\ - osgi.identity;filter:='(osgi.identity=specmate-emfrest)',\ - osgi.identity;filter:='(osgi.identity=specmate-model-gen)',\ - osgi.identity;filter:='(osgi.identity=org.eclipse.equinox.cm)',\ - osgi.identity;filter:='(osgi.identity=org.eclipse.equinox.metatype)',\ - osgi.identity;filter:='(osgi.identity=specmate-model-support)',\ - osgi.identity;filter:='(osgi.identity=specmate-ui-core)',\ - osgi.identity;filter:='(osgi.identity=specmate-config)',\ - osgi.identity;filter:='(osgi.identity=specmate-connectors)',\ - osgi.identity;filter:='(osgi.identity=specmate-testspecification)',\ - osgi.identity;filter:='(osgi.identity=specmate-hp-connector)',\ - osgi.identity;filter:='(osgi.identity=org.apache.felix.scr)',\ - osgi.identity;filter:='(&(osgi.identity=org.eclipse.jetty.osgi.boot)(version>=9.4.6))',\ - osgi.identity;filter:='(osgi.identity=org.eclipse.jetty.osgi.httpservice)',\ - osgi.identity;filter:='(osgi.identity=org.eclipse.jetty.rewrite)',\ - osgi.identity;filter:='(osgi.identity=specmate-jettystarter)',\ - osgi.identity;filter:='(osgi.identity=org.eclipse.emf.cdo.server.ocl)',\ - osgi.identity;filter:='(osgi.identity=org.json)',\ - osgi.identity;filter:='(osgi.identity=specmate-file-connector)',\ - osgi.identity;filter:='(osgi.identity=specmate-search)',\ - osgi.identity;filter:='(osgi.identity=specmate-migration)',\ - osgi.identity;filter:='(osgi.identity=specmate-persistency-cdo)',\ - osgi.identity;filter:='(osgi.identity=specmate-administration)',\ - osgi.identity;filter:='(osgi.identity=org.apache.commons.fileupload)',\ - osgi.identity;filter:='(osgi.identity=specmate-trello-connector)',\ - osgi.identity;filter:='(osgi.identity=specmate-auth-api)',\ - osgi.identity;filter:='(osgi.identity=specmate-auth)',\ - osgi.identity;filter:='(osgi.identity=specmate-dbprovider-api)',\ - osgi.identity;filter:='(osgi.identity=specmate-dbprovider-h2)',\ +-runrequires: \ + osgi.identity;filter:='(osgi.identity=specmate-cdo-server)',\ + osgi.identity;filter:='(osgi.identity=org.glassfish.hk2.locator)',\ + osgi.identity;filter:='(osgi.identity=org.eclipse.equinox.log)',\ + osgi.identity;filter:='(osgi.identity=jul.to.slf4j)',\ + osgi.identity;filter:='(osgi.identity=log4j.over.slf4j)',\ + osgi.identity;filter:='(osgi.identity=specmate-common)',\ + osgi.identity;filter:='(osgi.identity=specmate-emfjson)',\ + osgi.identity;filter:='(osgi.identity=specmate-logging)',\ + osgi.identity;filter:='(osgi.identity=specmate-logging-slf4j)',\ + osgi.identity;filter:='(osgi.identity=specmate-logging-slf4j-julbridge)',\ + osgi.identity;filter:='(osgi.identity=specmate-persistency-api)',\ + osgi.identity;filter:='(osgi.identity=org.glassfish.jersey.containers.jersey-container-servlet)',\ + osgi.identity;filter:='(osgi.identity=org.eclipse.equinox.event)',\ + osgi.identity;filter:='(osgi.identity=specmate-emfrest)',\ + osgi.identity;filter:='(osgi.identity=specmate-model-gen)',\ + osgi.identity;filter:='(osgi.identity=org.eclipse.equinox.cm)',\ + osgi.identity;filter:='(osgi.identity=org.eclipse.equinox.metatype)',\ + osgi.identity;filter:='(osgi.identity=specmate-model-support)',\ + osgi.identity;filter:='(osgi.identity=specmate-ui-core)',\ + osgi.identity;filter:='(osgi.identity=specmate-config)',\ + osgi.identity;filter:='(osgi.identity=specmate-connectors)',\ + osgi.identity;filter:='(osgi.identity=specmate-testspecification)',\ + osgi.identity;filter:='(osgi.identity=specmate-hp-connector)',\ + osgi.identity;filter:='(osgi.identity=org.apache.felix.scr)',\ + osgi.identity;filter:='(&(osgi.identity=org.eclipse.jetty.osgi.boot)(version>=9.4.6))',\ + osgi.identity;filter:='(osgi.identity=org.eclipse.jetty.osgi.httpservice)',\ + osgi.identity;filter:='(osgi.identity=org.eclipse.jetty.rewrite)',\ + osgi.identity;filter:='(osgi.identity=specmate-jettystarter)',\ + osgi.identity;filter:='(osgi.identity=org.eclipse.emf.cdo.server.ocl)',\ + osgi.identity;filter:='(osgi.identity=org.json)',\ + osgi.identity;filter:='(osgi.identity=specmate-file-connector)',\ + osgi.identity;filter:='(osgi.identity=specmate-search)',\ + osgi.identity;filter:='(osgi.identity=specmate-migration)',\ + osgi.identity;filter:='(osgi.identity=specmate-persistency-cdo)',\ + osgi.identity;filter:='(osgi.identity=specmate-administration)',\ + osgi.identity;filter:='(osgi.identity=org.apache.commons.fileupload)',\ + osgi.identity;filter:='(osgi.identity=specmate-trello-connector)',\ + osgi.identity;filter:='(osgi.identity=specmate-auth-api)',\ + osgi.identity;filter:='(osgi.identity=specmate-auth)',\ + osgi.identity;filter:='(osgi.identity=specmate-dbprovider-api)',\ + osgi.identity;filter:='(osgi.identity=specmate-dbprovider-h2)',\ bnd.identity;id='specmate-jira-connector' --runbundles: \ - javassist;version='[3.18.1,3.18.2)',\ - javax.annotation-api;version='[1.2.0,1.2.1)',\ - javax.validation.api;version='[1.1.0,1.1.1)',\ - javax.ws.rs-api;version='[2.0.1,2.0.2)',\ - jul.to.slf4j;version='[1.7.12,1.7.13)',\ - log4j.over.slf4j;version='[1.7.12,1.7.13)',\ - org.eclipse.core.contenttype;version='[3.4.200,3.4.201)',\ - org.eclipse.core.jobs;version='[3.6.1,3.6.2)',\ - org.eclipse.core.runtime;version='[3.10.0,3.10.1)',\ - org.eclipse.emf.ecore.change;version='[2.11.0,2.11.1)',\ - org.eclipse.equinox.app;version='[1.3.200,1.3.201)',\ - org.eclipse.equinox.cm;version='[1.1.0,1.1.1)',\ - org.eclipse.equinox.common;version='[3.6.200,3.6.201)',\ - org.eclipse.equinox.event;version='[1.3.100,1.3.101)',\ - org.eclipse.equinox.log;version='[1.2.300,1.2.301)',\ - org.eclipse.equinox.metatype;version='[1.4.0,1.4.1)',\ - org.eclipse.equinox.preferences;version='[3.5.200,3.5.201)',\ - org.eclipse.equinox.registry;version='[3.5.400,3.5.401)',\ - org.eclipse.osgi.services;version='[3.4.0,3.4.1)',\ - org.glassfish.hk2.api;version='[2.4.0,2.4.1)',\ - org.glassfish.hk2.external.aopalliance-repackaged;version='[2.4.0,2.4.1)',\ - org.glassfish.hk2.external.javax.inject;version='[2.4.0,2.4.1)',\ - org.glassfish.hk2.locator;version='[2.4.0,2.4.1)',\ - org.glassfish.hk2.osgi-resource-locator;version='[1.0.1,1.0.2)',\ - org.glassfish.hk2.utils;version='[2.4.0,2.4.1)',\ - org.glassfish.jersey.bundles.repackaged.jersey-guava;version='[2.17.0,2.17.1)',\ - org.glassfish.jersey.containers.jersey-container-servlet;version='[2.17.0,2.17.1)',\ - org.glassfish.jersey.containers.jersey-container-servlet-core;version='[2.17.0,2.17.1)',\ - org.glassfish.jersey.core.jersey-client;version='[2.17.0,2.17.1)',\ - org.glassfish.jersey.core.jersey-common;version='[2.17.0,2.17.1)',\ - org.glassfish.jersey.core.jersey-server;version='[2.17.0,2.17.1)',\ - org.glassfish.jersey.media.jersey-media-sse;version='[2.17.0,2.17.1)',\ - org.json;version=snapshot,\ - org.slf4j.api;version='[1.7.2,1.7.3)',\ - specmate-common;version=snapshot,\ - specmate-emfjson;version=snapshot,\ - specmate-emfrest;version=snapshot,\ - specmate-logging;version=snapshot,\ - specmate-logging-slf4j;version=snapshot,\ - specmate-logging-slf4j-julbridge;version=snapshot,\ - specmate-model-gen;version=snapshot,\ - specmate-persistency-api;version=snapshot,\ - specmate-persistency-cdo;version=snapshot,\ - specmate-model-support;version=snapshot,\ - specmate-ui-core;version=snapshot,\ - specmate-config;version=snapshot,\ - specmate-connectors;version=snapshot,\ - org.eclipse.emf.cdo;version='[4.5.0,4.5.1)',\ - org.eclipse.emf.cdo.common;version='[4.5.0,4.5.1)',\ - org.eclipse.emf.cdo.ecore.retrofit;version='[4.2.300,4.2.301)',\ - org.eclipse.emf.cdo.net4j;version='[4.1.400,4.1.401)',\ - org.eclipse.emf.cdo.server;version='[4.5.0,4.5.1)',\ - org.eclipse.emf.cdo.server.net4j;version='[4.1.300,4.1.301)',\ - org.eclipse.emf.common;version='[2.12.0,2.12.1)',\ - org.eclipse.emf.ecore;version='[2.12.0,2.12.1)',\ - org.eclipse.emf.ecore.xmi;version='[2.12.0,2.12.1)',\ - org.eclipse.net4j;version='[4.5.0,4.5.1)',\ - org.eclipse.net4j.tcp;version='[4.1.400,4.1.401)',\ - org.eclipse.net4j.util;version='[3.6.0,3.6.1)',\ - com.google.guava;version='[21.0.0,21.0.1)',\ - specmate-hp-connector;version=snapshot,\ - specmate-testspecification;version=snapshot,\ - org.apache.felix.scr;version='[2.0.8,2.0.9)',\ - org.apache.commons.fileupload;version='[1.3.1,1.3.2)',\ - org.apache.commons.io;version='[2.4.0,2.4.1)',\ - org.eclipse.equinox.http.servlet;version='[1.1.500,1.1.501)',\ - org.eclipse.jetty.deploy;version='[9.4.6,9.4.7)',\ - org.eclipse.jetty.http;version='[9.4.6,9.4.7)',\ - org.eclipse.jetty.io;version='[9.4.6,9.4.7)',\ - org.eclipse.jetty.osgi-servlet-api;version='[3.1.0,3.1.1)',\ - org.eclipse.jetty.osgi.boot;version='[9.4.6,9.4.7)',\ - org.eclipse.jetty.osgi.httpservice;version='[9.4.6,9.4.7)',\ - org.eclipse.jetty.rewrite;version='[9.4.6,9.4.7)',\ - org.eclipse.jetty.security;version='[9.4.6,9.4.7)',\ - org.eclipse.jetty.server;version='[9.4.6,9.4.7)',\ - org.eclipse.jetty.servlet;version='[9.4.6,9.4.7)',\ - org.eclipse.jetty.util;version='[9.4.6,9.4.7)',\ - org.eclipse.jetty.webapp;version='[9.4.6,9.4.7)',\ - org.eclipse.jetty.xml;version='[9.4.6,9.4.7)',\ - org.eclipse.equinox.http.jetty;version='[3.0.200,3.0.201)',\ - org.eclipse.jetty.continuation;version='[8.1.16,8.1.17)',\ - org.eclipse.jetty.http;version='[8.1.16,8.1.17)',\ - org.eclipse.jetty.io;version='[8.1.16,8.1.17)',\ - org.eclipse.jetty.security;version='[8.1.16,8.1.17)',\ - org.eclipse.jetty.server;version='[8.1.16,8.1.17)',\ - org.eclipse.jetty.servlet;version='[8.1.16,8.1.17)',\ - org.eclipse.jetty.util;version='[8.1.16,8.1.17)',\ - specmate-jettystarter;version=snapshot,\ - lpg.runtime.java;version='[2.0.17,2.0.18)',\ - org.eclipse.emf.cdo.server.ocl;version='[4.2.100,4.2.101)',\ - org.eclipse.ocl;version='[3.6.200,3.6.201)',\ - org.eclipse.ocl.common;version='[1.4.200,1.4.201)',\ - org.eclipse.ocl.ecore;version='[3.6.200,3.6.201)',\ - org.sat4j.core;version='[2.3.5,2.3.6)',\ - org.jgrapht.core;version='[1.0.1,1.0.2)',\ - org.apache.commons.cli;version='[1.4.0,1.4.1)',\ - org.sat4j.maxsat;version='[2.3.5,2.3.6)',\ - org.sat4j.pb;version='[2.3.5,2.3.6)',\ - specmate-file-connector;version=snapshot,\ - org.apache.servicemix.bundles.jakarta-regexp;version='[1.4.0,1.4.1)',\ - org.apache.servicemix.bundles.lucene;version='[7.2.0,7.2.1)',\ - org.apache.servicemix.bundles.lucene-queries;version='[7.2.0,7.2.1)',\ - org.apache.servicemix.bundles.lucene-queryparser;version='[7.2.0,7.2.1)',\ - org.apache.servicemix.bundles.lucene-sandbox;version='[7.2.0,7.2.1)',\ - specmate-search;version=snapshot,\ - specmate-migration;version=snapshot,\ - specmate-administration;version=snapshot,\ - specmate-emfrest-api;version=snapshot,\ - specmate-trello-connector;version=snapshot,\ - specmate-auth-api;version=snapshot,\ - specmate-auth;version=snapshot,\ - specmate-dbprovider-api;version=snapshot,\ - org.eclipse.net4j.db;version='[4.5.0,4.5.1)',\ - org.eclipse.net4j.db.jdbc;version='[4.3.100,4.3.101)',\ - org.eclipse.net4j.db.h2;version='[4.2.300,4.2.301)',\ - specmate-dbprovider-h2;version=snapshot,\ - specmate-config-api;version=snapshot,\ - com.diffplug.osgi.extension.sun.misc;version='[0.0.0,0.0.1)',\ - io.prometheus.simpleclient;version='[0.4.0,0.4.1)',\ - io.prometheus.simpleclient_common;version='[0.4.0,0.4.1)',\ - io.prometheus.simpleclient_servlet;version='[0.4.0,0.4.1)',\ - specmate-metrics;version=snapshot,\ - io.prometheus.simpleclient_hotspot;version='[0.4.0,0.4.1)',\ - org.h2;version='[1.3.168,1.3.169)',\ - specmate-cdo-server;version=snapshot,\ - org.eclipse.emf.cdo.server.db;version='[4.4.0,4.4.1)',\ - specmate-rest;version=snapshot,\ - specmate-scheduler;version=snapshot,\ - com.sun.jersey.core;version='[1.19.0,1.19.1)',\ - com.sun.jersey.jersey-server;version='[1.19.0,1.19.1)',\ - javax.el;version='[2.2.0,2.2.1)',\ - javax.ws.rs.jsr311-api;version='[1.1.1,1.1.2)',\ - specmate-jira-connector;version=snapshot,\ - com.google.guava;version='[18.0.0,18.0.1)',\ - org.apache.commons.lang3;version='[3.5.0,3.5.1)',\ - slf4j.api;version='[1.7.25,1.7.26)' +-runbundles: \ + javassist;version='[3.18.1,3.18.2)',\ + javax.annotation-api;version='[1.2.0,1.2.1)',\ + javax.validation.api;version='[1.1.0,1.1.1)',\ + javax.ws.rs-api;version='[2.0.1,2.0.2)',\ + jul.to.slf4j;version='[1.7.12,1.7.13)',\ + log4j.over.slf4j;version='[1.7.12,1.7.13)',\ + org.eclipse.core.contenttype;version='[3.4.200,3.4.201)',\ + org.eclipse.core.jobs;version='[3.6.1,3.6.2)',\ + org.eclipse.core.runtime;version='[3.10.0,3.10.1)',\ + org.eclipse.emf.ecore.change;version='[2.11.0,2.11.1)',\ + org.eclipse.equinox.app;version='[1.3.200,1.3.201)',\ + org.eclipse.equinox.cm;version='[1.1.0,1.1.1)',\ + org.eclipse.equinox.common;version='[3.6.200,3.6.201)',\ + org.eclipse.equinox.event;version='[1.3.100,1.3.101)',\ + org.eclipse.equinox.log;version='[1.2.300,1.2.301)',\ + org.eclipse.equinox.metatype;version='[1.4.0,1.4.1)',\ + org.eclipse.equinox.preferences;version='[3.5.200,3.5.201)',\ + org.eclipse.equinox.registry;version='[3.5.400,3.5.401)',\ + org.eclipse.osgi.services;version='[3.4.0,3.4.1)',\ + org.glassfish.hk2.api;version='[2.4.0,2.4.1)',\ + org.glassfish.hk2.external.aopalliance-repackaged;version='[2.4.0,2.4.1)',\ + org.glassfish.hk2.external.javax.inject;version='[2.4.0,2.4.1)',\ + org.glassfish.hk2.locator;version='[2.4.0,2.4.1)',\ + org.glassfish.hk2.osgi-resource-locator;version='[1.0.1,1.0.2)',\ + org.glassfish.hk2.utils;version='[2.4.0,2.4.1)',\ + org.glassfish.jersey.bundles.repackaged.jersey-guava;version='[2.17.0,2.17.1)',\ + org.glassfish.jersey.containers.jersey-container-servlet;version='[2.17.0,2.17.1)',\ + org.glassfish.jersey.containers.jersey-container-servlet-core;version='[2.17.0,2.17.1)',\ + org.glassfish.jersey.core.jersey-client;version='[2.17.0,2.17.1)',\ + org.glassfish.jersey.core.jersey-common;version='[2.17.0,2.17.1)',\ + org.glassfish.jersey.core.jersey-server;version='[2.17.0,2.17.1)',\ + org.glassfish.jersey.media.jersey-media-sse;version='[2.17.0,2.17.1)',\ + org.json;version=snapshot,\ + org.slf4j.api;version='[1.7.2,1.7.3)',\ + specmate-common;version=snapshot,\ + specmate-emfjson;version=snapshot,\ + specmate-emfrest;version=snapshot,\ + specmate-logging;version=snapshot,\ + specmate-logging-slf4j;version=snapshot,\ + specmate-logging-slf4j-julbridge;version=snapshot,\ + specmate-model-gen;version=snapshot,\ + specmate-persistency-api;version=snapshot,\ + specmate-persistency-cdo;version=snapshot,\ + specmate-model-support;version=snapshot,\ + specmate-ui-core;version=snapshot,\ + specmate-config;version=snapshot,\ + specmate-connectors;version=snapshot,\ + org.eclipse.emf.cdo;version='[4.5.0,4.5.1)',\ + org.eclipse.emf.cdo.common;version='[4.5.0,4.5.1)',\ + org.eclipse.emf.cdo.ecore.retrofit;version='[4.2.300,4.2.301)',\ + org.eclipse.emf.cdo.net4j;version='[4.1.400,4.1.401)',\ + org.eclipse.emf.cdo.server;version='[4.5.0,4.5.1)',\ + org.eclipse.emf.cdo.server.net4j;version='[4.1.300,4.1.301)',\ + org.eclipse.emf.common;version='[2.12.0,2.12.1)',\ + org.eclipse.emf.ecore;version='[2.12.0,2.12.1)',\ + org.eclipse.emf.ecore.xmi;version='[2.12.0,2.12.1)',\ + org.eclipse.net4j;version='[4.5.0,4.5.1)',\ + org.eclipse.net4j.tcp;version='[4.1.400,4.1.401)',\ + org.eclipse.net4j.util;version='[3.6.0,3.6.1)',\ + com.google.guava;version='[21.0.0,21.0.1)',\ + specmate-hp-connector;version=snapshot,\ + specmate-testspecification;version=snapshot,\ + org.apache.felix.scr;version='[2.0.8,2.0.9)',\ + org.apache.commons.fileupload;version='[1.3.1,1.3.2)',\ + org.apache.commons.io;version='[2.4.0,2.4.1)',\ + org.eclipse.equinox.http.servlet;version='[1.1.500,1.1.501)',\ + org.eclipse.jetty.deploy;version='[9.4.6,9.4.7)',\ + org.eclipse.jetty.http;version='[9.4.6,9.4.7)',\ + org.eclipse.jetty.io;version='[9.4.6,9.4.7)',\ + org.eclipse.jetty.osgi-servlet-api;version='[3.1.0,3.1.1)',\ + org.eclipse.jetty.osgi.boot;version='[9.4.6,9.4.7)',\ + org.eclipse.jetty.osgi.httpservice;version='[9.4.6,9.4.7)',\ + org.eclipse.jetty.rewrite;version='[9.4.6,9.4.7)',\ + org.eclipse.jetty.security;version='[9.4.6,9.4.7)',\ + org.eclipse.jetty.server;version='[9.4.6,9.4.7)',\ + org.eclipse.jetty.servlet;version='[9.4.6,9.4.7)',\ + org.eclipse.jetty.util;version='[9.4.6,9.4.7)',\ + org.eclipse.jetty.webapp;version='[9.4.6,9.4.7)',\ + org.eclipse.jetty.xml;version='[9.4.6,9.4.7)',\ + org.eclipse.equinox.http.jetty;version='[3.0.200,3.0.201)',\ + org.eclipse.jetty.continuation;version='[8.1.16,8.1.17)',\ + org.eclipse.jetty.http;version='[8.1.16,8.1.17)',\ + org.eclipse.jetty.io;version='[8.1.16,8.1.17)',\ + org.eclipse.jetty.security;version='[8.1.16,8.1.17)',\ + org.eclipse.jetty.server;version='[8.1.16,8.1.17)',\ + org.eclipse.jetty.servlet;version='[8.1.16,8.1.17)',\ + org.eclipse.jetty.util;version='[8.1.16,8.1.17)',\ + specmate-jettystarter;version=snapshot,\ + lpg.runtime.java;version='[2.0.17,2.0.18)',\ + org.eclipse.emf.cdo.server.ocl;version='[4.2.100,4.2.101)',\ + org.eclipse.ocl;version='[3.6.200,3.6.201)',\ + org.eclipse.ocl.common;version='[1.4.200,1.4.201)',\ + org.eclipse.ocl.ecore;version='[3.6.200,3.6.201)',\ + org.sat4j.core;version='[2.3.5,2.3.6)',\ + org.jgrapht.core;version='[1.0.1,1.0.2)',\ + org.apache.commons.cli;version='[1.4.0,1.4.1)',\ + org.sat4j.maxsat;version='[2.3.5,2.3.6)',\ + org.sat4j.pb;version='[2.3.5,2.3.6)',\ + specmate-file-connector;version=snapshot,\ + org.apache.servicemix.bundles.jakarta-regexp;version='[1.4.0,1.4.1)',\ + org.apache.servicemix.bundles.lucene;version='[7.2.0,7.2.1)',\ + org.apache.servicemix.bundles.lucene-queries;version='[7.2.0,7.2.1)',\ + org.apache.servicemix.bundles.lucene-queryparser;version='[7.2.0,7.2.1)',\ + org.apache.servicemix.bundles.lucene-sandbox;version='[7.2.0,7.2.1)',\ + specmate-search;version=snapshot,\ + specmate-migration;version=snapshot,\ + specmate-administration;version=snapshot,\ + specmate-emfrest-api;version=snapshot,\ + specmate-trello-connector;version=snapshot,\ + specmate-auth-api;version=snapshot,\ + specmate-auth;version=snapshot,\ + specmate-dbprovider-api;version=snapshot,\ + org.eclipse.net4j.db;version='[4.5.0,4.5.1)',\ + org.eclipse.net4j.db.jdbc;version='[4.3.100,4.3.101)',\ + org.eclipse.net4j.db.h2;version='[4.2.300,4.2.301)',\ + specmate-dbprovider-h2;version=snapshot,\ + specmate-config-api;version=snapshot,\ + com.diffplug.osgi.extension.sun.misc;version='[0.0.0,0.0.1)',\ + io.prometheus.simpleclient;version='[0.4.0,0.4.1)',\ + io.prometheus.simpleclient_common;version='[0.4.0,0.4.1)',\ + io.prometheus.simpleclient_servlet;version='[0.4.0,0.4.1)',\ + specmate-metrics;version=snapshot,\ + io.prometheus.simpleclient_hotspot;version='[0.4.0,0.4.1)',\ + org.h2;version='[1.3.168,1.3.169)',\ + specmate-cdo-server;version=snapshot,\ + org.eclipse.emf.cdo.server.db;version='[4.4.0,4.4.1)',\ + specmate-rest;version=snapshot,\ + specmate-scheduler;version=snapshot,\ + specmate-jira-connector;version=snapshot,\ + com.google.guava;version='[18.0.0,18.0.1)',\ + org.apache.commons.lang3;version='[3.5.0,3.5.1)',\ + slf4j.api;version='[1.7.25,1.7.26)',\ + com.atlassian.fugue;version='[2.7.0,2.7.1)',\ + com.atlassian.sal.api;version='[3.0.7,3.0.8)',\ + com.atlassian.util.concurrent.atlassian-util-concurrent;version='[3.0.0,3.0.1)',\ + joda-time;version='[2.9.9,2.9.10)',\ + org.apache.commons.codec;version='[1.10.0,1.10.1)',\ + org.apache.commons.logging;version='[1.1.1,1.1.2)',\ + org.apache.httpcomponents.httpasyncclient;version='[4.1.3,4.1.4)',\ + org.apache.httpcomponents.httpclient;version='[4.5.3,4.5.4)',\ + org.apache.httpcomponents.httpcore;version='[4.4.6,4.4.7)',\ + org.apache.servicemix.bundles.jcip-annotations;version='[1.0.0,1.0.1)',\ + org.apache.servicemix.bundles.spring-beans;version='[4.1.7,4.1.8)',\ + org.apache.servicemix.bundles.spring-core;version='[4.1.7,4.1.8)',\ + org.codehaus.jettison.jettison;version='[1.1.0,1.1.1)' --runproperties: \ - jetty.http.port=8080,\ - osgi.console=,\ - jetty.home.bundle=specmate-jettystarter,\ - jetty.etc.config.urls='etc/jetty.xml,etc/jetty-http.xml,etc/jetty-deployer.xml,etc/jetty-rewrite.xml',\ + +-runproperties: \ + jetty.http.port=8080,\ + osgi.console=,\ + jetty.home.bundle=specmate-jettystarter,\ + jetty.etc.config.urls='etc/jetty.xml,etc/jetty-http.xml,etc/jetty-deployer.xml,etc/jetty-rewrite.xml',\ osgi.compatibility.bootdelegation=true -runrepos: \ Workspace,\ diff --git a/documentation/specmate-quick-start german.md b/documentation/specmate-quick-start german.md index 3dbb379a6..4379320f3 100644 --- a/documentation/specmate-quick-start german.md +++ b/documentation/specmate-quick-start german.md @@ -26,9 +26,7 @@ - Besorgen Sie sich die neueste Version von Specmate auf der Download-Seite. -- Entpacken Sie Specmate in einen Ordner Ihrer Wahl. - -- Unter Windows führen Sie start.bat aus, unter Linux/Mac führen Sie start.sh aus. +- Führen Sie java -jar prod-specmate-all.jar --configurationFile /pfad/zur/config/datei aus ## Konfiguration Specmate wird über die Datei specmate-config.properties konfiguriert. Eine Beispiel-Konfigurationsdatei erhalten Sie [hier](https://github.com/junkerm/specmate/blob/develop/bundles/specmate-config/config/specmate-config.properties). diff --git a/documentation/specmate-quick-start.md b/documentation/specmate-quick-start.md index 7e5e2fe5d..8e6962000 100644 --- a/documentation/specmate-quick-start.md +++ b/documentation/specmate-quick-start.md @@ -26,9 +26,7 @@ - Obtain the latest Specmate relase from the download page. -- Unzip Specmate to a folder of your choice. - -- On Windows run start.bat, on Linux/Mac run start.sh +- run java -jar prod-specmate-all.jar --configurationFile /path/to/config/file ## Configuration Specmate is configured via the file specmate-config.properties. You can obtain a sample configuration file from [here](https://github.com/junkerm/specmate/blob/develop/bundles/specmate-config/config/specmate-config.properties).