Commit Graph

43 Commits

Author SHA1 Message Date
Robert von Burg c64421a0d7 moved everything to a subdirectory for repo merge 2014-09-16 08:52:52 +02:00
Robert von Burg 6bc1e21bbe [Bugfix] fixed bad refactoring using wrong parameter for corsOrigin 2014-09-14 17:16:41 +02:00
Robert von Burg 25774e8613 [Bugfix] fixed NPE due to accessing fields instead of parameter 2014-09-14 17:07:03 +02:00
Robert von Burg 17b023be44 [Minor] added message when logging out 2014-09-13 17:17:15 +02:00
Robert von Burg f9b3a8ebe4 [New] added Login and Logout objects 2014-09-13 15:23:25 +02:00
Robert von Burg 21921fbe65 [Minor] Code cleanup 2014-09-13 15:05:25 +02:00
Robert von Burg 56ccdf6593 [New] Added privilege checking for StrolchQueries 2014-09-08 13:36:04 +02:00
Robert von Burg 3e75a01445 [Minor] added certificate validation to VersionQuery 2014-09-05 18:14:58 +02:00
Robert von Burg bffc24f335 [Minor] fixed broken enum query due to missing certificate 2014-09-05 16:22:06 +02:00
Robert von Burg d0a3e89bbd [Project] set version to 1.0.0-SNAPSHOT 2014-08-24 17:24:01 +02:00
Robert von Burg ab54378b66 [New] Implemented opt-in audit trail in Strolch
The audit trail has its own map on the Realm and a trail is written by
realm at the end of the transaction.

You can write your own audit trail using tx.getAuditTrail().

Enable the audit trail by setting the realm configuration value
'enableAuditTrail'.
2014-08-23 20:50:10 +02:00
Robert von Burg 7a88def08a [Project] added resource filtering for componentVersion.properties 2014-08-13 23:37:59 +02:00
Robert von Burg 8287a4a59d [Major] Refactored StrolchConfiguration.xml to use environments
Now the agent requires an environment parameter to start, and the
configuration of that environment is used to load different sections of
the configuration file
2014-08-13 16:06:18 +02:00
Robert von Burg 1139fb1b8f [Minor] Removed unneded code 2014-08-07 16:11:20 +02:00
Robert von Burg 497e3f901e [Minor] fixed broken test 2014-08-07 15:02:48 +02:00
Robert von Burg 5140acdd42 [Major] moved to Jersey 2.11
fixed muliple issues:
- use language passed by client
- test language
- testing for enums
2014-08-07 14:55:04 +02:00
Robert von Burg 61e86deb15 [Bugfix] fixed strolch enum rest api not working 2014-08-07 00:20:12 +02:00
Robert von Burg 1b956fbd45 [Major] cleaned up stupid use of forms for POST and added proper sec
fixed broken tests
2014-08-04 00:41:35 +02:00
Robert von Burg b6828be09b [Major] cleaned up stupid use of forms for POST and added proper sec 2014-08-04 00:24:57 +02:00
Robert von Burg 22ff59c384 [New] Added a new @Provider CharsetResponseFilter to enforce utf-8
This is needed because the JSON returned is UTF-8, but the browsers
don't always pick this up.
2014-06-13 19:50:39 +02:00
Robert von Burg d1206d2293 [Minor] fixed brittle test due to unordered sets 2014-06-13 18:15:48 +02:00
Robert von Burg a7bae4b9f5 [Major] fixed rest unit tests due to changes in jersey 2.7
also had to replace eclipse.persistence with 2.5.1 due to a bug in
namespace resolution.
2014-03-28 22:22:44 +01:00
Robert von Burg 316764a409 [Project] using jersey version 2.7 2014-03-28 19:33:19 +01:00
Robert von Burg 568096063c [New] Added CORS capability as a configuration option
Simply add the property corsEnabled=true and corsOrigin=? to the
configuration properties of the RestfulStrolchComponent and then the
RestFul API should allow cross origin querying
2014-03-19 20:34:52 +01:00
Robert von Burg 3b42dfd805 Merge branch 'master' of git@github.com:eitch/li.strolch.rest.git 2014-03-19 20:28:51 +01:00
Robert von Burg 337f040a3e [New] Added CORS capability as a configuration option
Simply add the property corsEnabled=true and corsOrigin=? to the
configuration properties of the RestfulStrolchComponent and then the
RestFul API should allow cross origin querying
2014-03-19 20:26:01 +01:00
Robert von Burg 3942103d3b [Project] fixed urls of projects 2014-03-14 14:37:02 +01:00
Robert von Burg 4a0e26d05b [New] Implemented locking for Strolch elements
Also cleaned up hierarchy of StrolchTransaction by moving up everything
into AbstractTransaction as made sense and added special delegation
methods for the actual commit() and rollback() ind the concrete
implementations.
2014-02-24 21:49:17 +01:00
Robert von Burg 6de097116f [New] Implemented separate DataStoreMode for each StrolchRealm 2014-02-17 22:08:17 +01:00
Robert von Burg f0aa0093a7 [Minor] fixed compiler warnings 2014-02-13 22:21:56 +01:00
Robert von Burg 5396eb6fec [Minor] fixed broken test 2014-01-28 22:20:04 +01:00
Robert von Burg 6a3510ba75 [Minor] fixed wrong use of test scope dependency 2014-01-28 22:19:48 +01:00
Robert von Burg c59c45a03e [New] Implemented an EnumHandler and RESTful endpoint 2014-01-28 22:07:42 +01:00
Robert von Burg 9c38fc079f [New] Implemented a StrolchSessionHandler with a RESTful auth service 2014-01-27 20:33:09 +01:00
Robert von Burg 100764af2c [Major] changed constructor of StrolchComponent
Should have interface ComponentContainer in constructor
2014-01-25 22:15:24 +01:00
Robert von Burg eebbad2b48 [Project] added Jenkins build badge to README.md 2014-01-23 22:52:48 +01:00
Robert von Burg 3056d5eb95 [New] added version info metadata to agent 2014-01-23 22:01:23 +01:00
Robert von Burg 74525d9e77 [Major] renamed package li.strolch.rest.inspector.model
to li.strolch.rest.mode
2014-01-23 07:34:30 +01:00
Robert von Burg c198a7337e [Bugfix] fixed problem of starting tests due to in-use port 2014-01-22 20:32:43 +01:00
Robert von Burg 495c925094 [New] Added tests for inspector with HTTP request test 2014-01-22 20:19:25 +01:00
Robert von Burg 4a0a0d5001 [New] Added tests for inspector with HTTP request test 2014-01-21 00:21:33 +01:00
Robert von Burg d155a8753b [New] Now the inspector can inspect from Agent to Element overviews
When the strolch restful classes are registered, the following API is
enabled:

strolch/inspector - overview of the realms
strolch/inspector/{realm} - ovierview of the elements in a realm
strolch/inspector/{realm}/order - overview of the orders
strolch/inspector/{realm}/resource - overview of the resources
strolch/inspector/{realm}/resource/{type} - overview of the resource
                                            types
strolch/inspector/{realm}/order/{type} - overview of the order types
strolch/inspector/{realm}/resource/{type}/{id} - get resource overview
strolch/inspector/{realm}/order/{type}/{id} - get an order overview

Getting details of the Resources and Orders is coming next
2014-01-17 12:36:59 +01:00
Robert von Burg 54494a9070 [Initial] Initial import
We have an inspector Rest URL to get an orderview of the order and
resource map
2014-01-15 21:59:24 +01:00