You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In order to start H2 web console go to [http://127.0.0.1:8080/console](http://127.0.0.1:8080/console) and you will see a login screen.
215
-
Please use the following values:
216
-
Note: make sure the JDBC URL used matches your Props value!
214
+
**Note:** The H2 web console at `/console` was available when OBP-API ran on Jetty but is no longer served by the http4s server. To inspect the H2 database, connect directly using the [H2 Shell](https://h2database.com/html/tutorial.html#console_settings) or a database tool such as DBeaver.
215
+
216
+
Use the following connection values (make sure the JDBC URL matches your Props value):
217
217
218
218
```
219
219
Driver Class: org.h2.Driver
@@ -388,16 +388,7 @@ To populate the OBP database with sandbox data:
388
388
389
389
## Production Options
390
390
391
-
- set the status of HttpOnly and Secure cookie flags for production, uncomment the following lines of `webapp/WEB-INF/web.xml`:
392
-
393
-
```XML
394
-
<session-config>
395
-
<cookie-config>
396
-
<secure>true</secure>
397
-
<http-only>true</http-only>
398
-
</cookie-config>
399
-
</session-config>
400
-
```
391
+
OBP-API runs on http4s Ember. Standard security headers (Cache-Control, X-Frame-Options, Correlation-Id, etc.) are applied automatically by `Http4sLiftWebBridge.withStandardHeaders` to all responses. Cookie flags and other session-related settings can be configured via the props file.
401
392
402
393
## Server Mode Configuration (Removed)
403
394
@@ -754,14 +745,22 @@ There is a video about the detail: [demonstrate the detail of the feature](https
754
745
755
746
The same as `Frozen APIs`, if a related unit test fails, make sure whether the modification is required, if yes, run frozen util to re-generate frozen types metadata file. take `RestConnector_vMar2019` as an example, the corresponding util is `RestConnector_vMar2019_FrozenUtil`, the corresponding unit test is `RestConnector_vMar2019_FrozenTest`
756
747
757
-
## Scala / Lift
748
+
## Technology Stack
749
+
750
+
OBP-API uses the following core technologies:
751
+
752
+
-**HTTP Server:**[http4s](https://http4s.org/) with [Cats Effect](https://typelevel.org/cats-effect/) (`IOApp`). The server runs on http4s Ember in a single process on a single port.
753
+
-**Routing:** Priority-based routing defined in `Http4sApp.scala`:
754
+
1. Native http4s routes for v5.0.0, v7.0.0, and Berlin Group v2
755
+
2. A Lift bridge fallback (`Http4sLiftWebBridge`) for all other API versions
756
+
-**ORM / Database:**[Lift Mapper](http://www.liftweb.net/) for database access and schema management.
757
+
-**JSON:** Lift JSON utilities are used in some areas alongside native http4s JSON handling.
758
758
759
-
- We use scala and liftweb: [http://www.liftweb.net/](http://www.liftweb.net/).
759
+
For details on how the http4s and Lift layers coexist, see [LIFT_HTTP4S_COEXISTENCE.md](LIFT_HTTP4S_COEXISTENCE.md).
caseEmpty=>Failure("Failed to validate ABAC rule code")
521
+
if (isTooPermissive(ruleCode)) {
522
+
Failure("ABAC rule is too permissive: the rule code contains a tautological expression that would always grant access. Please write a rule that checks specific attributes.")
0 commit comments