Skip to content

Commit

Permalink
[Release] Released for 1.6.0 (#268)
Browse files Browse the repository at this point in the history
  • Loading branch information
qianmoQ authored Mar 2, 2023
2 parents fcc24c9 + d0bfc91 commit 87485fb
Show file tree
Hide file tree
Showing 54 changed files with 312 additions and 79 deletions.
2 changes: 1 addition & 1 deletion client/datacap-cli/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
<parent>
<groupId>io.edurt.datacap</groupId>
<artifactId>datacap</artifactId>
<version>1.6.0-SNAPSHOT</version>
<version>1.6.0</version>
<relativePath>../../pom.xml</relativePath>
</parent>

Expand Down
2 changes: 1 addition & 1 deletion configure/publish/publish-newVersion.sh
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ job_runner_apply() {

printf "Apply new version for web ...\n"
# shellcheck disable=SC2164
cd "$HOME"/core/web/console-fe
cd "$HOME"/core/datacap-web/console-fe
npm version "$VERSION" --no-git-tag-version
if [ $? -ne 0 ]; then
printf "\nApply new version for web failed\n\n"
Expand Down
2 changes: 1 addition & 1 deletion core/datacap-common/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
<parent>
<groupId>io.edurt.datacap</groupId>
<artifactId>datacap</artifactId>
<version>1.6.0-SNAPSHOT</version>
<version>1.6.0</version>
<relativePath>../../pom.xml</relativePath>
</parent>

Expand Down
2 changes: 1 addition & 1 deletion core/datacap-parser/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
<parent>
<groupId>io.edurt.datacap</groupId>
<artifactId>datacap</artifactId>
<version>1.6.0-SNAPSHOT</version>
<version>1.6.0</version>
<relativePath>../../pom.xml</relativePath>
</parent>

Expand Down
2 changes: 1 addition & 1 deletion core/datacap-server/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
<parent>
<artifactId>datacap</artifactId>
<groupId>io.edurt.datacap</groupId>
<version>1.6.0-SNAPSHOT</version>
<version>1.6.0</version>
<relativePath>../../pom.xml</relativePath>
</parent>
<modelVersion>4.0.0</modelVersion>
Expand Down
2 changes: 1 addition & 1 deletion core/datacap-spi/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
<parent>
<artifactId>datacap</artifactId>
<groupId>io.edurt.datacap</groupId>
<version>1.6.0-SNAPSHOT</version>
<version>1.6.0</version>
<relativePath>../../pom.xml</relativePath>
</parent>
<modelVersion>4.0.0</modelVersion>
Expand Down
2 changes: 1 addition & 1 deletion core/datacap-web/console-fe/package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "datacap-fe",
"description": "DataCap console",
"version": "1.6.0-SNAPSHOT",
"version": "1.6.0",
"private": true,
"scripts": {
"dev": "vue-cli-service serve",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -101,11 +101,12 @@ export default defineComponent({
if (response.status) {
const header = response.data.headers[0];
response.data.columns.forEach(column => {
const data = new DataTree();
data.title = column[header];
data.database = item.database;
data.table = item.title;
data.level = DataTreeLevel.column;
const data = {
title: column[header],
database: item.database,
table: item.title,
level: DataTreeLevel.column
};
dataChildArray.push(data);
});
}
Expand Down
Binary file added docs/docs/assets/logo.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
2 changes: 1 addition & 1 deletion docs/docs/download.md
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ The current Trino release is version <img src="https://img.shields.io/github/v/r

<br />

[datacap-server-1.5.0.tar.gz](https://repo1.maven.org/maven2/io/edurt/datacap/datacap-server/1.5.0/datacap-server-1.5.0-release.tar.gz){ .md-button .md-button-primary }
[datacap-server-1.6.0.tar.gz](https://repo1.maven.org/maven2/io/edurt/datacap/datacap-server/1.6.0/datacap-server-1.6.0-release.tar.gz){ .md-button .md-button-primary }

- :material-more: __More package__

Expand Down
104 changes: 104 additions & 0 deletions docs/docs/reference/plugin/native/alioss.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,104 @@
#### What is Aliyun OSS ?

Fully managed object storage service to store and access any amount of data from anywhere

#### Environment

---

!!! note

If you need to use this data source, you need to upgrade the DataCap service to >= `1.6.x`

Support Time: `2023-02-23`

#### SQL statement syntax

---

This chapter describes the SQL syntax used in Aliyun OSS on DataCap.

##### SELECT

!!! note "Synopsis"

```sql
SELECT [ * | <Columns> ] select_expression [, ...]
FROM from_item [. ...]
```

where `from_item` is one of

```sql
table_name [ `a.b` | a.b | `a`.`b`]
```

!!! danger

When `table_name` is set to `all` the root directory is searched.

!!! note "Select expressions"

Each `select_expression` must be in one of the following forms:

```sql
expression [ column_alias ]
```

```sql
*
```

In the case of `expression [ column_alias ]`, a single output column is defined.

In the case of `*`, all columns of the relation defined by the query are included in the result set.

```sql
*
--------
data
```

!!! danger

If it is a multi-level directory, such as `/oss/id/2`, it will be written **\`oss\`.\`id\`.\`2\`**, and use `.` to split between directories.

#### Configure

---

DataCap uses configuration files by default [alioss.json](https://github.com/EdurtIO/datacap/blob/dev/server/src/main/etc/conf/plugins/native/alioss.json)

!!! note

If your Aliyun OSS service version requires other special configurations, please refer to modifying the configuration file and restarting the DataCap service.

=== "Configure"

| Field | Required | Default Value |
|:------:|:---------------------------------:|:-------------------------------------:|
| `Name` | :material-check-circle: { .red } | - |
| `Host` | :material-check-circle: { .red } | `https://oss-cn-regison.aliyuncs.com` |

=== "Authorization"

| Field | Required | Description | Default Value |
|:----------:|:---------------------------------:|:-------------:|:-------------:|
| `Username` | :material-check-circle: { .red } | access Id | - |
| `Password` | :material-check-circle: { .red } | access Secret | - |

=== "Advanced"

| Field | Required | Description | Default Value |
|:----------:|:--------------------------------:|:-----------:|:-------------:|
| `Database` | :material-check-circle: { .red } | bucket name | `default` |

#### Version (Validation)

---

!!! warning

The online service has not been tested yet, if you have detailed test results, please submit [issues](https://github.com/EdurtIO/datacap/issues/new/choose) to us

- [x] `all version`
54 changes: 54 additions & 0 deletions docs/docs/reference/update/1.6.0.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,54 @@
!!! note

To upgrade the software version `v1.6.0`, we need to go to the official website or the binary package distribution site to download the latest binary file of the software.

For details of `v1.6.0` release, please [click](../../release/1.6.0.md)

#### Require

!!! danger

Please take care to back up the current running service before updating

- Stop server

```bash
cd datacap
./bin/shutdown.sh
```

- Backing up the current service

```bash
mv datacap datacap.bak
```

- Decompress binaries

```bash
tar -xvzf datacap-server-1.6.0-release.tar.gz
```

#### Update schema

- Connect to the My SQL server and execute the following script file

```bash
cd schema/1.6.0
source update.sql
```

#### Update server

- Copy the service configuration file

```bash
cp -r -i datacap.bak/configure datacap/
```

- Restarting the Service

```bash
cd datacap
./bin/restart.sh
```
71 changes: 71 additions & 0 deletions docs/docs/release/1.5.0.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,71 @@
!!! note

The current release involves several major updates.

:tada: :tada: :tada: :tada: :tada: :tada: **DataCap is released** :tada: :tada: :tada: :tada: :tada: :tada:

| Release Version | Release Time |
|:---------------:|:------------:|
| `1.5.0` | `2023-02-16` |

#### General

---

- Support dsl query
- Remove incubator
- Add sql parser
- Refactor the module directories
- Set port default value is 0

#### SPI

---

- Fixed jdbc no password exception is configured

#### Web

---

- Support multi column sort

#### Plugins

---

- Support zookeeper for native

#### Docs

---

- Add powered by page

#### Redis (Native)

---

- Fixed mget,hget value is displayed as null #219

#### Dependencies

---

- Bump maven-javadoc-plugin from 2.10.4 to 3.4.1
- Bump ojdbc8 from 21.1.0.0 to 21.9.0.0
- Bump mongodb-jdbc from 2.0.0 to 2.0.2

#### Contributors

---

!!! danger

Many thanks to the following contributors for contributing to the source code of this release

In no particular order

| GitHub ID |
|:--------------:|
| @qianmoQ |
Loading

0 comments on commit 87485fb

Please sign in to comment.