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

Commit d254af4

Browse files
committed
Release P6 Core 6.0.2
1 parent 895fae2 commit d254af4

File tree

21 files changed

+2213
-33
lines changed

21 files changed

+2213
-33
lines changed

docker-compose/deploy/app-developer/.env

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
PGSQL_VERSION=11.7-alpine
22
P6CORE_IMAGE_ID=amalto/platform6
3-
P6CORE_VERSION=6.0.1
3+
P6CORE_VERSION=latest
44
P6CORE_DATA=p6core.data
55
PROXY_ENV=prod
66
INSTANCE_ID=unnamed

docker-compose/deploy/demobc-developer/.env

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
PGSQL_VERSION=11.7-alpine
22
P6CORE_IMAGE_ID=amalto/platform6
3-
P6CORE_VERSION=6.0.1
3+
P6CORE_VERSION=latest
44
P6CORE_DATA=p6core.data
55
PROXY_ENV=prod
66
INSTANCE_ID=unnamed

docker-compose/deploy/failover-server/.env

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
PGSQL_VERSION=11.7-alpine
22
NGINX_VERSION=1.17.9
3-
P6CORE_VERSION=6.0.1
3+
P6CORE_VERSION=latest
44
P6CORE_IMAGE_ID=amalto/platform6
55
P6CORE_DATA=p6core.data
66
INSTANCE_ID=unnamed

docker-compose/deploy/standalone-server-nginx/.env

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
PGSQL_VERSION=11.7-alpine
22
NGINX_VERSION=1.17.9
3-
P6CORE_VERSION=6.0.1
3+
P6CORE_VERSION=latest
44
P6CORE_IMAGE_ID=amalto/platform6
55
P6CORE_DATA=p6core.data
66
INSTANCE_ID=unnamed

docker-compose/deploy/standalone-server-traefik/.env

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
PGSQL_VERSION=11.7-alpine
22
TRAEFIK_VERSION=v2.1
3-
P6CORE_VERSION=6.0.1
3+
P6CORE_VERSION=latest
44
P6CORE_IMAGE_ID=amalto/platform6
55
P6CORE_DATA=p6core.data
66
INSTANCE_ID=unnamed

docker-compose/deploy/standalone-server/.env

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
PGSQL_VERSION=11.7-alpine
22
P6CORE_IMAGE_ID=amalto/platform6
3-
P6CORE_VERSION=6.0.1
3+
P6CORE_VERSION=latest
44
P6CORE_DATA=p6core.data
55
INSTANCE_ID=unnamed
66
PLATFORM6_DATA_PATH=~/platform6/instances

docker-compose/reference/dev/p6init.sql

Lines changed: 104 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -42,8 +42,8 @@ ALTER ROLE postgres WITH SUPERUSER INHERIT CREATEROLE CREATEDB LOGIN REPLICATION
4242
-- PostgreSQL database dump
4343
--
4444

45-
-- Dumped from database version 11.3
46-
-- Dumped by pg_dump version 11.3
45+
-- Dumped from database version 11.7
46+
-- Dumped by pg_dump version 11.7
4747

4848
SET statement_timeout = 0;
4949
SET lock_timeout = 0;
@@ -123,8 +123,8 @@ GRANT CONNECT ON DATABASE template1 TO PUBLIC;
123123
-- PostgreSQL database dump
124124
--
125125

126-
-- Dumped from database version 11.3
127-
-- Dumped by pg_dump version 11.3
126+
-- Dumped from database version 11.7
127+
-- Dumped by pg_dump version 11.7
128128

129129
SET statement_timeout = 0;
130130
SET lock_timeout = 0;
@@ -309,8 +309,17 @@ ALTER TABLE p6core.item OWNER TO b2box;
309309
-- Name: log; Type: TABLE; Schema: p6core; Owner: b2box
310310
--
311311

312-
CREATE TABLE p6core.log PARTITION OF p6core.item
313-
FOR VALUES IN ('LOG');
312+
CREATE TABLE p6core.log (
313+
datapartition p6core.itempartitiontype NOT NULL,
314+
datatype character varying(64) NOT NULL,
315+
iid1 character varying(256) NOT NULL,
316+
iid2 character varying(96) NOT NULL,
317+
iid3 character varying(96) NOT NULL,
318+
iid4 character varying(96) NOT NULL,
319+
content xml NOT NULL,
320+
inserttime bigint
321+
);
322+
ALTER TABLE ONLY p6core.item ATTACH PARTITION p6core.log FOR VALUES IN ('LOG');
314323

315324

316325
ALTER TABLE p6core.log OWNER TO b2box;
@@ -349,8 +358,17 @@ ALTER TABLE p6core.serviceconfig OWNER TO b2box;
349358
-- Name: table_data; Type: TABLE; Schema: p6core; Owner: b2box
350359
--
351360

