Skip to content

Commit 6ab1df2

Browse files
Release 1.0.0.0 (#32)
* release 1.0.0.0 * level up README Signed-off-by: bowenlan-amzn <[email protected]>
1 parent c357dad commit 6ab1df2

14 files changed

+180
-225
lines changed

.github/PULL_REQUEST_TEMPLATE.md

Lines changed: 11 additions & 22 deletions
Original file line numberDiff line numberDiff line change
@@ -1,29 +1,18 @@
1-
*Issue #, if available:*
1+
### Description
22

3-
*Description of changes:*
3+
[Describe what this change achieves]
44

5+
### Issues Resolved
56

6-
By making a contribution to this project, I certify that:
7+
[List any issues this PR will resolve]
78

8-
(a) The contribution was created in whole or in part by me and I
9-
have the right to submit it under the open source license
10-
indicated in the file; or
9+
### Check List
1110

12-
(b) The contribution is based upon previous work that, to the best
13-
of my knowledge, is covered under an appropriate open source
14-
license and I have the right under that license to submit that
15-
work with modifications, whether created in whole or in part
16-
by me, under the same open source license (unless I am
17-
permitted to submit under a different license), as indicated
18-
in the file; or
11+
- [ ] New functionality includes testing.
12+
- [ ] All tests pass
13+
- [ ] New functionality has been documented.
14+
- [ ] Commits are signed per the DCO using `--signoff`
1915

20-
(c) The contribution was provided directly to me by some other
21-
person who certified (a), (b) or (c) and I have not modified
22-
it.
23-
24-
(d) I understand and agree that this project and the contribution
25-
are public and that a record of the contribution (including all
26-
personal information I submit with it, including my sign-off) is
27-
maintained indefinitely and may be redistributed consistent with
28-
this project or the open source license(s) involved.
16+
By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.
17+
For more information on following Developer Certificate of Origin and signing off your commits, please check [here](https://github.com/opensearch-project/OpenSearch/blob/main/CONTRIBUTING.md#developer-certificate-of-origin).
2918

.github/draft-release-notes-config.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -41,6 +41,7 @@ categories:
4141
- 'documentation'
4242
- title: 'Maintenance'
4343
labels:
44+
- 'security'
4445
- 'version support'
4546
- 'backwards-compatibility'
4647
- title: 'Refactoring'

.github/workflows/cypress-workflow.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
name: E2E Cypress tests
1+
name: E2E tests workflow
22
on:
33
pull_request:
44
branches:
@@ -59,7 +59,7 @@ jobs:
5959
with:
6060
repository: 'opensearch-project/alerting'
6161
path: alerting
62-
ref: 'main'
62+
ref: '1.0'
6363
- name: Build alerting
6464
working-directory: ./alerting
6565
run: ./gradlew :alerting-notification:publishToMavenLocal -Dopensearch.version=1.0.0 -Dbuild.snapshot=false

.github/workflows/links.yml

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
name: Link Checker
2+
on:
3+
push:
4+
branches: [ main ]
5+
pull_request:
6+
branches: [ main ]
7+
8+
jobs:
9+
linkchecker:
10+
runs-on: ubuntu-latest
11+
steps:
12+
- uses: actions/checkout@v2
13+
- name: lychee Link Checker
14+
id: lychee
15+
uses: lycheeverse/lychee-action@master
16+
with:
17+
args: --accept=200,403,429 "**/*.html" "**/*.md" "**/*.txt" "**/*.json"
18+
env:
19+
GITHUB_TOKEN: ${{secrets.GITHUB_TOKEN}}
20+
- name: Fail if there were link errors
21+
run: exit ${{ steps.lychee.outputs.exit_code }}

CONTRIBUTING.md

Lines changed: 3 additions & 104 deletions
Original file line numberDiff line numberDiff line change
@@ -1,105 +1,4 @@
1-
# Contributing Guidelines
1+
## Contributing to this Project
22

3-
Thank you for your interest in contributing to our project. Whether it's a bug report, new feature, correction, or additional
4-
documentation, we greatly value feedback and contributions from our community.
5-
6-
Please read through this document before submitting any issues or pull requests to ensure we have all the necessary
7-
information to effectively respond to your bug report or contribution.
8-
9-
10-
## Reporting Bugs/Feature Requests
11-
12-
We welcome you to use the GitHub issue tracker to report bugs or suggest features.
13-
14-
When filing an issue, please check [existing open](https://github.com/opensearch-project/index-management-dashboards-plugin/issues), or [recently closed](https://github.com/opensearch-project/index-management-dashboards-plugin/issues?utf8=%E2%9C%93&q=is%3Aissue%20is%3Aclosed%20), issues to make sure somebody else hasn't already
15-
reported the issue. Please try to include as much information as you can. Details like these are incredibly useful:
16-
17-
* A reproducible test case or series of steps
18-
* The version of our code being used
19-
* Any modifications you've made relevant to the bug
20-
* Anything unusual about your environment or deployment
21-
22-
23-
## Contributing via Pull Requests
24-
Contributions via pull requests are much appreciated. Before sending us a pull request, please ensure that:
25-
26-
1. You are working against the latest source on the *main* branch.
27-
2. You check existing open, and recently merged, pull requests to make sure someone else hasn't addressed the problem already.
28-
3. You open an issue to discuss any significant work - we would hate for your time to be wasted.
29-
30-
To send us a pull request, please:
31-
32-
1. Fork the repository.
33-
2. Modify the source; please focus on the specific change you are contributing. If you also reformat all the code, it will be hard for us to focus on your change.
34-
3. Ensure local tests pass.
35-
4. Commit to your fork using clear commit messages.
36-
5. Send us a pull request, answering any default questions in the pull request interface.
37-
6. Pay attention to any automated CI failures reported in the pull request, and stay involved in the conversation.
38-
39-
GitHub provides additional document on [forking a repository](https://help.github.com/articles/fork-a-repo/) and
40-
[creating a pull request](https://help.github.com/articles/creating-a-pull-request/).
41-
42-
43-
## Finding contributions to work on
44-
Looking at the existing issues is a great way to find something to contribute on. As our projects, by default, use the default GitHub issue labels (enhancement/bug/duplicate/help wanted/invalid/question/wontfix), looking at any ['help wanted'](https://github.com/opensearch-project/index-management-dashboards-plugin/labels/help%20wanted) issues is a great place to start.
45-
46-
47-
## Code of Conduct
48-
This project has adopted the [Amazon Open Source Code of Conduct](https://aws.github.io/code-of-conduct).
49-
For more information see the [Code of Conduct FAQ](https://aws.github.io/code-of-conduct-faq) or contact
50-
[email protected] with any additional questions or comments.
51-
52-
## Developer Certificate of Origin
53-
54-
OpenSearch is an open source product released under the Apache 2.0 license (see either [the Apache site](https://www.apache.org/licenses/LICENSE-2.0) or the [LICENSE.txt file](./LICENSE.txt)). The Apache 2.0 license allows you to freely use, modify, distribute, and sell your own products that include Apache 2.0 licensed software.
55-
56-
We respect intellectual property rights of others and we want to make sure all incoming contributions are correctly attributed and licensed. A Developer Certificate of Origin (DCO) is a lightweight mechanism to do that.
57-
58-
The DCO is a declaration attached to every contribution made by every developer. In the commit message of the contribution, the developer simply adds a `Signed-off-by` statement and thereby agrees to the DCO, which you can find below or at [DeveloperCertificate.org](http://developercertificate.org/).
59-
60-
```
61-
Developer's Certificate of Origin 1.1
62-
63-
By making a contribution to this project, I certify that:
64-
65-
(a) The contribution was created in whole or in part by me and I
66-
have the right to submit it under the open source license
67-
indicated in the file; or
68-
69-
(b) The contribution is based upon previous work that, to the
70-
best of my knowledge, is covered under an appropriate open
71-
source license and I have the right under that license to
72-
submit that work with modifications, whether created in whole
73-
or in part by me, under the same open source license (unless
74-
I am permitted to submit under a different license), as
75-
Indicated in the file; or
76-
77-
(c) The contribution was provided directly to me by some other
78-
person who certified (a), (b) or (c) and I have not modified
79-
it.
80-
81-
(d) I understand and agree that this project and the contribution
82-
are public and that a record of the contribution (including
83-
all personal information I submit with it, including my
84-
sign-off) is maintained indefinitely and may be redistributed
85-
consistent with this project or the open source license(s)
86-
involved.
87-
```
88-
We require that every contribution to OpenSearch is signed with a Developer Certificate of Origin. Additionally, please use your real name. We do not accept anonymous contributors nor those utilizing pseudonyms.
89-
90-
Each commit must include a DCO which looks like this
91-
92-
```
93-
Signed-off-by: Jane Smith <[email protected]>
94-
```
95-
You may type this line on your own when writing your commit messages. However, if your user.name and user.email are set in your git configs, you can use `-s` or `– – signoff` to add the `Signed-off-by` line to the end of the commit message.
96-
97-
## Security issue notifications
98-
If you discover a potential security issue in this project we ask that you notify AWS/Amazon Security via our [vulnerability reporting page](http://aws.amazon.com/security/vulnerability-reporting/). Please do **not** create a public github issue.
99-
100-
101-
## Licensing
102-
103-
See the [LICENSE](https://github.com/opensearch-project/index-management-dashboards-plugin/blob/main/LICENSE) file for our project's licensing. We will ask you to confirm the licensing of your contribution.
104-
105-
We may ask you to sign a [Contributor License Agreement (CLA)](http://en.wikipedia.org/wiki/Contributor_License_Agreement) for larger changes.
3+
OpenSearch is a community project that is built and maintained by people just like **you**.
4+
[This document](https://github.com/opensearch-project/.github/blob/main/CONTRIBUTING.md) explains how you can contribute to this and related projects.

DEVELOPER_GUIDE.md

Lines changed: 70 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,70 @@
1+
- [Developer guide](#developer-guide)
2+
- [Forking and Cloning](#forking-and-cloning)
3+
- [Install Prerequisites](#install-prerequisites)
4+
- [Environment Setup](#environment-setup)
5+
- [Build](#build)
6+
- [Run](#run)
7+
- [Test](#test)
8+
9+
## Developer guide
10+
11+
So you want to contribute code to this project? Excellent! We're glad you're here. Here's what you need to do.
12+
13+
### Forking and Cloning
14+
15+
Fork this repository on GitHub, and clone locally with `git clone`.
16+
17+
### Install Prerequisites
18+
19+
You will need to install [node.js](https://nodejs.org/en/), [nvm](https://github.com/nvm-sh/nvm/blob/master/README.md), and [yarn](https://yarnpkg.com/) in your environment to properly pull down dependencies to build and bootstrap the plugin.
20+
21+
### Environment Setup
22+
23+
1. Download OpenSearch for the version that matches the [OpenSearch Dashboards version specified in package.json](./package.json#L7).
24+
2. Download and install the appropriate [Index Management OpenSearch Plugin](https://github.com/opensearch-project/index-management).
25+
3. Download the OpenSearch Dashboards source code for the [version specified in package.json](./package.json#L7) you want to set up.
26+
27+
See the [OpenSearch Dashboards contributing guide](https://github.com/opensearch-project/OpenSearch-Dashboards/blob/main/CONTRIBUTING.md) and [developer guide](https://github.com/opensearch-project/OpenSearch-Dashboards/blob/main/DEVELOPER_GUIDE.md) for more instructions on setting up your development environment.
28+
29+
4. Change your node version to the version specified in `.node-version` inside the OpenSearch Dashboards root directory (this can be done with the `nvm use` command).
30+
5. Create a `plugins` directory inside the OpenSearch Dashboards source code directory, if `plugins` directory doesn't exist.
31+
6. Check out this package from version control into the `plugins` directory.
32+
7. Run `yarn osd bootstrap` inside `OpenSearch-Dashboards/plugins/index-management-dashboards-plugin`.
33+
34+
Ultimately, your directory structure should look like this:
35+
36+
<!-- prettier-ignore -->
37+
```md
38+
.
39+
├── OpenSearch-Dashboards
40+
│ └──plugins
41+
│ └── index-management-dashboards-plugin
42+
```
43+
44+
### Build
45+
46+
To build the plugin's distributable zip simply run `yarn build`.
47+
48+
Example output: `./build/index-management-dashboards-1.0.0.0.zip`
49+
50+
### Run
51+
52+
In the base OpenSearch Dashboards directory, run
53+
54+
- `yarn start --no-base-path`
55+
56+
Starts OpenSearch Dashboards and includes this plugin. OpenSearch Dashboards will be available on `localhost:5601`.
57+
58+
### Test
59+
60+
- `yarn test:jest`
61+
62+
- Runs the plugin tests.
63+
64+
- `yarn run cypress open`
65+
66+
- Opens the Cypress test runner
67+
68+
- `yarn run cypress run`
69+
70+
- Runs the Cypress test runner

MAINTAINERS.md

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,9 @@
1-
# OpenSearch Maintainers
2-
31
## Maintainers
42
| Maintainer | GitHub ID | Affiliation |
53
| --------------- | --------- | ----------- |
64
| Annie Lee | [leeyun-amzn](https://github.com/leeyun-amzn) | Amazon |
75
| Bowen Lan | [bowenlan-amzn](https://github.com/bowenlan-amzn) | Amazon |
86
| Drew Baugher | [dbbaughe](https://github.com/dbbaughe) | Amazon |
7+
| Ravi | [thalurur](https://github.com/thalurur) | Amazon |
8+
9+
[This document](https://github.com/opensearch-project/.github/blob/main/MAINTAINERS.md) explains what maintainers do in this repo, and how they should be doing it. If you're interested in contributing, see [CONTRIBUTING](CONTRIBUTING.md).

0 commit comments

Comments
 (0)