We need to generate secret key for development environment.
mix phoenix.gen.secret
# ednkXywWll1d2svDEpbA39R5kfkc9l96j0+u7A8MgKM+pbwbeDsuYB8MP2WUW1hfLet's generate User model and controller.
| # models/user.rb | |
| class User | |
| include ActiveModel::Model | |
| attr_accessor :username, :first_name, :last_name, :id | |
| end | |
| #serializers/user_serializer.rb | |
| class UserSerializer < ActiveModelSerializers::Model | |
| attributes :id, :first_name, :last_name, :username | 
| en: | |
| hello: "Hello !" | |
| world: "Hello World !" | 
This process worked for me. I take no responsibility for any damage or loss incurred as a result of following or not following these steps or, for that matter, anything else you might do or not do.
svn.domain.com.au.http (other protocols should work).git.domain.com.au and:| ➜ spring-dynamodb-integration git:(master) mvn clean test | |
| [INFO] Scanning for projects... | |
| [INFO] | |
| [INFO] ---< com.nibado.example.spring-testcontainers:spring-testcontainers >--- | |
| [INFO] Building spring-testcontainers 1.0-SNAPSHOT | |
| [INFO] --------------------------------[ jar ]--------------------------------- | |
| [INFO] | |
| [INFO] --- maven-clean-plugin:2.5:clean (default-clean) @ spring-testcontainers --- | |
| [INFO] Deleting /Users/serguei/projects/java/spring-dynamodb-integration/target | |
| [INFO] | 
git config --global user.name "Firstname Lastname"
git config --global user.email "[email protected]"
| class StoredProcedureService | |
| def self.instance | |
| @instance ||= StoredProcedureService.new | |
| end | |
| def execute(name, *args) | |
| results = [] | |
| begin | |
| connection.execute("CALL #{name}(#{args.join(',')})").each(as: :hash, symbolize_keys: true) do |row| | 
| { | |
| "id": "Demo-Realm", | |
| "realm": "Demo-Realm", | |
| "notBefore": 0, | |
| "revokeRefreshToken": false, | |
| "refreshTokenMaxReuse": 0, | |
| "accessTokenLifespan": 300, | |
| "accessTokenLifespanForImplicitFlow": 900, | |
| "ssoSessionIdleTimeout": 1800, | |
| "ssoSessionMaxLifespan": 36000, | 
| { | |
| "info": { | |
| "_postman_id": "55e9873b-b947-49c8-9fca-a98a8ac41587", | |
| "name": "keycloak", | |
| "schema": "https://schema.getpostman.com/json/collection/v2.1.0/collection.json" | |
| }, | |
| "item": [ | |
| { | |
| "name": "token-employee1", | |
| "request": { | 
| { | |
| "aud": [ | |
| "server" | |
| ], | |
| "iat": 1621503452, | |
| "auth_time": 1621503452, | |
| "exp": 1621539452, | |
| "iss": "http://localhost:8080/auth/realms/Demo-Realm", | |
| "sub": "user", | |
| "scope": "openid", |