352-
CREATE TABLE p6core.table_data PARTITION OF p6core.item
353-
FOR VALUES IN ('TABLE_DATA');
361+
CREATE TABLE p6core.table_data (
362+
datapartition p6core.itempartitiontype NOT NULL,
363+
datatype character varying(64) NOT NULL,
364+
iid1 character varying(256) NOT NULL,
365+
iid2 character varying(96) NOT NULL,
366+
iid3 character varying(96) NOT NULL,
367+
iid4 character varying(96) NOT NULL,
368+
content xml NOT NULL,
369+
inserttime bigint
370+
);
371+
ALTER TABLE ONLY p6core.item ATTACH PARTITION p6core.table_data FOR VALUES IN ('TABLE_DATA');
354372

355373

356374
ALTER TABLE p6core.table_data OWNER TO b2box;
@@ -359,8 +377,17 @@ ALTER TABLE p6core.table_data OWNER TO b2box;
359377
-- Name: transaction; Type: TABLE; Schema: p6core; Owner: b2box
360378
--
361379

362-
CREATE TABLE p6core.transaction PARTITION OF p6core.item
363-
FOR VALUES IN ('TRANSACTION');
380+
CREATE TABLE p6core.transaction (
381+
datapartition p6core.itempartitiontype NOT NULL,
382+
datatype character varying(64) NOT NULL,
383+
iid1 character varying(256) NOT NULL,
384+
iid2 character varying(96) NOT NULL,
385+
iid3 character varying(96) NOT NULL,
386+
iid4 character varying(96) NOT NULL,
387+
content xml NOT NULL,
388+
inserttime bigint
389+
);
390+
ALTER TABLE ONLY p6core.item ATTACH PARTITION p6core.transaction FOR VALUES IN ('TRANSACTION');
364391

365392

366393
ALTER TABLE p6core.transaction OWNER TO b2box;
@@ -426,7 +453,8 @@ COPY p6core.flyway_schema_history (installed_rank, version, description, type, s
426453
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
427454
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
428455
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
429-
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
456+
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
457+
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
430458
\.
431459

432460

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

708736

737+
--
738+
-- Name: item_mi_fts_idx01; Type: INDEX; Schema: p6core; Owner: b2box
739+
--
740+
741+
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));
742+
743+
744+
--
745+
-- Name: item_mi_fts_idx02; Type: INDEX; Schema: p6core; Owner: b2box
746+
--
747+
748+
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));
749+
750+
751+
--
752+
-- Name: item_mi_fts_idx03; Type: INDEX; Schema: p6core; Owner: b2box
753+
--
754+
755+
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));
756+
757+
758+
--
759+
-- Name: item_mi_fts_idx04; Type: INDEX; Schema: p6core; Owner: b2box
760+
--
761+
762+
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));
763+
764+
765+
--
766+
-- Name: item_mi_fts_idx05; Type: INDEX; Schema: p6core; Owner: b2box
767+
--
768+
769+
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));
770+
771+
709772
--
710773
-- Name: item_mi_idx01; Type: INDEX; Schema: p6core; Owner: b2box
711774
--
@@ -769,6 +832,34 @@ CREATE INDEX item_ti_fts_idx04 ON p6core.transaction USING gist (to_tsvector('en
769832
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);
770833

771834

835+
--
836+
-- Name: item_ti_idx01; Type: INDEX; Schema: p6core; Owner: b2box
837+
--
838+
839+
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);
840+
841+
842+
--
843+
-- Name: item_ti_idx02; Type: INDEX; Schema: p6core; Owner: b2box
844+
--
845+
846+
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);
847+
848+
849+
--
850+
-- Name: item_ti_idx03; Type: INDEX; Schema: p6core; Owner: b2box
851+
--
852+
853+
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);
854+
855+
856+
--
857+
-- Name: item_ti_idx04; Type: INDEX; Schema: p6core; Owner: b2box
858+
--
859+
860+
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);
861+
862+
772863
--
773864
-- Name: log_datatype_idx; Type: INDEX; Schema: p6core; Owner: b2box
774865
--
@@ -819,8 +910,8 @@ GRANT ALL ON DATABASE b2box TO b2box;
819910
-- PostgreSQL database dump
820911
--
821912

822-
-- Dumped from database version 11.3
823-
-- Dumped by pg_dump version 11.3
913+
-- Dumped from database version 11.7
914+
-- Dumped by pg_dump version 11.7
824915

825916
SET statement_timeout = 0;
826917
SET lock_timeout = 0;

docker-compose/reference/dev/p6init_with_demoapp.sql

Lines changed: 105 additions & 14 deletions
Large diffs are not rendered by default.
Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
instance.id: ${?p6core_instance_id}
2+
3+
p6auth {
4+
5+
client {
6+
id: ${?p6auth_client_id}
7+
secret: ${?p6auth_client_secret}
8+
}
9+
10+
}
11+
12+
p6 {
13+
# Add any p6 specific configuration here...
14+
}
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
Marker file to ensure folder is tracked in git
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
Marker file to ensure folder is tracked in git
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
Note: PKI certificate files should be stored in this folder.
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
Marker file to ensure folder is tracked in git
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
Marker file to ensure folder is tracked in git
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
Marker file to ensure folder is tracked in git
Binary file not shown.
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
Marker file to ensure folder is tracked in git
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
Marker file to ensure folder is tracked in git
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
Marker file to ensure folder is tracked in git

0 commit comments

Comments
 (0)