Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

#66: Configure project keeper #68

Merged
merged 2 commits into from
Mar 14, 2023
Merged
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
2 changes: 2 additions & 0 deletions .project-keeper.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,8 @@ sources:
relativePath: "../pom.xml"
- type: maven
path: pom.xml
- type: npm
path: javascript-test/package.json
version:
fromSource: pom.xml
excludes:
Expand Down
2 changes: 2 additions & 0 deletions dependencies.md

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions doc/changes/changelog.md

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

12 changes: 12 additions & 0 deletions doc/changes/changes_1.0.4.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
# Tableau Connector 1.0.4, released 2023-??-??

Code name:

## Summary

## Features

## Refactoring

* #66: Configured JavaScript test module for Project Keeper

2 changes: 1 addition & 1 deletion javascript-test/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "tableau-connector-unit-tests",
"version": "1.0.3",
"version": "1.0.4",
"type": "commonjs",
"scripts": {
"test": "jest",
Expand Down
11 changes: 11 additions & 0 deletions javascript-test/versionNumber.test.js
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,11 @@ function readXmlFile(path) {
return xmlParser.toJson(content, { object: true })
}

function readJsonFile(path) {
const content = fs.readFileSync(path, 'utf8');
return JSON.parse(content)
}

/**
* @param {string} version the version to split
*/
Expand Down Expand Up @@ -51,6 +56,12 @@ describe(`Latest version number ${changelogVersion}`, () => {
expect(pomRevision).toBe(changelogVersion);
});

test("NPM package.json", () => {
const packageJson = readJsonFile("package.json");
const packageJsonVersion = packageJson.version;
expect(packageJsonVersion).toBe(changelogVersion);
});

["jdbc", "odbc"].forEach(type => {
test(`Manifest of ${type} driver`, () => {
const manifest = readXmlFile(`../src/exasol_${type}/manifest.xml`);
Expand Down
2 changes: 1 addition & 1 deletion pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
<version>${revision}</version>
</parent>
<properties>
<revision>1.0.3</revision>
<revision>1.0.4</revision>
</properties>
<modules>
<module>tableau-server-GUI-tests</module>
Expand Down
2 changes: 1 addition & 1 deletion src/exasol_jdbc/manifest.xml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<?xml version="1.0" encoding="utf-8" ?>

<connector-plugin class="exasol_jdbc" superclass="jdbc" plugin-version="1.0.3" name="Exasol JDBC" version="18.1" min-version-tableau="2022.1">
<connector-plugin class="exasol_jdbc" superclass="jdbc" plugin-version="1.0.4" name="Exasol JDBC" version="18.1" min-version-tableau="2022.1">
<vendor-information>
<company name="Exasol AG"/>
<support-link url="https://www.exasol.com"/>
Expand Down
2 changes: 1 addition & 1 deletion src/exasol_odbc/manifest.xml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<?xml version="1.0" encoding="utf-8" ?>

<connector-plugin class="exasol_odbc" superclass="odbc" plugin-version="1.0.3" name="Exasol ODBC" version="18.1" min-version-tableau="2022.1">
<connector-plugin class="exasol_odbc" superclass="odbc" plugin-version="1.0.4" name="Exasol ODBC" version="18.1" min-version-tableau="2022.1">
<vendor-information>
<company name="Exasol AG"/>
<support-link url="https://www.exasol.com/"/>
Expand Down