Spring Boot based REST Microservice to be used in solving the CLP Titans assessment. | Read-only mirror of https://github.com/swisscom/titans-assessment — Swisscom. Issues & pull requests at the source.
  • Groovy 74.6%
  • Java 25.4%
Find a file
Repository files (latest commit first)
Filename Latest commit message Latest commit date
2020-02-04 14:20:49 +01:00
gradle/wrapper chore: Setup project based on Spring initalizr. 2020-02-04 08:17:04 +01:00
src chore: setup dummy employee controller and tests. 2020-02-04 14:20:49 +01:00
.gitignore chore: Setup project based on Spring initalizr. 2020-02-04 08:17:04 +01:00
build.gradle chore: setup dummy employee controller and tests. 2020-02-04 14:20:49 +01:00
gradlew chore: Setup project based on Spring initalizr. 2020-02-04 08:17:04 +01:00
gradlew.bat chore: Setup project based on Spring initalizr. 2020-02-04 08:17:04 +01:00
README.adoc chore: setup dummy employee controller and tests. 2020-02-04 14:20:49 +01:00
settings.gradle chore: Setup project based on Spring initalizr. 2020-02-04 08:17:04 +01:00

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

= Swisscom Human Resources
:fonts: icon
:version: 0.0.1-SNAPSHOT
:artifact-group: com.swisscom
:artifact-name: humanresources
:dependency: {artifact-group}:{artifact-name}:{version}
:jar-file: {artifact-name}-{version}.jar

:gradle: https://gradle.org/[Gradle]
:spock: http://spockframework.org/spock/docs/1.3/index.html[Spock Framework]
:groovy: https://groovy-lang.org/[Groovy]
:springboot: https://spring.io/projects/spring-boot[Spring Boot]
:springboot-initializr: https://start.spring.io/[Spring initializr]
:immutables: https://immutables.github.io[Immutables]
:pojo: https://en.wikipedia.org/wiki/Plain_old_Java_object[POJO]

A {springboot} application for running REST microservices to provide access to human resources related swisscom
resources. Setup with {springboot-initializr}.

== Libraries

=== Immutables

Using {immutables} for generation of {pojo}s.

== Build
Run:
[source,bash]
----
$ gradle build
----

The built jar file will be at `build/libs/{jar-file}`

== Tests

Uses {spock} & {groovy} for easy test writing.

Run:
[source,bash]
----
$ gradle check
----

== Documentation (Spring initializr)

=== Reference Documentation
For further reference, please consider the following sections:

* https://docs.gradle.org[Official Gradle documentation]
* https://docs.spring.io/spring-boot/docs/2.2.4.RELEASE/gradle-plugin/reference/html/[Spring Boot Gradle Plugin Reference Guide]
* https://docs.spring.io/spring-boot/docs/2.2.4.RELEASE/reference/htmlsingle/#using-boot-devtools[Spring Boot DevTools]
* https://docs.spring.io/spring-boot/docs/2.2.4.RELEASE/reference/htmlsingle/#configuration-metadata-annotation-processor[Spring Configuration Processor]
* https://docs.spring.io/spring-boot/docs/2.2.4.RELEASE/reference/htmlsingle/#howto-use-exposing-spring-data-repositories-rest-endpoint[Rest Repositories]
* https://docs.spring.io/spring-boot/docs/2.2.4.RELEASE/reference/htmlsingle/#boot-features-security[Spring Security]

=== Guides
The following guides illustrate how to use some features concretely:

* https://spring.io/guides/gs/accessing-data-rest/[Accessing JPA Data with REST]
* https://spring.io/guides/gs/accessing-neo4j-data-rest/[Accessing Neo4j Data with REST]
* https://spring.io/guides/gs/accessing-mongodb-data-rest/[Accessing MongoDB Data with REST]
* https://spring.io/guides/gs/securing-web/[Securing a Web Application]
* https://spring.io/guides/tutorials/spring-boot-oauth2/[Spring Boot and OAuth2]
* https://spring.io/guides/gs/authenticating-ldap/[Authenticating a User with LDAP]

=== Additional Links
These additional references should also help you:

* https://scans.gradle.com#gradle[Gradle Build Scans – insights for your project's build]