Skip to content
This repository was archived by the owner on Aug 27, 2024. It is now read-only.

Commit

Permalink
Release P6 Core 6.0.2
Browse files Browse the repository at this point in the history
  • Loading branch information
choucrifahed committed Mar 25, 2020
1 parent 895fae2 commit d254af4
Show file tree
Hide file tree
Showing 21 changed files with 2,213 additions and 33 deletions.
2 changes: 1 addition & 1 deletion docker-compose/deploy/app-developer/.env
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
PGSQL_VERSION=11.7-alpine
P6CORE_IMAGE_ID=amalto/platform6
P6CORE_VERSION=6.0.1
P6CORE_VERSION=latest
P6CORE_DATA=p6core.data
PROXY_ENV=prod
INSTANCE_ID=unnamed
Expand Down
2 changes: 1 addition & 1 deletion docker-compose/deploy/demobc-developer/.env
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
PGSQL_VERSION=11.7-alpine
P6CORE_IMAGE_ID=amalto/platform6
P6CORE_VERSION=6.0.1
P6CORE_VERSION=latest
P6CORE_DATA=p6core.data
PROXY_ENV=prod
INSTANCE_ID=unnamed
Expand Down
2 changes: 1 addition & 1 deletion docker-compose/deploy/failover-server/.env
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
PGSQL_VERSION=11.7-alpine
NGINX_VERSION=1.17.9
P6CORE_VERSION=6.0.1
P6CORE_VERSION=latest
P6CORE_IMAGE_ID=amalto/platform6
P6CORE_DATA=p6core.data
INSTANCE_ID=unnamed
Expand Down
2 changes: 1 addition & 1 deletion docker-compose/deploy/standalone-server-nginx/.env
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
PGSQL_VERSION=11.7-alpine
NGINX_VERSION=1.17.9
P6CORE_VERSION=6.0.1
P6CORE_VERSION=latest
P6CORE_IMAGE_ID=amalto/platform6
P6CORE_DATA=p6core.data
INSTANCE_ID=unnamed
Expand Down
2 changes: 1 addition & 1 deletion docker-compose/deploy/standalone-server-traefik/.env
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
PGSQL_VERSION=11.7-alpine
TRAEFIK_VERSION=v2.1
P6CORE_VERSION=6.0.1
P6CORE_VERSION=latest
P6CORE_IMAGE_ID=amalto/platform6
P6CORE_DATA=p6core.data
INSTANCE_ID=unnamed
Expand Down
2 changes: 1 addition & 1 deletion docker-compose/deploy/standalone-server/.env
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
PGSQL_VERSION=11.7-alpine
P6CORE_IMAGE_ID=amalto/platform6
P6CORE_VERSION=6.0.1
P6CORE_VERSION=latest
P6CORE_DATA=p6core.data
INSTANCE_ID=unnamed
PLATFORM6_DATA_PATH=~/platform6/instances
Expand Down
117 changes: 104 additions & 13 deletions docker-compose/reference/dev/p6init.sql
Original file line number Diff line number Diff line change
Expand Up @@ -42,8 +42,8 @@ ALTER ROLE postgres WITH SUPERUSER INHERIT CREATEROLE CREATEDB LOGIN REPLICATION
-- PostgreSQL database dump
--

-- Dumped from database version 11.3
-- Dumped by pg_dump version 11.3
-- Dumped from database version 11.7
-- Dumped by pg_dump version 11.7

SET statement_timeout = 0;
SET lock_timeout = 0;
Expand Down Expand Up @@ -123,8 +123,8 @@ GRANT CONNECT ON DATABASE template1 TO PUBLIC;
-- PostgreSQL database dump
--

-- Dumped from database version 11.3
-- Dumped by pg_dump version 11.3
-- Dumped from database version 11.7
-- Dumped by pg_dump version 11.7

SET statement_timeout = 0;
SET lock_timeout = 0;
Expand Down Expand Up @@ -309,8 +309,17 @@ ALTER TABLE p6core.item OWNER TO b2box;
-- Name: log; Type: TABLE; Schema: p6core; Owner: b2box
--

CREATE TABLE p6core.log PARTITION OF p6core.item
FOR VALUES IN ('LOG');
CREATE TABLE p6core.log (
datapartition p6core.itempartitiontype NOT NULL,
datatype character varying(64) NOT NULL,
iid1 character varying(256) NOT NULL,
iid2 character varying(96) NOT NULL,
iid3 character varying(96) NOT NULL,
iid4 character varying(96) NOT NULL,
content xml NOT NULL,
inserttime bigint
);
ALTER TABLE ONLY p6core.item ATTACH PARTITION p6core.log FOR VALUES IN ('LOG');


ALTER TABLE p6core.log OWNER TO b2box;
Expand Down Expand Up @@ -349,8 +358,17 @@ ALTER TABLE p6core.serviceconfig OWNER TO b2box;
-- Name: table_data; Type: TABLE; Schema: p6core; Owner: b2box
--

