Robert von Burg
0cadf66f3f
[Major] Refactored Privilege to use separate mode files
...
So now users and roles are in their own files. This makes it far easier
to add new privileges without needing to take care if the user changed
their data.
2016-02-28 19:54:17 +01:00
Robert von Burg
bab06d3ab5
[Minor] Fixing broken tests due to PostgreSQL driver not loaded
2016-02-27 16:50:04 +01:00
Robert von Burg
beccdbf4be
[Minor] closing potentially open streams
2016-02-10 17:52:17 +01:00
Robert von Burg
e2b3e5f7b0
[Minor] removed unnecessary else
2016-02-10 17:48:18 +01:00
Robert von Burg
3502a4adad
[Minor] Removed redundant types (diamond operator)
2016-02-10 17:46:50 +01:00
Robert von Burg
c37fd20efb
[Major] Added persisting and reloading of sessions
2015-10-16 17:21:49 +02:00
Robert von Burg
69eb5ccf38
[Major] Refactored query API
...
- Now added ordering
- added setters for visitors on query
-
2015-08-10 22:21:45 +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
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
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
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
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
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
d3dad2a827
[New] added Integer, Float and ListParameters
...
- including tests, etc.
2015-05-02 13:32:30 +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
d31e9ffc6d
[Project] Added missing license headers
2015-04-22 13:20:28 +02:00
Robert von Burg
86d4fe4eeb
[Major] refactored DataMigration.buildMigrationVersionChangeCommand()
2015-04-14 21:17:01 +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
Robert von Burg
e163237613
[Minor] fixed broken tests
2015-04-03 13:37:56 +02:00
Robert von Burg
47bbafba22
[Minor] fixed broken test
2015-03-17 21:43:10 +01:00
Robert von Burg
2ee0d2fb4e
[New] Added UserSession querying and modifying
2015-03-14 21:23:10 +01:00
Robert von Burg
819ae53708
[Minor] added missing PrivilegePolicies:
...
<Policy name="RoleAccessPrivilege"
class="ch.eitchnet.privilege.policy.RoleAccessPrivilege" />
<Policy name="UserAccessPrivilege"
class="ch.eitchnet.privilege.policy.UserAccessPrivilege" />
2015-03-12 18:05:46 +01:00
Robert von Burg
5ffc03f115
[Minor] removed reference to non existing role PrivilegAdmin in users
2015-03-12 18:01:02 +01:00
Robert von Burg
5675027f6c
[Minor] removed the PrivilegeAdmin role from all PrivilegeModel.xml
2015-03-12 17:43:42 +01:00
Robert von Burg
5602f56c15
[Major] allow user to change their own locale incl. auto persist
2015-03-08 21:44:35 +01:00
Robert von Burg
28a6e24842
[Minor] fixing broken service tests
2015-03-02 20:44:35 +01:00
Robert von Burg
e961aa8cd3
[Project] Bumped version from 1.2.0-SNAPSHOT to 1.1.0-SNAPSHOT
2015-03-02 14:29:34 +01:00
Robert von Burg
460c26126e
[Project] Bumped version from 1.1.0-SNAPSHOT to 1.2.0-SNAPSHOT
2015-03-02 14:28:18 +01:00
Robert von Burg
52e06f1818
[Project] Bumped version to 1.1.0-SNAPSHOT
2015-03-02 13:43:45 +01:00
Robert von Burg
aa2f55fa53
[New] Refactored XML import and export model
...
- added allowInclude for recursive parsing of xml importing
- ModelStatistics is now JAXB capable
- added handling of absolute paths
2015-02-28 20:44:26 +01:00
Robert von Burg
a832b2dc3e
[New] Refactored XML import and export model
...
- added allowInclude for recursive parsing of xml importing
- ModelStatistics is now JAXB capable
- added handling of absolute paths
2015-02-28 20:41:52 +01:00
Robert von Burg
a7de76933b
[New] Added new ServiceExecutionHandler
...
The ServiceExecutionHandler is used to execute long running services
without needing singletons
2015-02-21 00:32:55 +01:00
Robert von Burg
f46e72bbdb
[New] XmlExportModelService can now export to absolute path
2015-02-21 00:20:30 +01:00
Robert von Burg
c2efc19889
[Minor] don't log CurrentMigrationVersionQuery queries
2015-02-13 17:15:39 +01:00
Robert von Burg
174e5bd37f
[Major] refactored MigrationsHandler
...
- now the currentVersions are queried later, because only after the
realm handler is started, can we query the current version.
- this lead to only parsing the migrations at initialize
- and thus in start querying the versions and performing the required
migrations
2015-02-12 17:25:59 +01:00
Robert von Burg
30d4916a7e
[Minor] less logging
2015-02-11 23:49:25 +01:00
Robert von Burg
b8c07015d1
[Bugfix] fixed bug where Migrations didn't handle missing realm
...
- If a code migration is run programmatically, then in some migrations
shouldn't fail if a realm is missing -> the realm might not be available
in a certain environment
2015-02-11 23:03:59 +01:00
Robert von Burg
5aef65861b
[Minor] changed test to check for versions with qualifier
2015-02-11 16:52:37 +01:00
Robert von Burg
cf807edd7a
[New] added MigrationsHandler.runCodeMigrations()
...
- this allows a project to add migrations to be run in a post
initializer etc.
2015-02-11 16:41:43 +01:00
Robert von Burg
cfb30486e0
[Bugfix] fixed broken migrations in multiple realms
2015-02-09 21:13:24 +01:00
Robert von Burg
f43088d680
[Bugfix] fixed handlinge of missing migrations directory
2015-02-09 00:40:28 +01:00
Robert von Burg
70ec912446
[Minor] Ignoring TxTest.shouldNotAllowCommandsOnDoNothig()
...
- We have to re-think this. It does not work, throwing an exception if
commands are registered on a read-only TX as then we don't know if we
want to roll back or not - we probably need a ROLLBACK_ON_ERROR or
something, indicating that we are preparing a non-read-only TX.
2015-02-08 16:39:23 +01:00
Robert von Burg
7e0f9c95eb
[Minor] Fixing broken tests
2015-02-08 16:37:49 +01:00
Robert von Burg
35c35b9d1c
[New] Added new MigrationsHandler to migrate the model
...
- Add the new MigrationsHandler as a StrolchComponent
- add migrations/data/<realm>/n.n.n.xml files
- and your migration will run
2015-02-08 12:59:21 +01:00
Robert von Burg
3fc4c83a61
[Minor] removed all tx.commitOnClose() for read only TXs
2015-02-06 22:13:48 +01:00