Commit Graph

981 Commits

Author SHA1 Message Date
Robert von Burg 5822c231f0 [Major] Added SAX XML persistence incl. DOM for Activities 2015-07-08 08:21:11 +02:00
Robert von Burg 203013c93d [New] Added migration scripts for Activities as version 0.4.0 2015-07-08 07:51:02 +02:00
Robert von Burg cf004e5577 [Minor] Changed TimeState Type from BooleanState to Boolean, etc.
- See StrolchValueType for the types of values which Strolch knows about
2015-07-08 07:47:46 +02:00
Robert von Burg 5fe84b1d02 [Major] Extended XmlExportModel XmlImportModel for Activities 2015-07-08 07:42:53 +02:00
Robert von Burg 588952b526 [Major] Major refactoring of SAX and DOM implemenetations
- also added SAX and DOM visitors for Acitivities and Actions
2015-07-07 17:53:17 +02:00
Robert von Burg 8f7f6aa920 [Major] Major refactoring of toDom and toSax implementations
- adding Activity and Action
- remove methods on model itself and move to visitors
2015-07-03 15:11:49 +02:00
Robert von Burg c499f53758 [New][Devel] Work in progress of implementing ActivityMap
- Implemented XML persistence

Still missing is fixing the tests. Currently no tests were run, just
fixed remaining compile errors
2015-06-29 08:37:20 +02:00
Robert von Burg e2ac84ecdc [New][Devel] Work in progress of implementing ActivityMap
- Implemented PostgreSQL persistence

Still missing is the xml persistence implementation and fixing
the tests. Currently no tests were run, just trying to fix compile
errors
2015-06-29 08:34:14 +02:00
Robert von Burg 82ce5a7261 [New][Devel] Work in progress of implementing ActivityMap
- Creating new maps for transient, transactional and cached mode
- adding to Realms; including initialization
- adding new methods to transactions e.g. getActivityBy(), etc.
- Adding new ActivityDao with InMemory implementation
- extending PersistenceHandler
- fixed compile errors in the rest of the project

Still missing is the implementation in persistence handler and fixing
the tests. Currently no tests were run, just trying to fix compile
errors
2015-06-28 20:42:42 +02:00
Robert von Burg 3a197d6629 [Minor] no need to catch init exception in PostgreSqlPersistenceHandler 2015-06-11 19:19:52 +02:00
Robert von Burg 521bd84ce0 [Major] StrolchComponent methods can now throw Exception
- execption handling is done in the ComponentContainerStateHandler
- clients now not need to worry about exceptions which would make them
  rethrow anyhow as a runtime exception
2015-06-11 19:19:52 +02:00
Robert von Burg 0147a44d7e Update pom.xml 2015-06-11 11:30:39 +02:00
Robert von Burg 503bdbe4d6 [Major] refactored SystemUserActions in privilege
Now a SystemUserAction is defined as follows:
<Privilege name="ch.eitchnet.privilege.handler.SystemUserAction" 
    policy="DefaultPrivilege">
  <Allow>li.strolch.agent.impl.StartRealms</Allow>
</Privilege>
2015-06-03 23:32:23 +02:00
Robert von Burg 473c852ea6 [New] Added ServiceResult.isNok() 2015-06-01 18:03:11 +02:00
Robert von Burg dbc6f702f1 [Project] added export of Eclipse settings for code formatting:
* eitchnetCleanup.xml
* eitchnetCleanup_JS.xml
* eitchnetCodetemplates_Java.xml
* eitchnetCodetemplates_JS.xml
* eitchnetFormat_JS.xml
* eitchnetFormatter_Java.xml
2015-05-26 23:10:17 +02:00
Robert von Burg 9988c426f1 [Minor] added more JavaDoc to StrolchTransaction.findElement() 2015-05-25 22:22:48 +02:00
msmock 3cb65a049c updated header comment 2015-05-24 11:18:01 +02:00
msmock 97c7e36536 added the two core command required to set up a disposition application
and refactored to remove code duplication.
2015-05-24 11:08:04 +02:00
msmock 19c6d0827f implemented xml serialization for activity, action and value changes. 2015-05-23 12:29:45 +02:00
msmock 188a8d9461 simplified model and removed distinction between start and end operators
in action. Removed the action start and end attribute.
2015-05-23 10:14:16 +02:00
msmock 1109a7be2d Merge branch 'develop' of https://github.com/eitchnet/strolch into develop 2015-05-22 21:07:34 +02:00
msmock cce0fdc50b implemented core planning functionality where activity with all child
elements is created programmatically and the time and values of the
changes is set by the programmmer. Note, that the persistence and xml
serialization is not implemented yet.
2015-05-22 21:04:37 +02:00
Reto Breitenmoser f72f6a1c0e [Major] refactored the handling with code and data migration versions -
The version handling with code and data migrations was messed up. The
migration version was set after the data migration and then the code
migration used this value for further processing. Now there are two
attributes for the migration version (code and data). The files for the
data migration and the classes for the code migration have now
individual versions.
2015-05-22 18:21:41 +02:00
Robert von Burg 74366ea8a5 [New] added Locator.isEqualOrChildOf() including tests 2015-05-15 20:14:41 +02:00
Robert von Burg 1b9e687d42 [Minor] added NPE check in AbstractTransaction for refPs 2015-05-15 20:14:21 +02:00
Robert von Burg 754caff688 [New] Added Locator.isChildOf(Locator)
- including a new test class
2015-05-12 18:31:13 +02:00
Robert von Burg f07b241ddc [New] Added feature to ignore a realm on DB init
This can be very handy to not start the connection pool for realms which
you know won't connect to the DB (but is not transient) - weird isn't
it? =))

