Skip to content

Commit

Permalink
Update CHANGELOG.md and README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
marest94 committed Jul 11, 2024
1 parent cbd18aa commit 99bc52b
Show file tree
Hide file tree
Showing 2 changed files with 44 additions and 0 deletions.
15 changes: 15 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,21 @@
# Changelog
All notable changes to this project will be documented in this file.

## [1.14.9] - 2024-07-11

### Added

- CORS configuration (for compatibility with UI)

### Changed

- Updated firewall.properties
- Multipart message library upgraded to 1.0.18
- Websocket library upgraded to 1.0.18
- Fix WSS SSL support
- Upgrade GHA to use Node.js 20


## [1.14.8] - 2024-02-14

### Added
Expand Down
29 changes: 29 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -97,6 +97,35 @@ allowUrlEncodedPeriod=true
```
*IMPORTANT:* If you're not an expert, the strong advice is to keep values at their default values. If you decide to change values, pay special attention to allowHeaderNames and allowHeaderValues, since those set values are exclusive and considered as only values that should be present in the header.

## CORS Configuration

In order to communicate with UI, CORS (Cross-Origin Resource Sharing) settings should be configured in `application.properties` file. This allows you to specify which origins, methods, and headers are permitted when making cross-origin requests to your application.

```
application.cors.allowed.origins=
application.cors.allowed.methods=
application.cors.allowed.headers=
```

- `application.cors.allowed.origins`: Specifies the allowed origins. If empty, all origins (*) are allowed.
- `application.cors.allowed.methods`: Specifies the allowed HTTP methods. If empty, all methods (*) are allowed.
- `application.cors.allowed.header`s: Specifies the allowed headers. If empty, all headers (*) are allowed.

Example configuration:

```
# Allow specific origins
application.cors.allowed.origins=https://example.com,https://another-example.com
# Allow specific HTTP methods
application.cors.allowed.methods=GET,POST,PUT,DELETE
# Allow specific headers
application.cors.allowed.headers=
```



## How to Test
The reachability could be verified using the following endpoints:
* **http://{IP_ADDRESS}:{HTTP_PUBLIC_PORT}/about/version**
Expand Down

0 comments on commit 99bc52b

Please sign in to comment.