handte 0fd362e3bf
lbs-gitea/maptology/master This commit looks good
Replace role enum with constants, remove custom annotations.
Replace role enumeration with constant string values and static methods
to list the roles.
Removed custom annotation in favor of javax.security annotations.
Changed custom access control interceptor to handle new annoations
(note: automating this with Resteasy's own filter would create tons of
xml configuration)
Replace all access control annotations in rest package with
javax.security annotations.
IMPORTANT: Rest methods without security requirements MUST be annotated
with PermitAll to work (this is consistent with EJB's use of the
annotation but it is a behavioral change). If something is not working
search through the log file for SEVERE warnings that are generated by
the access control interceptor if a misconfigured endpoint is detected.
2017-12-14 12:31:06 +01:00
2017-12-14 11:15:38 +01:00
2017-12-14 11:31:06 +01:00
2017-10-17 19:02:01 +02:00
2017-12-12 17:58:52 +01:00
2017-10-17 15:31:15 +02:00

About

The source code of the location-based services project group that develops a service to share the location.

Setup

This project is configured to be built with Apache Maven which allows automated building and testing using Jenkins. The project is a multi-module project so that different system components can be developed in separate library projects. Widely used integrated development environments such as IntelliJ IDEA or Eclipse enable direct imports of the Maven modules. IntelliJ supports this out of the box. Eclipse uses the m2e plugin to generate the Eclipse settings from the Maven pom.xml files.

Building

To build the project, you will have to install Java, Maven and the Android SDK. Make sure to install the platform packages for API level 25 using the SDK manager, as they are required to build the application. To be able to resolve the external dependencies, copy the settings.xml from the root directory of the repository to your .m2 directory in your home directory. Make sure to adjust the path for the Android SDK to your development machine. When everything is set up, simply run 'mvn clean package' or 'mvn clean install' to trigger a build.

Jenkins CI

Pull requests and new commits to any branch are automatically built by a Jenkins service. A Gitea webhook informs the service about changes to the repository. In addition, the service will automatically scan the lbs Gitea organization for new repositories every hour. Successful builds of new commits are indicated by a green tick on the commit page. The build status of pull requests is currently not shown in Gitea. However, you can go to the Jenkins service to view the result of builds including the console output. To modify the build process, you can change the Jenkinsfile groovy script in the root of the repository, if necessary.

S
Description
Source code of the location-based services project group.
https://www.maptology.com
Readme
16 MiB
Languages
Java 71%
TypeScript 18.3%
HTML 9.9%
CSS 0.7%