CREATE TABLE p6core.table_data PARTITION OF p6core.item
FOR VALUES IN ('TABLE_DATA');
CREATE TABLE p6core.table_data (
datapartition p6core.itempartitiontype NOT NULL,
datatype character varying(64) NOT NULL,
iid1 character varying(256) NOT NULL,
iid2 character varying(96) NOT NULL,
iid3 character varying(96) NOT NULL,
iid4 character varying(96) NOT NULL,
content xml NOT NULL,
inserttime bigint
);
ALTER TABLE ONLY p6core.item ATTACH PARTITION p6core.table_data FOR VALUES IN ('TABLE_DATA');


ALTER TABLE p6core.table_data OWNER TO b2box;
Expand All @@ -359,8 +377,17 @@ ALTER TABLE p6core.table_data OWNER TO b2box;
-- Name: transaction; Type: TABLE; Schema: p6core; Owner: b2box
--

CREATE TABLE p6core.transaction PARTITION OF p6core.item
FOR VALUES IN ('TRANSACTION');
CREATE TABLE p6core.transaction (
datapartition p6core.itempartitiontype NOT NULL,
datatype character varying(64) NOT NULL,
iid1 character varying(256) NOT NULL,
iid2 character varying(96) NOT NULL,
iid3 character varying(96) NOT NULL,
iid4 character varying(96) NOT NULL,
content xml NOT NULL,
inserttime bigint
);
ALTER TABLE ONLY p6core.item ATTACH PARTITION p6core.transaction FOR VALUES IN ('TRANSACTION');


