kie-platform/drools-framework-base-tools-parent/drools-framework-examples/drools-framework-swimmingpool-web-ui
Nicolas Héron 34957adcbb oubli
2019-08-06 11:17:10 +02:00
..
src/main oubli 2019-08-06 11:17:10 +02:00
.bowerrc refactoring and adding camel business proxy 2018-12-29 23:05:41 +01:00
bower.json upgrade version to 1.1-SNAPSHOT 2019-04-10 11:41:03 +02:00
Gruntfile.js refactoring and adding camel business proxy 2018-12-29 23:05:41 +01:00
package-lock.json refactoring and adding camel business proxy 2018-12-29 23:05:41 +01:00
package.json refactoring and adding camel business proxy 2018-12-29 23:05:41 +01:00
pom.xml upgrade to 7.24.0.Final 2019-08-06 11:12:20 +02:00
readme.cmd refactoring and adding camel business proxy 2018-12-29 23:05:41 +01:00

postgres DB init

CREATE USER loyaltyweb WITH PASSWORD 'loyaltyweb';
create database loyaltyweb;
GRANT ALL PRIVILEGES ON DATABASE loyaltyweb to loyaltyweb;

then connect as loyaltyweb user

CREATE TABLE product_list
(
  id integer NOT NULL,
  price real,
  product_name character varying(255),
  provider_name character varying(255),
  CONSTRAINT product_list_pkey PRIMARY KEY (id)
)
WITH (
  OIDS=FALSE
);
ALTER TABLE product_list
  OWNER TO loyaltyweb;

INSERT INTO product_list(
            id, price, product_name, provider_name)
    VALUES (1, 1.5, 'Evian', 'Evian');

INSERT INTO product_list(
            id, price, product_name, provider_name)
    VALUES (2, 25.25, 'Pampers', 'Pampers');

INSERT INTO product_list(
            id, price, product_name, provider_name)
    VALUES (3, 12.5, '1664 Beer', 'Heineken');

INSERT INTO product_list(
            id, price, product_name, provider_name)
    VALUES (4, 25.25, 'Chedar cheese', 'AxonIvy');

INSERT INTO product_list(
            id, price, product_name, provider_name)
    VALUES (5, 5.0, 'Clone Wars', 'Lucas');

INSERT INTO product_list(
            id, price, product_name, provider_name)
    VALUES (6, 500.25, 'XBOX', 'Microsoft');

INSERT INTO product_list(
            id, price, product_name, provider_name)
    VALUES (7, 55.5, 'Requiem Mozart', 'Philips');

INSERT INTO product_list(
            id, price, product_name, provider_name)
    VALUES (8, 65.5, 'Hair Shampoon', 'I AM WORTH IT');

INSERT INTO product_list(
            id, price, product_name, provider_name)
    VALUES (9, 25.0, 'Orance Juice water', 'Self Made Corportation');

INSERT INTO product_list(
            id, price, product_name, provider_name)
    VALUES (10, 25.25, 'Red Wine', 'Bordeaux');