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

Kenny/reflection #30

Open
wants to merge 47 commits into
base: dev
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
47 commits
Select commit Hold shift + click to select a range
bb5a935
refactor:clean repo
Aug 18, 2023
41bfd87
initial commit
Aug 18, 2023
018a80d
setup skeleton
Aug 18, 2023
83f3c56
update: add configs
Aug 18, 2023
cd7b546
docs:changelong, code of conduct, contributing, license
Aug 18, 2023
84fd40c
docs: fix readme
Aug 18, 2023
1f70c54
docs: fix typo
Aug 18, 2023
72e7554
feat: ci workflow
Aug 18, 2023
d7f545c
add tools
Aug 19, 2023
095a1e1
feat: add fetch component
Aug 20, 2023
3816f07
feat:add concurrency test
Aug 20, 2023
acd7de9
added .env and basic express server
ariellinn Aug 21, 2023
6dc5e38
feat: add grpc-app
Aug 21, 2023
8d01bbb
merged dev into loadTest
ariellinn Aug 23, 2023
e004a5b
initial interceptor skeleton code incl. performance time duration
ariellinn Aug 23, 2023
7324683
intitial integration of interceptor to client server
ariellinn Aug 23, 2023
91f6031
successfully tested initial client interceptor
ariellinn Aug 25, 2023
a8b64b8
ignored metrics folder and added log for the interceptingcall
ariellinn Aug 25, 2023
8a6de3c
Create LoadTestEnglish class with basic methods
camina-drummer Aug 29, 2023
587c718
Complete working prototype and demo for LoadTestEngine
camina-drummer Aug 30, 2023
a4ebdca
Add removeCall() testing to demo and export instance instead of class
camina-drummer Aug 30, 2023
bf68bfd
Merge pull request #2 from kennysghub/load-test-engine
camina-drummer Aug 30, 2023
9b22b56
interceptor added inbound, outbound handlers
ariellinn Sep 1, 2023
c1c1645
fixed message, reduced amount of failed requests
ariellinn Sep 1, 2023
0a9f42c
edited logs
ariellinn Sep 1, 2023
9c27e68
num calls
ariellinn Sep 2, 2023
0bfa35a
class MetricInterceptor
ariellinn Sep 5, 2023
1f1deb3
fixed numErrors
ariellinn Sep 5, 2023
b7a0a0d
Start
camina-drummer Sep 6, 2023
4eab10b
Merge remote-tracking branch 'origin/ariel/loadTest' into merge-ariel
camina-drummer Sep 6, 2023
83ae4c5
Merge branch 'merge-ariel' into rich-lts
camina-drummer Sep 6, 2023
0f1ce4f
Clean up types on LoadTestEngine, dynamically add calls in grpc-client
camina-drummer Sep 6, 2023
a493eb0
feat: compile proto files to a descriptor set binary file && add serv…
Sep 7, 2023
de1e193
add commander
Sep 7, 2023
f4dd33c
added console input for clusters, worker threads, numCalls
ariellinn Sep 10, 2023
5f1377e
attempt: created clusters and worker threads based on user input and …
ariellinn Sep 11, 2023
0d30766
Merge branch 'ariel/cluster' into kenny/reflection
Sep 11, 2023
9a9444e
feat: add ssl certs, metric-dashboard, cli-tool
Sep 14, 2023
53881cb
update: changelog
Sep 14, 2023
842bb56
feat: add cli-support
Sep 15, 2023
f2eec66
style: format lte, cli, server & client
Sep 16, 2023
103e40d
fix: generate dashboard
Sep 16, 2023
c7cac9b
fix: generate dashboard
Sep 16, 2023
c746110
fix: worker_threads message passing
Sep 17, 2023
99afa8e
chore: clean repo
Sep 17, 2023
21f7e43
feat: add elu & cpu usage metrics
Sep 19, 2023
b9f7c97
chore: clean repo
Oct 6, 2023
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
Binary file added .DS_Store
Binary file not shown.
34 changes: 17 additions & 17 deletions .babelrc
Original file line number Diff line number Diff line change
@@ -1,20 +1,20 @@
{
"presets": [
"@babel/preset-env",
[
"@babel/preset-react",
{
"runtime": "automatic"
}
],
"@babel/preset-typescript"
"presets": [
"@babel/preset-env",
[
"@babel/preset-react",
{
"runtime": "automatic"
}
],
"plugins": [
[
"@babel/plugin-transform-runtime",
{
"regenerator": true
}
]
"@babel/preset-typescript"
],
"plugins": [
[
"@babel/plugin-transform-runtime",
{
"regenerator": true
}
]
}
]
}
13 changes: 13 additions & 0 deletions .editorconfig
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
# EditorConfig http://EditorConfig.org

# top-most EditorConfig file
root = true

# All files
[*]
charset = utf-8
end_of_line = lf
indent_size = 2
indent_style = space
insert_final_newline = true
trim_trailing_whitespace = true
40 changes: 20 additions & 20 deletions .eslintrc.js
Original file line number Diff line number Diff line change
@@ -1,33 +1,33 @@
module.exports = {
parser: '@typescript-eslint/parser',
parser: "@typescript-eslint/parser",
parserOptions: {
ecmaVersion: 2020,
sourceType: 'module',
sourceType: "module",
},
settings: {
react: {
version: 'detect',
version: "detect",
},
},
extends: [
'plugin:react/recommended',
'plugin:react-hooks/recommended',
'plugin:@typescript-eslint/recommended',
'plugin:import/errors',
'plugin:import/warnings',
'plugin:import/typescript',
'plugin:jsx-a11y/recommended',
'plugin:eslint-comments/recommended',
'prettier',
'plugin:prettier/recommended',
"plugin:react/recommended",
"plugin:react-hooks/recommended",
"plugin:@typescript-eslint/recommended",
"plugin:import/errors",
"plugin:import/warnings",
"plugin:import/typescript",
"plugin:jsx-a11y/recommended",
"plugin:eslint-comments/recommended",
"prettier/@typescript-eslint",
"plugin:prettier/recommended",
],
rules: {
'no-unused-vars': 'off',
'@typescript-eslint/no-unused-vars': ['error'],
'@typescript-eslint/no-var-requires': 'off',
'react/prop-types': 'off',
'react/jsx-uses-react': 'off',
'react/react-in-jsx-scope': 'off',
'@typescript-eslint/explicit-module-boundary-types': 'off',
"no-unused-vars": "off",
"@typescript-eslint/no-unused-vars": ["error"],
"@typescript-eslint/no-var-requires": "off",
"react/prop-types": "off",
"react/jsx-uses-react": "off",
"react/react-in-jsx-scope": "off",
"@typescript-eslint/explicit-module-boundary-types": "off",
},
};
18 changes: 18 additions & 0 deletions .github/workflows/integrate.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
name: Node Continuous Integration

on:
pull_request:
branches: [ master ]


jobs:
test_pull_request:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions/setup-node@v1
with:
node-version: 12
- run: npm ci
- run: npm test
- run: npm run build
6 changes: 3 additions & 3 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
build
node_modules
metrics/dist
metrics/data
.DS_Store
.env
metrics/
3 changes: 0 additions & 3 deletions .gitmodules

This file was deleted.

16 changes: 8 additions & 8 deletions .prettierrc.js
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
module.exports = {
semi: true,
trailingComma: 'es5',
singleQuote: true,
jsxSingleQuote: false,
printWidth: 80,
tabWidth: 2,
endOfLine: 'auto'
}
semi: true,
trailingComma: "es5",
singleQuote: true,
jsxSingleQuote: false,
printWidth: 80,
tabWidth: 2,
endOfLine: "auto",
};
2 changes: 1 addition & 1 deletion .vscode/settings.json
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
{
"editor.tabSize": 2
"editor.formatOnSave": true
}
113 changes: 113 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,113 @@
#### 1.0.0 (2023-09-16)

