Skip to content

Commit

Permalink
dashboards-reports version reset (#23)
Browse files Browse the repository at this point in the history
* dashboards-reports version reset

* workflow version reset

* fix workflow version
  • Loading branch information
zhongnansu authored Apr 26, 2021
1 parent 64d9c88 commit 99e07e9
Show file tree
Hide file tree
Showing 5 changed files with 12 additions and 12 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/dashboards-reports-release-workflow.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ on:

env:
PLUGIN_NAME: reportsDashboards
OD_VERSION: 1.15.0.0
OD_VERSION: 1.0.0.0

jobs:
build:
Expand All @@ -28,7 +28,7 @@ jobs:
uses: actions/checkout@v1
with:
repository: opensearch-project/Opensearch-Dashboards
ref: 1.x
ref: main
path: dashboards-reports/OpenSearch-Dashboards

- name: Setup Node
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ on: [pull_request, push]

env:
PLUGIN_NAME: reportsDashboards
OD_VERSION: 1.15.0.0
OD_VERSION: 1.0.0.0

jobs:
build:
Expand All @@ -17,7 +17,7 @@ jobs:
uses: actions/checkout@v1
with:
repository: opensearch-project/Opensearch-Dashboards
ref: 1.x
ref: main
path: dashboards-reports/OpenSearch-Dashboards

- name: Setup Node
Expand Down
4 changes: 2 additions & 2 deletions dashboards-reports/opensearch_dashboards.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"id": "reportsDashboards",
"version": "1.15.0.0",
"opensearchDashboardsVersion": "7.10.2",
"version": "1.0.0.0",
"opensearchDashboardsVersion": "1.0.0",
"requiredPlugins": ["navigation", "data"],
"optionalPlugins": ["share"],
"server": true,
Expand Down
8 changes: 4 additions & 4 deletions dashboards-reports/package.json
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
{
"name": "reports-dashboards",
"version": "1.15.0.0",
"description": "OpenSearch Dashboards Reporting Plugin",
"name": "reports_dashboards",
"version": "1.0.0.0",
"description": "OpenSearch Dashboards Reports Plugin",
"license": "Apache-2.0",
"main": "index.ts",
"opensearchDashboards": {
"version": "7.10.2",
"version": "1.0.0",
"templateVersion": "1.0.0"
},
"scripts": {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -126,7 +126,7 @@ const generateInContextReport = async (
{
headers: {
'Content-Type': 'application/json',
'osd-version': '7.10.2',
'osd-version': '1.0.0',
accept: '*/*',
'accept-language': 'en-US,en;q=0.9,zh-CN;q=0.8,zh;q=0.7,zh-TW;q=0.6',
pragma: 'no-cache',
Expand Down Expand Up @@ -340,7 +340,7 @@ async function getTenantInfoIfExists() {
const res = await fetch(`../api/v1/multitenancy/tenant`, {
headers: {
'Content-Type': 'application/json',
'osd-version': '7.10.2',
'osd-version': '1.0.0',
accept: '*/*',
'accept-language': 'en-US,en;q=0.9,zh-CN;q=0.8,zh;q=0.7,zh-TW;q=0.6',
pragma: 'no-cache',
Expand Down

0 comments on commit 99e07e9

Please sign in to comment.