From 28b373ff2e74fd3d3ea337fcb6e03bce165f2873 Mon Sep 17 00:00:00 2001 From: Harsh Bhardwaj Date: Tue, 13 Oct 2020 00:36:16 +0530 Subject: [PATCH 1/5] Updated Readme with steps and overview --- request-proxy-service/README.md | 36 +++++++++++++++++++++++++++++++++ 1 file changed, 36 insertions(+) create mode 100644 request-proxy-service/README.md diff --git a/request-proxy-service/README.md b/request-proxy-service/README.md new file mode 100644 index 0000000..d25905d --- /dev/null +++ b/request-proxy-service/README.md @@ -0,0 +1,36 @@ +# Request Proxy Service + +The System has be been built using Spring boot framework, with an exposed endpoint/REST API +* host/api/v1/reply, where host is the server where the system has been deployed or running, v1 is for the versioning of the API +* for local testing or postman testing : use localhost:8090/api/v1/reply + +## Requirements + +* Java 1.8 +* Gradle 4.10.3 + +## How to run it? +Do :> gradle bootRun + +## For running unit test and integration test + +Do:> gradle test + +## For running unit test and integration test with additional information + +Do:> gradle test -info or gradle test -i + +## Improvement to be covered + +* More Error handling can be done around the URL execution + +* More Integration test can be covered under failure cases like, request limit exceeds, + connection refused, server not found. + +* For Recording client activities making request to the service distributed caching can used, + currently a simple TransactionService has been created to do the same. + + + + + From 4c4302b9dca4685d6f32f1db561c8a3e74c1f5b0 Mon Sep 17 00:00:00 2001 From: Harsh Bhardwaj Date: Tue, 13 Oct 2020 00:39:55 +0530 Subject: [PATCH 2/5] Update README.md --- request-proxy-service/README.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/request-proxy-service/README.md b/request-proxy-service/README.md index d25905d..fe3c11a 100644 --- a/request-proxy-service/README.md +++ b/request-proxy-service/README.md @@ -1,8 +1,8 @@ # Request Proxy Service The System has be been built using Spring boot framework, with an exposed endpoint/REST API -* host/api/v1/reply, where host is the server where the system has been deployed or running, v1 is for the versioning of the API -* for local testing or postman testing : use localhost:8090/api/v1/reply +* host/api/v1/replay, where host is the server where the system has been deployed or running, v1 is for the versioning of the API +* for local testing or postman testing : use localhost:8090/api/v1/replay ## Requirements From 7cadfa5e4f86849ce3766125a16c9152be849e94 Mon Sep 17 00:00:00 2001 From: Harsh Bhardwaj Date: Tue, 13 Oct 2020 00:58:25 +0530 Subject: [PATCH 3/5] Create CODE_OF_CONDUCT.md --- CODE_OF_CONDUCT.md | 76 ++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 76 insertions(+) create mode 100644 CODE_OF_CONDUCT.md diff --git a/CODE_OF_CONDUCT.md b/CODE_OF_CONDUCT.md new file mode 100644 index 0000000..33edc51 --- /dev/null +++ b/CODE_OF_CONDUCT.md @@ -0,0 +1,76 @@ +# Contributor Covenant Code of Conduct + +## Our Pledge + +In the interest of fostering an open and welcoming environment, we as +contributors and maintainers pledge to making participation in our project and +our community a harassment-free experience for everyone, regardless of age, body +size, disability, ethnicity, sex characteristics, gender identity and expression, +level of experience, education, socio-economic status, nationality, personal +appearance, race, religion, or sexual identity and orientation. + +## Our Standards + +Examples of behavior that contributes to creating a positive environment +include: + +* Using welcoming and inclusive language +* Being respectful of differing viewpoints and experiences +* Gracefully accepting constructive criticism +* Focusing on what is best for the community +* Showing empathy towards other community members + +Examples of unacceptable behavior by participants include: + +* The use of sexualized language or imagery and unwelcome sexual attention or + advances +* Trolling, insulting/derogatory comments, and personal or political attacks +* Public or private harassment +* Publishing others' private information, such as a physical or electronic + address, without explicit permission +* Other conduct which could reasonably be considered inappropriate in a + professional setting + +## Our Responsibilities + +Project maintainers are responsible for clarifying the standards of acceptable +behavior and are expected to take appropriate and fair corrective action in +response to any instances of unacceptable behavior. + +Project maintainers have the right and responsibility to remove, edit, or +reject comments, commits, code, wiki edits, issues, and other contributions +that are not aligned to this Code of Conduct, or to ban temporarily or +permanently any contributor for other behaviors that they deem inappropriate, +threatening, offensive, or harmful. + +## Scope + +This Code of Conduct applies both within project spaces and in public spaces +when an individual is representing the project or its community. Examples of +representing a project or community include using an official project e-mail +address, posting via an official social media account, or acting as an appointed +representative at an online or offline event. Representation of a project may be +further defined and clarified by project maintainers. + +## Enforcement + +Instances of abusive, harassing, or otherwise unacceptable behavior may be +reported by contacting the project team at harshbhardwajcsit@gmail.com. All +complaints will be reviewed and investigated and will result in a response that +is deemed necessary and appropriate to the circumstances. The project team is +obligated to maintain confidentiality with regard to the reporter of an incident. +Further details of specific enforcement policies may be posted separately. + +Project maintainers who do not follow or enforce the Code of Conduct in good +faith may face temporary or permanent repercussions as determined by other +members of the project's leadership. + +## Attribution + +This Code of Conduct is adapted from the [Contributor Covenant][homepage], version 1.4, +available at https://www.contributor-covenant.org/version/1/4/code-of-conduct.html + +[homepage]: https://www.contributor-covenant.org + +For answers to common questions about this code of conduct, see +https://www.contributor-covenant.org/faq From 696a645b27e90695b42cdcabd74f39b63aa07fdf Mon Sep 17 00:00:00 2001 From: Harsh Bhardwaj Date: Tue, 13 Oct 2020 00:59:45 +0530 Subject: [PATCH 4/5] Update issue templates --- .github/ISSUE_TEMPLATE/feature_request.md | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) create mode 100644 .github/ISSUE_TEMPLATE/feature_request.md diff --git a/.github/ISSUE_TEMPLATE/feature_request.md b/.github/ISSUE_TEMPLATE/feature_request.md new file mode 100644 index 0000000..bbcbbe7 --- /dev/null +++ b/.github/ISSUE_TEMPLATE/feature_request.md @@ -0,0 +1,20 @@ +--- +name: Feature request +about: Suggest an idea for this project +title: '' +labels: '' +assignees: '' + +--- + +**Is your feature request related to a problem? Please describe.** +A clear and concise description of what the problem is. Ex. I'm always frustrated when [...] + +**Describe the solution you'd like** +A clear and concise description of what you want to happen. + +**Describe alternatives you've considered** +A clear and concise description of any alternative solutions or features you've considered. + +**Additional context** +Add any other context or screenshots about the feature request here. From 5622a68c3a139f4efcd78c6762f3ba9d0e58ef6a Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Mon, 12 Oct 2020 19:39:25 +0000 Subject: [PATCH 5/5] Bump junit from 4.11 to 4.13.1 in /PTC software/Round 2/solution Bumps [junit](https://github.com/junit-team/junit4) from 4.11 to 4.13.1. - [Release notes](https://github.com/junit-team/junit4/releases) - [Changelog](https://github.com/junit-team/junit4/blob/main/doc/ReleaseNotes4.11.md) - [Commits](https://github.com/junit-team/junit4/compare/r4.11...r4.13.1) Signed-off-by: dependabot[bot] --- PTC software/Round 2/solution/pom.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/PTC software/Round 2/solution/pom.xml b/PTC software/Round 2/solution/pom.xml index 508c98a..a619ad6 100644 --- a/PTC software/Round 2/solution/pom.xml +++ b/PTC software/Round 2/solution/pom.xml @@ -17,7 +17,7 @@ junit junit - 4.11 + 4.13.1 test