##### Documentation Changes

* fix typo (1f70c548)
* fix readme (84fd40c8)
* changelong, code of conduct, contributing, license (cd7b5466)

##### New Features

* add cli-support (842bb568)
* add ssl certs, metric-dashboard, cli-tool (9a9444ef)
* compile proto files to a descriptor set binary file && add server reflection (a493eb00)
* add grpc-app (6dc5e389)
* add concurrency test (3816f079)
* add fetch component (095a1e18)
* ci workflow (72e75547)

##### Bug Fixes

* generate dashboard (c7cac9bb)
* generate dashboard (103e40dc)

##### Other Changes

* changelog (53881cbd)
* created clusters and worker threads based on user input and send calls to grpc server for each worker thread. Incorrrect function is repeated for all threads (5f1377e4)
* add configs (83f3c561)
* //github.com/oslabs-beta/gRPSeek into dev (f5bc8822)
* //github.com/oslabs-beta/gRPSeek into miri/gui (0abc4c75)
* //github.com/oslabs-beta/gRPSeek into miri/gui (3407bd78)
* //github.com/oslabs-beta/gRPSeek into npm-grpseek (4c196321)

##### Refactors

* clean repo (bb5a9352)

##### Code Style Changes

* format lte, cli, server & client (f2eec66b)

