Skip to content

Commit e6668e9

Browse files
committed
Merge branch 'release/2.0.0'
2 parents c9019bd + 343c696 commit e6668e9

File tree

96 files changed

+9332
-1849
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

96 files changed

+9332
-1849
lines changed

.github/workflows/deploy.yaml

Lines changed: 31 additions & 27 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
#
2-
# Copyright © ${year} Dominokit
2+
# Copyright © 2019 Dominokit
33
#
44
# Licensed under the Apache License, Version 2.0 (the "License");
55
# you may not use this file except in compliance with the License.
@@ -18,45 +18,49 @@ name: Deploy
1818

1919
on:
2020
push:
21-
branches: [ master , development ]
21+
branches: [ master, development ]
2222

2323
jobs:
2424
verify:
25-
runs-on: ubuntu-20.04
26-
strategy:
27-
matrix:
28-
java-version: [ 11 ]
25+
runs-on: ubuntu-latest
2926
steps:
3027
- name: Check out Git repository
31-
uses: actions/checkout@v3
32-
- name: Install Java and Maven
33-
uses: actions/setup-java@v3
28+
uses: actions/checkout@v4
29+
30+
- name: Set up Java
31+
uses: actions/setup-java@v4
3432
with:
35-
java-version: ${{ matrix.java-version }}
36-
distribution: 'temurin'
37-
- run: mvn verify -B -e
33+
java-version: 17
34+
distribution: temurin
35+
cache: maven
36+
37+
- name: Run Maven verify
38+
run: mvn verify -B -e
3839

3940
release:
4041
needs: verify
41-
runs-on: ubuntu-20.04
42+
runs-on: ubuntu-latest
4243
steps:
4344
- name: Check out Git repository
44-
uses: actions/checkout@v3
45+
uses: actions/checkout@v4
4546

46-
- name: Install Java and Maven
47-
uses: actions/setup-java@v3
47+
- name: Set up Java for deployment
48+
uses: actions/setup-java@v4
4849
with:
49-
java-version: 11
50-
distribution: 'temurin'
51-
server-id: ossrh
52-
server-username: SONATYPE_USERNAME
53-
server-password: SONATYPE_PASSWORD
54-
- id: install-secret-key
55-
name: Install gpg secret key
50+
java-version: 17
51+
distribution: temurin
52+
cache: maven
53+
server-id: 'central'
54+
server-username: CENTRAL_USER
55+
server-password: CENTRAL_TOKEN
56+
- name: Import GPG key
5657
run: |
57-
cat <(echo -e "${{ secrets.gpg_private_key }}") | gpg --batch --import
58-
- name: publish to snapshot
58+
echo "${{ secrets.gpg_private_key }}" | gpg --batch --import
59+
env:
60+
GPG_TTY: $(tty)
61+
- name: Deploy with Maven
5962
run: mvn --no-transfer-progress clean deploy -B -e -Dci=true -Dgpg.passphrase=${{ secrets.gpg_passphrase }}
6063
env:
61-
SONATYPE_USERNAME: ${{ secrets.nexus_username }}
62-
SONATYPE_PASSWORD: ${{ secrets.nexus_password }}
64+
CENTRAL_USER: ${{ secrets.CENTRAL_USER }}
65+
CENTRAL_TOKEN: ${{ secrets.CENTRAL_TOKEN }}
66+

.github/workflows/verify.yaml

