From ec8984b226ffee84d28fc7b5a58cbf2d6f4172f7 Mon Sep 17 00:00:00 2001 From: polarityio Date: Sat, 15 Aug 2020 00:58:50 -0400 Subject: [PATCH 1/8] Uploading Github Action: run-int-dev-checklist.yml --- .github/workflows/run-int-dev-checklist.yml | 27 +++++++++++++++++++++ 1 file changed, 27 insertions(+) create mode 100644 .github/workflows/run-int-dev-checklist.yml diff --git a/.github/workflows/run-int-dev-checklist.yml b/.github/workflows/run-int-dev-checklist.yml new file mode 100644 index 0000000..546fdfe --- /dev/null +++ b/.github/workflows/run-int-dev-checklist.yml @@ -0,0 +1,27 @@ +# This workflow will run on a Pull Request is created on both master develop +# It run as series of checks from the Integration Developement Checklist + + +name: Run Integration Development Checklist + +on: + pull_request: + branches: [ master, develop ] + +jobs: + run-integration-development-checklist: + runs-on: ubuntu-latest + container: 'centos:7' + + steps: + - uses: actions/checkout@v2 + - uses: actions/setup-node@v1 + - name: Test NPM Install + id: test-npm-install + run: | + npm install + - name: Polarity Integration Development Checklist + id: int-dev-checklist + uses: polarityio/polarity-integration-development-checklist@v1.0.0 + with: + GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} From 4012335839a38c7d490675d57aeb2db8d21e12e0 Mon Sep 17 00:00:00 2001 From: polarityio Date: Sat, 15 Aug 2020 00:58:51 -0400 Subject: [PATCH 2/8] Uploading Github Action: release-current-version.yml --- .github/workflows/release-current-version.yml | 58 +++++++++++++++++++ 1 file changed, 58 insertions(+) create mode 100644 .github/workflows/release-current-version.yml diff --git a/.github/workflows/release-current-version.yml b/.github/workflows/release-current-version.yml new file mode 100644 index 0000000..c3dea28 --- /dev/null +++ b/.github/workflows/release-current-version.yml @@ -0,0 +1,58 @@ +# This workflow will run on merge of a PR or push to master +# It will run the integration developement checklist and if that passes +# creates a new release with the Release and Tag name both being the +# package.json version and will with a created tgz file and the SHA256 has in the release body + + +name: Release Current Version + +on: + push: + branches: [ master ] + +jobs: + release-current-version: + runs-on: ubuntu-latest + container: 'centos:7' + + steps: + - uses: actions/checkout@v2 + - uses: actions/setup-node@v1 + - name: Get NPM Version + id: package-version + uses: martinbeentjes/npm-get-version-action@95bc31c6dd3145896c110e382f840bb1e750d09c + - name: Create Build + id: create_build + run: | + npm install && + cd .. && + tar --exclude="./${{ github.event.repository.name }}/.git" --exclude="./${{ github.event.repository.name }}/.gitignore" --exclude="./${{ github.event.repository.name }}/package-lock.json" --exclude="./${{ github.event.repository.name }}/.github" -czvf "${{ github.event.repository.name }}-${{ steps.package-version.outputs.current-version }}.tgz" "./${{ github.event.repository.name }}" && + echo "::set-output name=build_hash::$(sha256sum '${{ github.event.repository.name }}-${{ steps.package-version.outputs.current-version }}.tgz' | grep -oE '^[^ ]*' )" && + cd ${{ github.event.repository.name }} + - name: Polarity Integration Development Checklist + id: int-dev-checklist + uses: polarityio/polarity-integration-development-checklist@v1.0.0 + with: + GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} + - name: Create Versioned Release + id: create_versioned_release + uses: actions/create-release@v1 + env: + GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} + with: + tag_name: ${{ steps.package-version.outputs.current-version}} + release_name: ${{ steps.package-version.outputs.current-version}} + body: | + SHA256: ${{ steps.create_build.outputs.build_hash }} + draft: false + prerelease: false + - name: Upload Release Asset + id: upload-release-asset + uses: actions/upload-release-asset@v1 + env: + GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} + with: + upload_url: ${{ steps.create_versioned_release.outputs.upload_url }} + asset_path: ../${{ github.event.repository.name }}-${{ steps.package-version.outputs.current-version}}.tgz + asset_name: ${{ github.event.repository.name }}-${{ steps.package-version.outputs.current-version}}.tgz + asset_content_type: application/gzip From b46989636992f6bf05e82bc603d25d1a11886263 Mon Sep 17 00:00:00 2001 From: polarityio Date: Mon, 9 Jan 2023 16:24:17 -0600 Subject: [PATCH 3/8] Updated Github Action: run-int-dev-checklist.yml --- .github/workflows/run-int-dev-checklist.yml | 10 +++------- 1 file changed, 3 insertions(+), 7 deletions(-) diff --git a/.github/workflows/run-int-dev-checklist.yml b/.github/workflows/run-int-dev-checklist.yml index 546fdfe..ffa86d7 100644 --- a/.github/workflows/run-int-dev-checklist.yml +++ b/.github/workflows/run-int-dev-checklist.yml @@ -1,12 +1,8 @@ -# This workflow will run on a Pull Request is created on both master develop -# It run as series of checks from the Integration Developement Checklist - - name: Run Integration Development Checklist on: pull_request: - branches: [ master, develop ] + branches: [ master, main, develop ] jobs: run-integration-development-checklist: @@ -19,9 +15,9 @@ jobs: - name: Test NPM Install id: test-npm-install run: | - npm install + npm ci - name: Polarity Integration Development Checklist id: int-dev-checklist - uses: polarityio/polarity-integration-development-checklist@v1.0.0 + uses: polarityio/polarity-integration-development-checklist@main with: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} From 88aba522442ddd30195eacba9b08c2ee39155ec8 Mon Sep 17 00:00:00 2001 From: polarityio Date: Mon, 9 Jan 2023 16:24:18 -0600 Subject: [PATCH 4/8] Updated Github Action: release-current-version.yml --- .github/workflows/release-current-version.yml | 57 ++----------------- 1 file changed, 5 insertions(+), 52 deletions(-) diff --git a/.github/workflows/release-current-version.yml b/.github/workflows/release-current-version.yml index c3dea28..6d6faae 100644 --- a/.github/workflows/release-current-version.yml +++ b/.github/workflows/release-current-version.yml @@ -1,58 +1,11 @@ -# This workflow will run on merge of a PR or push to master -# It will run the integration developement checklist and if that passes -# creates a new release with the Release and Tag name both being the -# package.json version and will with a created tgz file and the SHA256 has in the release body - - name: Release Current Version on: push: - branches: [ master ] + branches: [ master, main ] jobs: - release-current-version: - runs-on: ubuntu-latest - container: 'centos:7' - - steps: - - uses: actions/checkout@v2 - - uses: actions/setup-node@v1 - - name: Get NPM Version - id: package-version - uses: martinbeentjes/npm-get-version-action@95bc31c6dd3145896c110e382f840bb1e750d09c - - name: Create Build - id: create_build - run: | - npm install && - cd .. && - tar --exclude="./${{ github.event.repository.name }}/.git" --exclude="./${{ github.event.repository.name }}/.gitignore" --exclude="./${{ github.event.repository.name }}/package-lock.json" --exclude="./${{ github.event.repository.name }}/.github" -czvf "${{ github.event.repository.name }}-${{ steps.package-version.outputs.current-version }}.tgz" "./${{ github.event.repository.name }}" && - echo "::set-output name=build_hash::$(sha256sum '${{ github.event.repository.name }}-${{ steps.package-version.outputs.current-version }}.tgz' | grep -oE '^[^ ]*' )" && - cd ${{ github.event.repository.name }} - - name: Polarity Integration Development Checklist - id: int-dev-checklist - uses: polarityio/polarity-integration-development-checklist@v1.0.0 - with: - GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} - - name: Create Versioned Release - id: create_versioned_release - uses: actions/create-release@v1 - env: - GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} - with: - tag_name: ${{ steps.package-version.outputs.current-version}} - release_name: ${{ steps.package-version.outputs.current-version}} - body: | - SHA256: ${{ steps.create_build.outputs.build_hash }} - draft: false - prerelease: false - - name: Upload Release Asset - id: upload-release-asset - uses: actions/upload-release-asset@v1 - env: - GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} - with: - upload_url: ${{ steps.create_versioned_release.outputs.upload_url }} - asset_path: ../${{ github.event.repository.name }}-${{ steps.package-version.outputs.current-version}}.tgz - asset_name: ${{ github.event.repository.name }}-${{ steps.package-version.outputs.current-version}}.tgz - asset_content_type: application/gzip + Run: + uses: polarityio/polarity-github-actions/.github/workflows/release-server-versions-for-int-store.yml@master + # with: + # use-integration-development-checklist: false From 35e73244e67889dfaf40916c3babb404cf9fbc47 Mon Sep 17 00:00:00 2001 From: polarityio Date: Mon, 9 Jan 2023 16:40:42 -0600 Subject: [PATCH 5/8] Updated Github Action: run-int-dev-checklist.yml From 7a1331c7ee6b2912eb023331ed50211fb05e871a Mon Sep 17 00:00:00 2001 From: polarityio Date: Mon, 9 Jan 2023 16:40:43 -0600 Subject: [PATCH 6/8] Updated Github Action: release-current-version.yml From c2fa317467728b6be79b2c4224ab440211e7ece3 Mon Sep 17 00:00:00 2001 From: polarityio Date: Mon, 9 Jan 2023 16:43:42 -0600 Subject: [PATCH 7/8] Adding config.json --- config/config.json | 85 ++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 85 insertions(+) create mode 100644 config/config.json diff --git a/config/config.json b/config/config.json new file mode 100644 index 0000000..cef9963 --- /dev/null +++ b/config/config.json @@ -0,0 +1,85 @@ +{ + "acronym": "Pool", + "entityTypes": [ + "string" + ], + "logging": { + "level": "info" + }, + "styles": [ + "./styles/poolparty.less" + ], + "block": { + "component": { + "file": "./components/poolparty.js" + }, + "template": { + "file": "./templates/poolparty.hbs" + } + }, + "options": [ + { + "key": "url", + "name": "Concept URL", + "description": "", + "default": "", + "type": "text", + "userCanEdit": true, + "adminOnly": false + }, + { + "key": "project", + "name": "Project Name", + "description": "", + "default": "", + "type": "text", + "userCanEdit": true, + "adminOnly": false + }, + { + "key": "username", + "name": "Username", + "description": "PoolParty Account Username", + "default": "", + "type": "text", + "userCanEdit": true, + "adminOnly": false + }, + { + "key": "password", + "name": "password", + "description": "PoolParty Account Password", + "default": "", + "type": "password", + "userCanEdit": true, + "adminOnly": false + }, + { + "key": "showBroaderConcepts", + "name": "Show Broader Concepts", + "description": "If checked, the integration will show broader concepts", + "default": true, + "type": "boolean", + "userCanEdit": true, + "adminOnly": false + }, + { + "key": "showNarrowerConcepts", + "name": "Show Narrower Concepts", + "description": "If checked, the integration will show narrower concepts", + "default": true, + "type": "boolean", + "userCanEdit": false, + "adminOnly": true + }, + { + "key": "showRelatedConcepts", + "name": "Show Related Concepts", + "description": "If checked, the integration will show related concepts", + "default": true, + "type": "boolean", + "userCanEdit": false, + "adminOnly": true + } + ] +} \ No newline at end of file From efb2ab49039e871e46eb013cd8b6fed05706a8a2 Mon Sep 17 00:00:00 2001 From: polarityio Date: Fri, 13 Jan 2023 17:26:41 -0600 Subject: [PATCH 8/8] Updating File: package.json --- package.json | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/package.json b/package.json index 17573a5..90bfab1 100644 --- a/package.json +++ b/package.json @@ -1,12 +1,12 @@ { - "main": "./integration.js", "name": "PoolParty", + "version": "1.1.2-beta", + "main": "./integration.js", "description": "PoolParty Semantic Suite taxonomy SPARQL lookups.", - "version": "1.1.1-beta", "private": true, "dependencies": { "request": "^2.75", "lodash": "^4.16", "async": "^2.0" } -} +} \ No newline at end of file