#### 1.0.0 (2023-09-14)

##### Documentation Changes

* fix typo (1f70c548)
* fix readme (84fd40c8)
* changelong, code of conduct, contributing, license (cd7b5466)

##### New Features

* add ssl certs, metric-dashboard, cli-tool (9a9444ef)
* compile proto files to a descriptor set binary file && add server reflection (a493eb00)
* add grpc-app (6dc5e389)
* add concurrency test (3816f079)
* add fetch component (095a1e18)
* ci workflow (72e75547)

##### Other Changes

* created clusters and worker threads based on user input and send calls to grpc server for each worker thread. Incorrrect function is repeated for all threads (5f1377e4)
* add configs (83f3c561)
* //github.com/oslabs-beta/gRPSeek into dev (f5bc8822)
* //github.com/oslabs-beta/gRPSeek into miri/gui (0abc4c75)
* //github.com/oslabs-beta/gRPSeek into miri/gui (3407bd78)
* //github.com/oslabs-beta/gRPSeek into npm-grpseek (4c196321)

##### Refactors

* clean repo (bb5a9352)

#### 1.0.0 (2023-09-07)

##### Documentation Changes

* fix typo (1f70c548)
* fix readme (84fd40c8)
* changelong, code of conduct, contributing, license (cd7b5466)

##### New Features

* compile proto files to a descriptor set binary file && add server reflection (a493eb00)
* add grpc-app (6dc5e389)
* add concurrency test (3816f079)
* add fetch component (095a1e18)
* ci workflow (72e75547)

##### Other Changes

* add configs (83f3c561)
* //github.com/oslabs-beta/gRPSeek into dev (f5bc8822)
* //github.com/oslabs-beta/gRPSeek into miri/gui (0abc4c75)
* //github.com/oslabs-beta/gRPSeek into miri/gui (3407bd78)
* //github.com/oslabs-beta/gRPSeek into npm-grpseek (4c196321)

##### Refactors

* clean repo (bb5a9352)

#### 1.0.0 (2023-08-18)

##### Other Changes

* add configs (83f3c561)
* //github.com/oslabs-beta/gRPSeek into dev (f5bc8822)
* //github.com/oslabs-beta/gRPSeek into miri/gui (0abc4c75)
* //github.com/oslabs-beta/gRPSeek into miri/gui (3407bd78)
* //github.com/oslabs-beta/gRPSeek into npm-grpseek (4c196321)

##### Refactors

* clean repo (bb5a9352)

39 changes: 39 additions & 0 deletions CODE_OF_CONDUCT.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,39 @@
# Code of Conduct

All participants of this repository are expected to abide by our Code of Conduct, both online and during in-person events that are hosted and/or associated with this repository.

## The Pledge

In the interest of fostering an open and welcoming environment, we pledge to make participation in our project and our community a harassment-free experience for everyone, regardless of age, body size, disability, ethnicity, gender identity and expression, level of experience, nationality, personal appearance, race, religion, or sexual identity and orientation.

## The Standards

Examples of behaviour that contributes to creating a positive environment include:

- Using welcoming and inclusive language
- Being respectful of differing viewpoints and experiences
- Gracefully accepting constructive criticism
- Referring to people by their preferred pronouns and using gender-neutral pronouns when uncertain

Examples of unacceptable behaviour by participants include:

- Trolling, insulting/derogatory comments, public or private harassment
- Publishing others' private information, such as a physical or electronic address, without explicit permission
- Not being respectful to reasonable communication boundaries, such as 'leave me alone,' 'go away,' or 'I’m not discussing this with you.'
- The usage of sexualised language or imagery and unwelcome sexual attention or advances
- Swearing, usage of strong or disturbing language
- Demonstrating the graphics or any other content you know may be considered disturbing
- Starting and/or participating in arguments related to politics
- Assuming or promoting any kind of inequality including but not limited to: age, body size, disability, ethnicity, gender identity and expression, nationality and race, personal appearance, religion, or sexual identity and orientation
- Attacking personal tastes
- Other conduct which you know could reasonably be considered inappropriate in a professional setting.

## Enforcement

Violations of the Code of Conduct may be reported by sending an email to [[email protected]](mailto:[email protected]). All reports will be reviewed and investigated and will result in a response that is deemed necessary and appropriate to the circumstances. Further details of specific enforcement policies may be posted separately.