Lines changed: 39 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,39 @@
1+
#
2+
# Copyright © ${year} Dominokit
3+
#
4+
# Licensed under the Apache License, Version 2.0 (the "License");
5+
# you may not use this file except in compliance with the License.
6+
# You may obtain a copy of the License at
7+
#
8+
# http://www.apache.org/licenses/LICENSE-2.0
9+
#
10+
# Unless required by applicable law or agreed to in writing, software
11+
# distributed under the License is distributed on an "AS IS" BASIS,
12+
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13+
# See the License for the specific language governing permissions and
14+
# limitations under the License.
15+
#
16+
17+
name: Verify
18+
19+
on:
20+
pull_request:
21+
types: [assigned, opened, synchronize, reopened]
22+
23+
jobs:
24+
verify:
25+
runs-on: ubuntu-latest
26+
27+
steps:
28+
- name: Check out Git repository
29+
uses: actions/checkout@v4
30+
31+
- name: Set up Java and Maven
32+
uses: actions/setup-java@v4
33+
with:
34+
java-version: 17
35+
distribution: temurin
36+
37+
- name: Run Maven verify
38+
run: mvn verify -B -e
39+

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
![logoimage](https://raw.githubusercontent.com/DominoKit/DominoKit.github.io/master/logo/128.png)
22

3-
<a title="Gitter" href="https://gitter.im/DominoKit/domino"><img src="https://badges.gitter.im/Join%20Chat.svg"></a>
3+
<a title="elements" href="https://matrix.to/#/#DominoKit_domino:gitter.im"><img src="https://badges.gitter.im/Join%20Chat.svg"></a>
44
[![Development Build Status](https://github.com/DominoKit/domino-rest/actions/workflows/deploy.yaml/badge.svg?branch=development)](https://github.com/DominoKit/domino-rest/actions/workflows/deploy.yaml/badge.svg?branch=development)
55
[![Maven Central](https://maven-badges.herokuapp.com/maven-central/org.dominokit/domino-rest/badge.svg?style=plastic)](https://maven-badges.herokuapp.com/maven-central/org.dominokit/domino-rest)
66
![Sonatype Nexus (Snapshots)](https://img.shields.io/badge/Snapshot-HEAD--SNAPSHOT-orange)

domino-rest-client-test/pom.xml

Lines changed: 104 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,104 @@
1+
<?xml version="1.0" encoding="UTF-8"?>
2+
3+
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
4+
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
5+
<parent>
6+
<artifactId>domino-rest</artifactId>
7+
<groupId>org.dominokit</groupId>
8+
<version>2.0.0</version>
9+
</parent>
10+
<modelVersion>4.0.0</modelVersion>
11+
<packaging>gwt-lib</packaging>
12+
<artifactId>domino-rest-client-test</artifactId>
13+
14+
<name>domino-rest-client-test</name>
15+
<properties>
16+
<junit-jupiter.version>5.7.0</junit-jupiter.version>
17+
</properties>
18+
19+
<dependencies>
20+
<dependency>
21+
<groupId>org.dominokit</groupId>
22+
<artifactId>domino-rest-client</artifactId>
23+
<version>${project.version}</version>
24+
<scope>test</scope>
25+
</dependency>
26+
<dependency>
27+
<groupId>org.dominokit</groupId>
28+
<artifactId>domino-rest-processor</artifactId>
29+
<version>${project.version}</version>
30+
<scope>test</scope>
31+
</dependency>
32+
33+
<dependency>
34+
<groupId>org.dominokit</groupId>
35+
<artifactId>domino-rest-jaxrs</artifactId>
36+
<version>${project.version}</version>
37+
<scope>test</scope>
38+
</dependency>
39+
<dependency>
40+
<groupId>org.gwtproject</groupId>
41+
<artifactId>gwt-user</artifactId>
42+
<version>${gwt.version}</version>
43+
<scope>test</scope>
44+
</dependency>
45+
46+
<dependency>
47+
<groupId>org.gwtproject</groupId>
48+
<artifactId>gwt-dev</artifactId>
49+
<version>${gwt.version}</version>
50+
<scope>test</scope>
51+
</dependency>
52+
53+
<dependency>
54+
<groupId>junit</groupId>
55+
<artifactId>junit</artifactId>
56+
<version>4.13.2</version>
57+
<scope>test</scope>
58+
</dependency>
59+
60+
<dependency>
61+
<groupId>org.gwtproject.regexp</groupId>
62+
<artifactId>gwt-regexp</artifactId>
63+
<version>1.0.0-RC1</version>
64+
<exclusions>
65+
<exclusion>
66+
<groupId>com.google.elemental2</groupId>
67+
<artifactId>elemental2-core</artifactId>
68+
</exclusion>
69+
<exclusion>
70+
<groupId>com.google.elemental2</groupId>
71+
<artifactId>elemental2-dom</artifactId>
72+
</exclusion>
73+
<exclusion>
74+
<groupId>com.google.elemental2</groupId>
75+
<artifactId>elemental2-promise</artifactId>
76+
</exclusion>
77+
</exclusions>
78+
<scope>test</scope>
79+
</dependency>
80+
81+
</dependencies>
82+
83+
<build>
84+
<plugins>
85+
<plugin>
86+
<groupId>net.ltgt.gwt.maven</groupId>
87+
<artifactId>gwt-maven-plugin</artifactId>
88+
<extensions>true</extensions>
89+
<configuration>
90+
<moduleName>org.dominokit.rest.RestTest</moduleName>
91+
<moduleShortName>dominoresttest</moduleShortName>
92+
</configuration>
93+
</plugin>
94+
95+
<plugin>
96+
<groupId>org.sonatype.central</groupId>
97+
<artifactId>central-publishing-maven-plugin</artifactId>
98+
<configuration>
99+
<skipPublishing>true</skipPublishing>
100+
</configuration>
101+
</plugin>
102+
</plugins>
103+
</build>
104+
</project>
Lines changed: 34 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,34 @@
1+
/*
2+
* Copyright © 2019 Dominokit
3+
*
4+
* Licensed under the Apache License, Version 2.0 (the "License");
5+
* you may not use this file except in compliance with the License.
6+
* You may obtain a copy of the License at
7+
*
8+
* http://www.apache.org/licenses/LICENSE-2.0
9+
*
10+
* Unless required by applicable law or agreed to in writing, software
11+
* distributed under the License is distributed on an "AS IS" BASIS,
12+
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13+
* See the License for the specific language governing permissions and
14+
* limitations under the License.
15+
*/
16+
package org.dominokit.rest;
17+
18+
import com.google.gwt.junit.tools.GWTTestSuite;
19+
import junit.framework.Test;
20+
import junit.framework.TestSuite;
21+
import org.dominokit.rest.client.ServicePathGwtTest;
22+
import org.dominokit.rest.client.UrlFormatterGwtTest;
23+
import org.dominokit.rest.client.UrlSplitUtilGwtTest;
24+
25+
public class DominoRestTestSuite extends GWTTestSuite {
26+
public static Test suite() {
27+
TestSuite suite = new TestSuite("Tests for client domino-rest");
28+
suite.addTestSuite(UrlSplitUtilGwtTest.class);
29+
suite.addTestSuite(UrlFormatterGwtTest.class);
30+
suite.addTestSuite(ServicePathGwtTest.class);
31+
32+
return suite;
33+
}
34+
}

0 commit comments

Comments
 (0)