Skip to content

Latest commit

 

History

History
55 lines (36 loc) · 1.61 KB

README.md

File metadata and controls

55 lines (36 loc) · 1.61 KB

Airline Ticket Reservation System (ATRS)

GitHub

Airline Ticket Reservation System (ATRS) is a sample application for developers to learn how to make applications with TERASOLUNA Batch Framework for Java (5.x).

Note TERASOLUNA is a customized framework based on Macchinetta by NTT DATA. TERASOLUNA shares [ATRS published on Macchinetta](GitHub - Macchinetta/atrs-batch) as a sample application. Therefore, we did not change the license headers and package names from ATRS of Macchinetta in this ATRS of TERASOLUNA.

Version mapping

The version mapping between TERASOLUNA and Macchinetta in ATRS is here.

How to run the application

Install PostgreSQL

You need to create a database of PostgreSQL on a local machine. (PostgreSQL can be downloaded via here site.)

Property Value
database name atrs_batch
user name postgres
password postgres

Insert test data

Execute the following command to initialize DB.

$ cd C:\atrs-batch
$ mvn sql:execute

Build

$ mvn clean package

Run sample jobs

  • Update flight information
$ scripts\JBBA01001.bat
  • Export flight information
$ scripts\JBBA02001.bat