Skip to content

Commit f39f8d8

Browse files
Merge branch 'master' into feature/sscs-10722-migration-tool-performance-improvements
2 parents 9ce7336 + 67085be commit f39f8d8

36 files changed

+1185
-159
lines changed

.editorconfig

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,13 @@ end_of_line = lf
88
charset = utf-8
99
trim_trailing_whitespace = true
1010
insert_final_newline = true
11+
max_line_length = 120
1112

1213
[*.java]
1314
indent_size = 4
15+
ij_continuation_indent_size = 4
16+
ij_java_align_multiline_parameters = true
17+
ij_java_align_multiline_parameters_in_calls = true
18+
ij_java_call_parameters_new_line_after_left_paren = true
19+
ij_java_call_parameters_right_paren_on_new_line = true
20+
ij_java_call_parameters_wrap = on_every_item

.env

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
SERVER_PORT=4999

.github/CONTRIBUTING.md

Lines changed: 40 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,40 @@
1+
# Contribution guidelines
2+
3+
We're happy to accept 3rd-party contributions. Please make sure you read this document before you do any work though,
4+
as we have some expectations related to the content and quality of change sets.
5+
6+
## What you should know about this application
7+
8+
This project is a template Spring Boot application. It aims to speed up the creation of new Spring APIs in HMCTS
9+
projects, by serving as the initial setup of each API.
10+
11+
## Before contributing
12+
13+
Any ideas on the user journeys and general service experience you may have **should be first consulted
14+
with us by submitting a new issue** to this repository. Ideas are always welcome, but if something is divergent or unrelated
15+
to what we're trying to achieve we won't be able to accept it. Please keep this in mind as we don't want to waste anybody's time.
16+
17+
In the interest of creating a friendly collaboration environment, please read and adhere to an open source contributor's
18+
[code of conduct](http://contributor-covenant.org/version/1/4/).
19+
20+
## Making a contribution
21+
22+
After your idea has been accepted you can implement it. We don't allow direct changes to the codebase from the public,
23+
they have to go through a review first.
24+
25+
Here's what you should do:
26+
1. [fork](https://help.github.com/articles/fork-a-repo/) this repository and clone it to your machine,
27+
2. create a new branch for your change:
28+
* use the latest *master* to branch from,
29+
3. implement the change in your branch:
30+
* if the change is non-trivial it's a good practice to split it into several logically independent units and deliver
31+
each one as a separate commit,
32+
* make sure the commit messages use proper language and accurately describe commit's content, e.g. *"Unify postcode lookup elements spacing"*.
33+
More information on good commit messages can be found [here](http://chris.beams.io/posts/git-commit/),
34+
4. test if your feature works as expected and does not break any existing features, this may include implementing additional automated tests or amending existing ones,
35+
5. push the change to your GitHub fork,
36+
6. submit a [pull request](https://help.github.com/articles/creating-a-pull-request-from-a-fork/) to our repository:
37+
* ensure that the pull request and related GitHub issue reference each other.
38+
39+
At this point the pull request will wait for someone from our team to review. It may be accepted straight away,
40+
or we may ask you to make some additional amendments before incorporating it into the main branch.

.github/ISSUE_TEMPLATE.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
### What would you like to change?
2+
3+
### How do you think that would improve the project?
4+
5+
### If this entry is related to a bug, please provide the steps to reproduce it

.github/PULL_REQUEST_TEMPLATE.md

Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,23 @@
1+
**Before creating a pull request make sure that:**
2+
3+
- [ ] commit messages are meaningful and follow good commit message guidelines
4+
- [ ] README and other documentation has been updated / added (if needed)
5+
- [ ] tests have been updated / new tests has been added (if needed)
6+
7+
Please remove this line and everything above and fill the following sections:
8+
9+
10+
### JIRA link (if applicable) ###
11+
12+
13+
14+
### Change description ###
15+
16+
17+
18+
**Does this PR introduce a breaking change?** (check one with "x")
19+
20+
```
21+
[ ] Yes
22+
[ ] No
23+
```

.github/dependabot.yml

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
version: 2
2+
updates:
3+
- package-ecosystem: gradle
4+
directory: "/"
5+
schedule:
6+
interval: weekly
7+
open-pull-requests-limit: 10

.github/renovate.json

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
{
2+
"enabledManagers": ["helm-requirements","gradle-wrapper"],
3+
"labels": ["dependencies"],
4+
"helm-requirements":
5+
{
6+
"fileMatch": ["\\Chart.yaml$"],
7+
"aliases": {
8+
"hmctspublic": "https://hmctspublic.azurecr.io/helm/v1/repo/"
9+
}
10+
}
11+
}

.github/stale.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,11 @@
11
# Number of days of inactivity before an issue becomes stale
2-
daysUntilStale: 3
2+
daysUntilStale: 7
33
# Number of days of inactivity before a stale issue is closed
44
daysUntilClose: 4
55
# Issues with these labels will never be considered stale
66
exemptLabels:
77
- pinned
8+
- dependencies
89
# Label to use when marking an issue as stale
910
staleLabel: stale
1011
# Comment to post when marking an issue as stale. Set to `false` to disable

.github/workflows/ci.yml

Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,24 @@
1+
name: Template CI
2+
3+
on:
4+
pull_request:
5+
branches:
6+
- master
7+
push:
8+
branches:
9+
- master
10+
11+
jobs:
12+
build:
13+
runs-on: ubuntu-latest
14+
steps:
15+
- uses: actions/checkout@v2
16+
- uses: actions/setup-java@v2
17+
with:
18+
distribution: 'temurin' # See 'Supported distributions' for available options
19+
java-version: '11'
20+
cache: 'gradle'
21+
- name: Build
22+
run: ./gradlew check
23+
- name: Dependency check
24+
run: ./gradlew dependencyCheckAggregate

.gitignore

Lines changed: 9 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,8 @@
11
.gradle
2-
.DS_Store
2+
/build/
33
!gradle/wrapper/gradle-wrapper.jar
4-
build/
5-
out/
6-
target/
4+
*.class
5+
bin/main/application.yaml
76

87
### STS ###
98
.apt_generated
@@ -12,19 +11,15 @@ target/
1211
.project
1312
.settings
1413
.springBeans
15-
.sts4-cache
1614

1715
### IntelliJ IDEA ###
18-
.idea/
16+
.idea
17+
/out
1918
*.iws
2019
*.iml
2120
*.ipr
22-
/out/
2321

24-
### NetBeans ###
25-
/nbproject/private/
26-
/build/
27-
/nbbuild/
28-
/dist/
29-
/nbdist/
30-
/.nb-gradle/
22+
.DS_Store
23+
24+
applicationinsights-agent-*.jar
25+
*.log

0 commit comments

Comments
 (0)