Skip to content
This repository has been archived by the owner on Mar 2, 2020. It is now read-only.

Commit

Permalink
version 0.2.11 (#381)
Browse files Browse the repository at this point in the history
* 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
  • Loading branch information
junkerm authored Jan 30, 2019
1 parent 3b3807b commit 297743b
Show file tree
Hide file tree
Showing 4 changed files with 214 additions and 205 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -160,7 +160,10 @@ private <T> void setMetadata(T object, List<CDOIDAndVersion> 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 <T> String extractUserName(T object) {
Expand Down Expand Up @@ -272,7 +275,7 @@ public void rollback() {

@Override
public List<Object> query(String queryString, Object context) {
CDOQuery cdoQuery = this.transaction.createQuery("ocl", queryString, context);
CDOQuery cdoQuery = transaction.createQuery("ocl", queryString, context);
return cdoQuery.getResult();
}

Expand All @@ -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<IChangeListener> it = this.validators.iterator();
Iterator<IChangeListener> it = validators.iterator();
while (it.hasNext()) {
IChangeListener v = it.next();
if (v.getClass().getName().equals(clazz)) {
Expand All @@ -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;
}
}
Loading

0 comments on commit 297743b

Please sign in to comment.