Skip to content

Latest commit

 

History

History
executable file
·
56 lines (40 loc) · 1.19 KB

File metadata and controls

executable file
·
56 lines (40 loc) · 1.19 KB

Currency Exchange Micro Service - H2

Resources

{
  "id": 10001,
  "from": "USD",
  "to": "INR",
  "conversionMultiple": 65.00,
  "environmentInfo": "NA"
}

H2 Console

Notes

Tables Created

create table exchange_value 
(
	id bigint not null, 
	conversion_multiple decimal(19,2), 
	currency_from varchar(255), 
	currency_to varchar(255), 
	primary key (id)
)

Containerization

Troubleshooting

Creating Container

  • mvn package

Running Container

Basic

docker container run --publish 8000:8000 in28min/currency-exchange:0.0.1-SNAPSHOT