We hold the right and responsibility to remove comments or other contributions that are not aligned to this Code of Conduct, or to ban temporarily or permanently any members for other behaviours that they deem inappropriate, threatening, offensive, or harmful.

## Attribution

This Code of Conduct is adapted from [dev.to](https://dev.to/code-of-conduct).
70 changes: 70 additions & 0 deletions CONTRIBUTING.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,70 @@
# Welcome to the gRPSeek contributing guide!

Thank you for investing your time in contributing to our project! ✨

In this guide you will get an overview of the contribution workflow from opening an issue, creating a PR, reviewing, and merging the PR.

## New contributor guide

To get an overview of the project, read the [README](README.md). Here are some resources to help you get started with open source contributions:

- [Finding ways to contribute to open source on GitHub](https://docs.github.com/en/get-started/exploring-projects-on-github/finding-ways-to-contribute-to-open-source-on-github)
- [Set up Git](https://docs.github.com/en/get-started/quickstart/set-up-git)
- [GitHub flow](https://docs.github.com/en/get-started/quickstart/github-flow)
- [Collaborating with pull requests](https://docs.github.com/en/github/collaborating-with-pull-requests)


## Getting started

To navigate our codebase with confidence, see the [Developer Guidelines](/src/README.md) 🎊.

### Issues

#### Create a new issue

If you spot a problem with the docs, [search if an issue already exists](https://github.com/oslabs-beta/gRPSeek). If a related issue doesn't exist, you can open a new issue using a relevant [issue form](https://github.com/oslabs-beta/gRPSeek/issues/new).

#### Solve an issue

Scan through our [existing issues](https://github.com/oslabs-beta/gRPSeek/issues) to find one that interests you. As a general rule, we don’t assign issues to anyone. If you find an issue to work on, you are welcome to open a PR with a fix.

### Make Changes

#### Make changes in the UI

Click **Make a contribution** at the bottom of any docs page to make small changes such as a typo, sentence fix, or a broken link. This takes you to the `.md` file where you can make your changes and [create a pull request](#pull-request) for a review.

#### Make changes locally

1. [Install Git LFS](https://docs.github.com/en/github/managing-large-files/versioning-large-files/installing-git-large-file-storage).

2. Fork the repository.
- Using GitHub Desktop:
- [Getting started with GitHub Desktop](https://docs.github.com/en/desktop/installing-and-configuring-github-desktop/getting-started-with-github-desktop) will guide you through setting up Desktop.
- Once Desktop is set up, you can use it to [fork the repo](https://github.com/open-source-labs/reactime.git)!

- Using the command line:
- [Fork the repo](https://github.com/oslabs-beta/gRPSeek.git) so that you can make your changes without affecting the original project until you're ready to merge them.

3. Create a working branch and start with your changes!

### Commit your update

Commit the changes once you are happy with them.

### Pull Request

When you're finished with the changes, create a pull request, also known as a PR.
- Fill the "Ready for review" template so that we can review your PR. This template helps reviewers understand your changes as well as the purpose of your pull request.
- Don't forget to [link PR to issue](https://docs.github.com/en/issues/tracking-your-work-with-issues/linking-a-pull-request-to-an-issue) if you are solving one.
- Enable the checkbox to [allow maintainer edits](https://docs.github.com/en/github/collaborating-with-issues-and-pull-requests/allowing-changes-to-a-pull-request-branch-created-from-a-fork) so the branch can be updated for a merge.
Once you submit your PR, a Docs team member will review your proposal. We may ask questions or request additional information.
- We may ask for changes to be made before a PR can be merged, either using [suggested changes](https://docs.github.com/en/github/collaborating-with-issues-and-pull-requests/incorporating-feedback-in-your-pull-request) or pull request comments. You can apply suggested changes directly through the UI. You can make any other changes in your fork, then commit them to your branch.
- As you update your PR and apply changes, mark each conversation as [resolved](https://docs.github.com/en/github/collaborating-with-issues-and-pull-requests/commenting-on-a-pull-request#resolving-conversations).
- If you run into any merge issues, checkout this [git tutorial](https://github.com/skills/resolve-merge-conflicts) to help you resolve merge conflicts and other issues.

### Your PR is merged!

Congratulations 🎉 The gRPSeek team thanks you! ✨

Once your PR is merged, your contributions will be publicly visible on [gRPSeek](https://github.com/oslabs-beta/gRPSeek)!
Loading