ALTER TABLE p6core.transaction OWNER TO b2box;
Expand Down Expand Up @@ -426,7 +453,8 @@ COPY p6core.flyway_schema_history (installed_rank, version, description, type, s
30 30 B2BOX5-2059 Remove p6rest registration SQL V30__B2BOX5-2059_Remove_p6rest_registration.sql 1031885722 b2box 2020-01-10 11:43:55.526183 8 t
31 31 B2BOX5-2048 Create instancedata table SQL V31__B2BOX5-2048_Create_instancedata_table.sql -2118184683 b2box 2020-02-20 18:14:02.649568 31 t
32 32 B2BOX5-2100 Simplify table field SQL V32__B2BOX5-2100_Simplify_table_field.sql 1117258956 b2box 2020-02-20 18:14:02.696593 5 t
33 33 P6CORE-28 TransactionMessage xpath indexes SQL V33__P6CORE-28_TransactionMessage_xpath_indexes.sql 226923796 b2box 2020-03-18 13:44:23.128842 38 t
33 33 P6CORE-28 TransactionMessage xpath indexes SQL V33__P6CORE-28_TransactionMessage_xpath_indexes.sql 453706835 b2box 2020-03-25 17:30:36.086775 37 t
34 34 P6CORE-216 Remove unused datasource attributes SQL V34__P6CORE-216_Remove_unused_datasource_attributes.sql -1034506901 b2box 2020-03-25 17:30:36.136025 3 t
\.


Expand Down Expand Up @@ -706,6 +734,41 @@ CREATE INDEX item_idx01 ON p6core.transaction USING btree (datapartition);
CREATE INDEX item_idx02 ON p6core.transaction USING btree (datatype);


--
-- Name: item_mi_fts_idx01; Type: INDEX; Schema: p6core; Owner: b2box
--

CREATE INDEX item_mi_fts_idx01 ON p6core.transaction USING gist (to_tsvector('english'::regconfig, public.array_to_string_i((xpath('/MessageInfo//text()'::text, content))::text[], ' '::text))) WHERE ((datapartition = 'TRANSACTION'::p6core.itempartitiontype) AND ((datatype)::text = 'TransactionInfo'::text));


--
-- Name: item_mi_fts_idx02; Type: INDEX; Schema: p6core; Owner: b2box
--

CREATE INDEX item_mi_fts_idx02 ON p6core.transaction USING gist (to_tsvector('english'::regconfig, public.array_to_string_i((xpath('/MessageInfo/CreationDate//text()'::text, content))::text[], ' '::text))) WHERE ((datapartition = 'TRANSACTION'::p6core.itempartitiontype) AND ((datatype)::text = 'TransactionInfo'::text));


--
-- Name: item_mi_fts_idx03; Type: INDEX; Schema: p6core; Owner: b2box
--

CREATE INDEX item_mi_fts_idx03 ON p6core.transaction USING gist (to_tsvector('english'::regconfig, public.array_to_string_i((xpath('/MessageInfo/BusinessDocName//text()'::text, content))::text[], ' '::text))) WHERE ((datapartition = 'TRANSACTION'::p6core.itempartitiontype) AND ((datatype)::text = 'TransactionInfo'::text));


--
-- Name: item_mi_fts_idx04; Type: INDEX; Schema: p6core; Owner: b2box
--

CREATE INDEX item_mi_fts_idx04 ON p6core.transaction USING gist (to_tsvector('english'::regconfig, public.array_to_string_i((xpath('/MessageInfo/BusinessDocNumber//text()'::text, content))::text[], ' '::text))) WHERE ((datapartition = 'TRANSACTION'::p6core.itempartitiontype) AND ((datatype)::text = 'TransactionInfo'::text));


--
-- Name: item_mi_fts_idx05; Type: INDEX; Schema: p6core; Owner: b2box
--

CREATE INDEX item_mi_fts_idx05 ON p6core.transaction USING gist (to_tsvector('english'::regconfig, public.array_to_string_i((xpath('/MessageInfo/LastStatusCode//text()'::text, content))::text[], ' '::text))) WHERE ((datapartition = 'TRANSACTION'::p6core.itempartitiontype) AND ((datatype)::text = 'TransactionInfo'::text));


--
-- Name: item_mi_idx01; Type: INDEX; Schema: p6core; Owner: b2box
--
Expand Down Expand Up @@ -769,6 +832,34 @@ CREATE INDEX item_ti_fts_idx04 ON p6core.transaction USING gist (to_tsvector('en
CREATE INDEX item_ti_fts_idx05 ON p6core.transaction USING gist (to_tsvector('english'::regconfig, public.array_to_string_i((xpath('/TransactionInfo/LastStatusCode//text()'::text, content))::text[], ' '::text))) WHERE ((datatype)::text = 'TransactionInfo'::text);


--
-- Name: item_ti_idx01; Type: INDEX; Schema: p6core; Owner: b2box
--

CREATE INDEX item_ti_idx01 ON p6core.transaction USING btree (((public.array_to_string_i((xpath('/TransactionInfo/CreationDate//text()'::text, content))::text[], ' '::text))::character varying(256))) WHERE ((datatype)::text = 'TransactionInfo'::text);


--
-- Name: item_ti_idx02; Type: INDEX; Schema: p6core; Owner: b2box
--

CREATE INDEX item_ti_idx02 ON p6core.transaction USING btree (((public.array_to_string_i((xpath('/TransactionInfo/BusinessDocName//text()'::text, content))::text[], ' '::text))::character varying(256))) WHERE ((datatype)::text = 'TransactionInfo'::text);


--
-- Name: item_ti_idx03; Type: INDEX; Schema: p6core; Owner: b2box
--

CREATE INDEX item_ti_idx03 ON p6core.transaction USING btree (((public.array_to_string_i((xpath('/TransactionInfo/BusinessDocNumber//text()'::text, content))::text[], ' '::text))::character varying(256))) WHERE ((datatype)::text = 'TransactionInfo'::text);


--
-- Name: item_ti_idx04; Type: INDEX; Schema: p6core; Owner: b2box
--

CREATE INDEX item_ti_idx04 ON p6core.transaction USING btree (((public.array_to_string_i((xpath('/TransactionInfo/LastStatusCode//text()'::text, content))::text[], ' '::text))::character varying(256))) WHERE ((datatype)::text = 'TransactionInfo'::text);


--
-- Name: log_datatype_idx; Type: INDEX; Schema: p6core; Owner: b2box
--
Expand Down Expand Up @@ -819,8 +910,8 @@ GRANT ALL ON DATABASE b2box TO b2box;
-- PostgreSQL database dump
--

-- Dumped from database version 11.3
-- Dumped by pg_dump version 11.3
-- Dumped from database version 11.7
-- Dumped by pg_dump version 11.7

SET statement_timeout = 0;
SET lock_timeout = 0;
Expand Down
119 changes: 105 additions & 14 deletions docker-compose/reference/dev/p6init_with_demoapp.sql

Large diffs are not rendered by default.

14 changes: 14 additions & 0 deletions docker-compose/reference/latest/p6core.data/conf/application.conf
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
instance.id: ${?p6core_instance_id}

p6auth {

client {
id: ${?p6auth_client_id}
secret: ${?p6auth_client_secret}
}

}

p6 {
# Add any p6 specific configuration here...
}
1 change: 1 addition & 0 deletions docker-compose/reference/latest/p6core.data/lib/.marker
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
Marker file to ensure folder is tracked in git
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
Marker file to ensure folder is tracked in git
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
Note: PKI certificate files should be stored in this folder.
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
Marker file to ensure folder is tracked in git
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
Marker file to ensure folder is tracked in git
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
Marker file to ensure folder is tracked in git
Binary file not shown.
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
Marker file to ensure folder is tracked in git
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
Marker file to ensure folder is tracked in git
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
Marker file to ensure folder is tracked in git
Loading

0 comments on commit d254af4

Please sign in to comment.