Skip to content

Commit

Permalink
Bump to version 1.0.0.0 (opensearch-project#103)
Browse files Browse the repository at this point in the history
Signed-off-by: Zhongnan Su <szhongna@amazon.com>
  • Loading branch information
zhongnansu authored Jun 29, 2021
1 parent 166994f commit 4be9a4b
Show file tree
Hide file tree
Showing 7 changed files with 20 additions and 19 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/dashboards-reports-release-workflow.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ env:
PLUGIN_NAME: reportsDashboards
ARTIFACT_NAME: reports-dashboards
OPENSEARCH_VERSION: '1.0'
OPENSEARCH_PLUGIN_VERSION: 1.0.0.0-rc1
OPENSEARCH_PLUGIN_VERSION: 1.0.0.0

jobs:
build:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ env:
PLUGIN_NAME: reportsDashboards
ARTIFACT_NAME: reports-dashboards
OPENSEARCH_VERSION: '1.0'
OPENSEARCH_PLUGIN_VERSION: 1.0.0.0-rc1
OPENSEARCH_PLUGIN_VERSION: 1.0.0.0

jobs:
build:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ jobs:
ref: '1.0'
- name: Build OpenSearch
working-directory: ./OpenSearch
run: ./gradlew publishToMavenLocal -Dbuild.version_qualifier=rc1 -Dbuild.snapshot=false
run: ./gradlew publishToMavenLocal -Dbuild.snapshot=false

# dependencies: common-utils
- name: Checkout common-utils
Expand All @@ -33,7 +33,7 @@ jobs:
path: common-utils
- name: Build common-utils
working-directory: ./common-utils
run: ./gradlew publishToMavenLocal -Dopensearch.version=1.0.0-rc1
run: ./gradlew publishToMavenLocal -Dopensearch.version=1.0.0

# dependencies: job-scheduler
- name: Checkout job-scheduler
Expand All @@ -44,7 +44,7 @@ jobs:
path: job-scheduler
- name: Build job-scheduler
working-directory: ./job-scheduler
run: ./gradlew publishToMavenLocal -Dopensearch.version=1.0.0-rc1 -Dbuild.snapshot=false
run: ./gradlew publishToMavenLocal -Dopensearch.version=1.0.0 -Dbuild.snapshot=false

# reports-scheduler
- name: Checkout Reports Scheduler
Expand All @@ -53,7 +53,7 @@ jobs:
- name: Build with Gradle
run: |
cd reports-scheduler
./gradlew build -Dopensearch.version=1.0.0-rc1
./gradlew build -Dopensearch.version=1.0.0
- name: Upload coverage
uses: codecov/codecov-action@v1
Expand All @@ -72,3 +72,4 @@ jobs:
with:
name: reports-scheduler
path: reports-scheduler-builds

4 changes: 2 additions & 2 deletions common/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -24,8 +24,8 @@
* permissions and limitations under the License.
*/

export const PLUGIN_ID = 'reportsDashboards';
export const PLUGIN_NAME = 'reports-dashboards';
export const PLUGIN_NAME = 'Reporting';
export const PLUGIN_ID = 'reports-dashboards';

export const API_PREFIX = '/api/reporting';

Expand Down
4 changes: 2 additions & 2 deletions opensearch_dashboards.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"id": "reportsDashboards",
"version": "1.0.0.0-rc1",
"opensearchDashboardsVersion": "1.0.0-rc1",
"version": "1.0.0.0",
"opensearchDashboardsVersion": "1.0.0",
"requiredPlugins": ["navigation", "data", "opensearchDashboardsUtils"],
"optionalPlugins": ["share"],
"server": true,
Expand Down
8 changes: 4 additions & 4 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
{
"name": "reports_dashboards",
"version": "1.0.0.0-rc1",
"name": "reports-dashboards",
"version": "1.0.0.0",
"description": "OpenSearch Dashboards Reports Plugin",
"license": "Apache-2.0",
"main": "index.ts",
"opensearchDashboards": {
"version": "1.0.0-rc1",
"templateVersion": "1.0.0-rc1"
"version": "1.0.0",
"templateVersion": "1.0.0"
},
"scripts": {
"osd": "node ../../scripts/osd",
Expand Down
10 changes: 5 additions & 5 deletions public/plugin.ts
Original file line number Diff line number Diff line change
Expand Up @@ -37,17 +37,17 @@ import {
} from './types';
import { i18n } from '@osd/i18n';
import './components/context_menu/context_menu';
import { PLUGIN_NAME } from '../common';
import { PLUGIN_ID, PLUGIN_NAME } from '../common';

export class ReportsDashboardsPlugin
implements
Plugin<ReportsDashboardsPluginSetup, ReportsDashboardsPluginStart> {
implements Plugin<ReportsDashboardsPluginSetup, ReportsDashboardsPluginStart>
{
public setup(core: CoreSetup): ReportsDashboardsPluginSetup {
// Register an application into the side navigation menu
core.application.register({
id: PLUGIN_NAME,
id: PLUGIN_ID,
title: i18n.translate('opensearch.reports.pluginName', {
defaultMessage: 'Reporting',
defaultMessage: PLUGIN_NAME,
}),
category: {
id: 'opensearch',
Expand Down

0 comments on commit 4be9a4b

Please sign in to comment.