The property is: db.ignore.realm.<realmName>

The actual use case is the following:
- You have a realm which use is used normally and is not transient so
you have a configuration for it
- you have another StrolchComponent which opens its own transactions to
the DB but you only require a subset of the realms so you then use the
ignore property to ignore the other realms.
2015-05-08 18:07:30 +02:00
Robert von Burg 1da65c1131 [Minor] added logging of pool size in PostgreSqlDbConnectionBuilder 2015-05-08 17:41:36 +02:00
Robert von Burg d3dad2a827 [New] added Integer, Float and ListParameters
- including tests, etc.
2015-05-02 13:32:30 +02:00
Robert von Burg 1d621b1247 [Project] fixing building of performance test 2015-05-02 11:55:35 +02:00
Robert von Burg 01535fb515 [New] added connection pool properties for PersistenceHandler
- e.g. for PostgreSQL enforce pool size:
  <db.pool.maximumPoolSize>1</db.pool.maximumPoolSize>
2015-04-30 08:46:18 +02:00
Robert von Burg a6b320268f [Minor] code formatting 2015-04-22 13:27:28 +02:00
Robert von Burg d31e9ffc6d [Project] Added missing license headers 2015-04-22 13:20:28 +02:00
Robert von Burg 64c6a01083 [Minor] Added doc to Auditing*MapFacades and impl. query auditing 2015-04-22 12:06:20 +02:00
Robert von Burg 47881df2ee [Bugfix] shutdown the connection pool on agent destroy 2015-04-21 16:47:04 +02:00
Robert von Burg f808899cca [New] added a performance test project to see how many TX/s are possible 2015-04-21 15:05:28 +02:00
Robert von Burg 31493f2fa1 [Major] PostgreSql now uses HikariCP for connection pooling 2015-04-21 15:04:51 +02:00
Robert von Burg 5c25f9d003 [Minor] fixing broken test 2015-04-19 19:23:40 +02:00
Robert von Burg 608a374f99 [New] Added REST methods to update a specific Resource or Order from XML 2015-04-19 16:39:49 +02:00
Robert von Burg d0e27a3a1f [New] add RestfulStrolchComponent.getServiceHandler() 2015-04-19 16:39:18 +02:00
Robert von Burg 9671156f09 [Bugfix] don’t return null in StrolchElementListener getting of lists 2015-04-19 16:38:48 +02:00
Robert von Burg 0fe7778af5 [Minor] also log exception when fail to parse element from DB XML 2015-04-19 16:38:25 +02:00
Robert von Burg 69c842034a [New] Added rest GET of Order and Resource as XML 2015-04-19 16:13:26 +02:00
Robert von Burg 7871a33029 [Project] Updated submodules 2015-04-16 16:44:41 +02:00
Robert von Burg 86d4fe4eeb [Major] refactored DataMigration.buildMigrationVersionChangeCommand() 2015-04-14 21:17:01 +02:00
Robert von Burg 3154899f77 [New] added blog post on new documentation page 2015-04-06 16:02:58 +02:00
Robert von Burg d5d981a4a1 [New] Created new documentation page for Strolch website 2015-04-06 15:54:39 +02:00
Robert von Burg 91a08057c1 [Minor] fixed session timeout not being audit action timeout 2015-04-05 01:27:50 +02:00
Robert von Burg 4383e8a1ab [Minor] fixed wrong actions for audits of locale,pw,state change of user 2015-04-05 01:20:54 +02:00
Robert von Burg bd4291b483 [Major] Moved privilege management into separate services
- instead of just calling the methods from the REST API, now we call
services
- this allows auditing who changes which privileges
2015-04-05 01:11:54 +02:00