Skip to content
This repository has been archived by the owner on Feb 22, 2024. It is now read-only.

update build for jdk11 and wildfly-16 #101

Open
wants to merge 2 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 4 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -106,6 +106,10 @@ Older JAAS/PicketLink configuration can be still used, but you have to place it
* password: `perfrepouser1.`

* If you need more users, you have to add them manually into database.
```
insert into public.user (id, username, first_name, last_name, email, password) values (nextVal('user_sequence'), 'userName', 'first', 'last', 'email', encode(decode(md5('password'),'hex'),'base64'));
insert into user_group (user_id, group_id) values ((select id from public.user where username='userName'), (select id from public.group where name='perfrepouser'));
```

# Running tests

Expand Down
10 changes: 10 additions & 0 deletions model/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,16 @@
<name>Performance Result Repository Model</name>

<dependencies>
<dependency>
<groupId>javax.annotation</groupId>
<artifactId>javax.annotation-api</artifactId>
<version>1.3.2</version>
</dependency>
<dependency>
<groupId>javax.xml.bind</groupId>
<artifactId>jaxb-api</artifactId>
<version>2.3.0</version>
</dependency>
<dependency>
<groupId>javax.validation</groupId>
<artifactId>validation-api</artifactId>
Expand Down
8 changes: 4 additions & 4 deletions model/src/main/sql/db_schema_creation.sql
Original file line number Diff line number Diff line change
Expand Up @@ -374,15 +374,15 @@ ALTER TABLE ONLY test_execution
--

ALTER TABLE ONLY test_execution_tag
ADD CONSTRAINT test_execution_tag_pkey PRIMARY KEY (id);
ADD CONSTRAINT test_execution_tag_pkey PRIMARY KEY (tag_id);


--
-- Name: test_metric_pkey; Type: CONSTRAINT; Schema: public; Owner: perfrepo; Tablespace:
--

ALTER TABLE ONLY test_metric
ADD CONSTRAINT test_metric_pkey PRIMARY KEY (id);
ADD CONSTRAINT test_metric_pkey PRIMARY KEY (metric_id);


--
Expand Down Expand Up @@ -542,8 +542,8 @@ ALTER TABLE ONLY user_property
--

REVOKE ALL ON SCHEMA public FROM PUBLIC;
REVOKE ALL ON SCHEMA public FROM postgres;
GRANT ALL ON SCHEMA public TO postgres;
--REVOKE ALL ON SCHEMA public FROM postgres;
--GRANT ALL ON SCHEMA public TO postgres;
GRANT ALL ON SCHEMA public TO PUBLIC;

-----------------------------------------------------------------------------------------------
Expand Down
7 changes: 7 additions & 0 deletions web/src/main/webapp/WEB-INF/jboss-deployment-structure.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
<jboss-deployment-structure xmlns="urn:jboss:deployment-structure:1.0">
<deployment>
<dependencies>
<module name="jdk.xml.dom"/>
</dependencies>
</deployment>
</jboss-deployment-structure>