Commit Graph
15 Commits
Author SHA1 Message Date
Ole Meyer d244836a7a add location api 2017-12-10 23:24:59 +01:00
Ole Meyer ea5b800125 add device api 2017-12-10 23:06:43 +01:00
handte dc392513ff Added db example to app, cleanup feign and api.
lbs-gitea/maptology/master This commit looks good
2017-12-08 21:56:48 +01:00
handte 2174195fa7 Add input validation, add addUser, change swagger security.
lbs-gitea/maptology/master There was a failure building this commit
Enable jax-rs bean validation on all inputs.
Add jax-rs validation fraction to wildfly.
Add missing addUser admin method to user service.
Add testcases for addUser.
Add missing and fix incorrect security annotations on all service
interfaces.
Split swagger security definition into two definitions (admin, user) to
model required access privileges in swagger file.
Move authorization definitions from class to method level to properly
define the minimum access rights.
Set locoslab api version to final instead of snapshot dependency to
avoid repeated downloads of never-changing libraries.
2017-12-06 21:18:09 +01:00
handte 0ef59cd4b8 Added service to fetch the build version from the manifest.
lbs-gitea/maptology/master This commit looks good
2017-12-05 15:18:09 +01:00
handte 556e843581 Fixed bugs in json api, added code to demonstrate websockets.
lbs-gitea/maptology/master This commit looks good
Added log handler in ejb to catch server log for maptology code.
Added simple restful log service to support fetching server log via
polling.
Added websocket to demonstrate retrieving the latest log messages via
push.
Hacked websocket into angular console component to show server log when
user is logged in as admin.
2017-12-04 17:57:54 +01:00
handte 0320a7a0dd Improved consistency, added user management tests.
lbs-gitea/maptology/master There was a failure building this commit
Improved consistency of method names.
Added integration tests for business logic of user account management.
Added test-suite extension to avoid multiple deployments.
Extended object model to facilitate testability.
2017-12-02 17:55:11 +01:00
handte 51b7c27c50 Add user management (needs testing), added/fixed ejb security.
lbs-gitea/maptology/master This commit looks good
Added user management with email workflow and optional beans for
debugging (needs more integration tests).
Fixed jaspi integration to support declarative security at the ejb layer
as well.
Extended ejb integration tests to support login without rest.
Extended notice management for display in web application.
Reworked existing implementation to consistenly deliver unfiltered
results to all admin apis and filtered results to all user apis.
Added package infos to some more packages.
2017-11-29 20:26:19 +01:00
handte ce3aa2f720 Added angular example, workaround for jackson/xml issue in page.
lbs-gitea/maptology/master This commit looks good
2017-11-20 21:37:22 +01:00
handte cd697a52e4 Remove auth module challenge, fix api descriptions.
lbs-gitea/maptology/master This commit looks good
Remove auth module challenge by sending forbidden instead of unauthoized
when no credentials are provided to work around automatic credential
storage in browser and ugly pop-up dialogs that will not look good in a
webapp. To support direct testing of get requests, consider using the
api console instead. Alternatively, provide the new magic "testAuth"
parameter as part of the query string. This will restore the original
behavior, i.e. /user/current will fail immediately and
/user/current?testAuth will generate a challenge, if no authorization
header is provided as part of the request. 
Cleanup api responses and work around problems with swagger plugin that
will not pickup security annotations on methods.
2017-11-12 10:36:31 +01:00
handte c83e239e88 Added notice service to play with angular, minor refactoring.
lbs-gitea/maptology/master This commit looks good
2017-11-12 00:12:35 +01:00
handte 5915090805 Added angular example, apigen and apiconsole, removed need for ear.
lbs-gitea/maptology/master This commit looks good
Added example for angular with generated api-client.
Added swagger-ui api-console to api.
Added war (webapp) containing angular app (attached to /app).
Modified bundling of ejb and war to allow standalone war deployment.
Added ear to integrate api and app.
Added security definitions to swagger.
Added http scheme to swagger for development.
Removed cache control header from getUsers to force revaliation.
Added jboss-web.xml files to war files to ensure that standalone
deployments are attached to the same context root as ear deployments.
Configured resteasy as a servlet filter to support coexistence with
static resources.
2017-11-09 18:25:01 +01:00
handte 6107e53d85 Automatic integration tests, minor refactoring, fixes. 2017-10-26 17:08:24 +02:00
handte 9d8c5aac8a Added criteria api demo, conversions and caching. 2017-10-25 11:55:10 +02:00
handte eb315f28db Added incomplete swagger/ejb/rest/jsapi integration demo. 2017-10-24 21:23:49 +02:00