Skip to content

Latest commit

 

History

History
27 lines (26 loc) · 1.02 KB

File metadata and controls

27 lines (26 loc) · 1.02 KB

switchyard-bp

  1. Build the project: mvn clean install
  2. Replace your server's standalone.xml with src/main/resources/standalone.xml
  3. Start JBoss AS 7 in standalone mode (other modes are fine too): ${AS}/bin/standalone.sh
  4. Create database table using h2 console. To do that download h2console.
  5. Open browser page http://localhost:8080/h2console
  6. Put following data in connection parameters
    • connection url: jdbc:h2:mem:test;DB_CLOSE_DELAY=-1
    • username: sa
    • password: sa
  7. Copy contents of src/main/resources/schema.sql file and execute query.
  8. Create some gas stations
    • INSERT INTO GasStation (id, name) VALUES (1, 'Test1')
    • INSERT INTO GasStation (id, name) VALUES (2, 'Test2')
  9. Deploy the project
  10. Open SoapUi
  11. Create SoapUi project
  12. Execute request, valid values for stationType are:
    • STATIC
    • DB
  13. Enjoy