Change Log Report
Total number of changed sets: 1
Changes between 2024-02-16 and 2024-03-18
Total commits: 30
Total number of files changed: 103
bruno/actuator/Show Translation Counter.bru v 9b1fc49798631f01b3ac5c23ff8412abedd588bb
bruno/scenario/translation-counter/Check Translation Counter.bru v 9b1fc49798631f01b3ac5c23ff8412abedd588bb
bruno/scenario/translation-counter/Reset Translation Counter.bru v 9b1fc49798631f01b3ac5c23ff8412abedd588bb
bruno/scenario/translation-counter/Second Check.bru v 9b1fc49798631f01b3ac5c23ff8412abedd588bb
bruno/scenario/translation-counter/Set Translation Counter.bru v 9b1fc49798631f01b3ac5c23ff8412abedd588bb
bruno/scenario/translation-counter/Validate Translation Counter.bru v 9b1fc49798631f01b3ac5c23ff8412abedd588bb
bruno/scenario/translation-counter/Zero Translation Counter.bru v 9b1fc49798631f01b3ac5c23ff8412abedd588bb
http-client/poc/increase-counter.http v 9b1fc49798631f01b3ac5c23ff8412abedd588bb
http-client/scenario/translation-counter.http v 9b1fc49798631f01b3ac5c23ff8412abedd588bb
http-yac/actuator/reset-translation-counter.http v 9b1fc49798631f01b3ac5c23ff8412abedd588bb
http-yac/actuator/show-translation-counter.http v 9b1fc49798631f01b3ac5c23ff8412abedd588bb
http-yac/poc/increase-counter.http v 9b1fc49798631f01b3ac5c23ff8412abedd588bb
http-yac/scenario/translation-counter.http v 9b1fc49798631f01b3ac5c23ff8412abedd588bb
hurl/translation-counter.hurl v 9b1fc49798631f01b3ac5c23ff8412abedd588bb
pom.xml v 9b1fc49798631f01b3ac5c23ff8412abedd588bb
src/main/java/lv/id/jc/piglatin/actuator/TranslationCountEndpoint.java v 9b1fc49798631f01b3ac5c23ff8412abedd588bb
Update endpoint id from 'count' to 'counter'
The 'count' endpoint id was updated to 'counter' across the application. This change has been applied across all instances in the HTTP calls and in the TranslationCountEndpoint class. The pom.xml file also got updated by increasing the groovy version and removing the jmeter-maven-plugin configuration.
Update endpoints in translation counter
The endpoint names in the translation counter have been updated from '/actuator/translation-count' to '/actuator/count'. This change was made to simplify the naming conventions in the code. No functionality has been affected and applications using these endpoints should update the URL they are using to engage with this feature.
bruno/actuator/Show Translation Counter.bru v 779bbddb6575ce1d07d48b4c6310d28c21fd891d
bruno/scenario/translation-counter/Check Translation Counter.bru v 779bbddb6575ce1d07d48b4c6310d28c21fd891d
bruno/scenario/translation-counter/Reset Translation Counter.bru v 779bbddb6575ce1d07d48b4c6310d28c21fd891d
bruno/scenario/translation-counter/Second Check.bru v 779bbddb6575ce1d07d48b4c6310d28c21fd891d
bruno/scenario/translation-counter/Set Translation Counter.bru v 779bbddb6575ce1d07d48b4c6310d28c21fd891d
bruno/scenario/translation-counter/Validate Translation Counter.bru v 779bbddb6575ce1d07d48b4c6310d28c21fd891d
bruno/scenario/translation-counter/Zero Translation Counter.bru v 779bbddb6575ce1d07d48b4c6310d28c21fd891d
http-client/poc/increase-counter.http v 779bbddb6575ce1d07d48b4c6310d28c21fd891d
http-client/scenario/translation-counter.http v 779bbddb6575ce1d07d48b4c6310d28c21fd891d
http-yac/scenario/translation-counter.http v 779bbddb6575ce1d07d48b4c6310d28c21fd891d
hurl/translation-counter.hurl v 779bbddb6575ce1d07d48b4c6310d28c21fd891d
src/main/java/lv/id/jc/piglatin/actuator/StatusCodeSupplier.java v 779bbddb6575ce1d07d48b4c6310d28c21fd891d
src/main/java/lv/id/jc/piglatin/actuator/TranslationCountEndpoint.java v 779bbddb6575ce1d07d48b4c6310d28c21fd891d
src/main/resources/application.yaml v 779bbddb6575ce1d07d48b4c6310d28c21fd891d
Refactor endpoint and application configuration
Endpoint id for translation count has been changed from 'translation-count' to 'count', improving simplicity and standardizing endpoint naming across different services. Also, the configuration property 'my-blog.url' has been refactored to 'blog.url' thus standardizing the naming convention for application configuration properties.
src/test/jmeter/PerformanceTest.jmx v 04c9b1cad705dc63552ac20eb7fe1245b8040be7
Update sonar-cloud.yml to use local mvn wrapper
The change was made in the sonar-cloud.yml file to use the local Maven wrapper (./mvnw) for running the verify and Sonar plugin. The local wrapper is more portable and ensures that everyone uses the same Maven version, enhancing the reliability and consistency of the build process.
src/test/jmeter/PerformanceTest.jmx v 6bb4d7c9e30f6670a7d85f06961573fbd97ccf83
src/test/jmeter/test-data.csv v 6bb4d7c9e30f6670a7d85f06961573fbd97ccf83
Update project version and add JMeter plugin
The project parent version has been updated from 3.2.2 to 3.2.3 and the project version has been updated from 0.0.3-SNAPSHOT to 0.0.4-SNAPSHOT. A new dependency was added, the JMeter Maven plugin (version 3.8.0), which will allow the creation, execution, and analysis of JMeter tests within the Maven lifecycle.
Update Spock framework version
The Spock framework has been updated from version 2.4-M1-groovy-4.0 to 2.4-M2-groovy-4.0. This update is essential to leverage the improvements and bug fixes included in the new version.
jmeter/PerformanceTest.jmx v db2d72ab337906b1f61fd039643ae02d7bdf01bd
jmeter/test-data.csv v db2d72ab337906b1f61fd039643ae02d7bdf01bd
Add performance testing details and update test data
Added section about performance testing in README.md and provided links to detailed reports. In addition, the test-data.csv used by jMeter has been updated with improved formatting for enhanced readability and clarity.
http-yac/package.json v 1b118945032c2d3aeeb906da1fe2e15954957d80
Update httpyac dependency version
The httpyac dependency version in package.json has been updated. This change involves an upgrade from version 6.11.3 to 6.11.4, ensuring the application utilizes the most recent version of the httpyac package.
src/power-apps/PigLatin-Translator.swagger.json v 0c1290868e09877d98404d648f8f21e715416040
Add PigLatin Translator swagger json and update CI workflow
A new swagger json file has been added for the PigLatin Translator with defined paths and responses. Updated the Continuous Integration workflow in api-tests-hurl.yaml to remove the test report publishing step as it is no longer required. These changes are necessary to properly document the API and streamline the CI process.
Add checkout action to API tests workflow
Added the GitHub action `actions/checkout@v4` to the steps in the API tests workflow. This ensures that the latest version of the source code is checked out before running the API tests.
README.md v 07d4d37564368fcd83cdbd16a676e214cf554831
hurl/TestApi.ps1 v 07d4d37564368fcd83cdbd16a676e214cf554831
Update API tests documentation and Hurl workflow
Updated README to include links to the API testing frameworks. Refactored the Hurl GitHub workflow and renamed the test script file. These changes provide more information about mentioned testing frameworks and enhance the clarity and consistency of the Hurl testing process.
.github/workflows/api-tests-hurl.yaml v 61c8c9cdd6b83e6192d9ca4e68d6310762442b40
hurl/RunTest.ps1 v 61c8c9cdd6b83e6192d9ca4e68d6310762442b40
hurl/translation-counter.hurl v 61c8c9cdd6b83e6192d9ca4e68d6310762442b40
Add API tests using Hurl
This commit adds a new workflow for API tests using Hurl and creates new Hurl scripts for testing. Minor changes have also been made to the existing httpYac tests, such as the removal of explanatory comments.
http-yac/actuator/health.http v 7e20b82fb2a36e32108645d9d570b689bf2ae617
http-yac/actuator/server-info.http v 7e20b82fb2a36e32108645d9d570b689bf2ae617
http-yac/actuator/show-translation-counter.http v 7e20b82fb2a36e32108645d9d570b689bf2ae617
http-yac/poc/increase-counter.http v 7e20b82fb2a36e32108645d9d570b689bf2ae617
Add counter increment and update conditions in HTTP requests
New code is introduced to increment a translation counter in the system. Two `increase-counter.http` files have been created under 'http-client/poc' and 'http-yac/poc' respectively. Moreover, conditions related to disk space, source code, and count checks in several 'http-yac/actuator' files have been adjusted to a stricter or more accurate value. This aims to improve the robustness of the HTTP endpoint tests.
src/test/groovy/lv/id/jc/piglatin/actuator/StatusCodeSupplierSpec.groovy v 783d337f0878868b065594ff8136b4ac02c5eace
Refactor StatusCodeSupplierSpec and update pom.xml
Refactored StatusCodeSupplierSpec to initialize StatusCodeSupplier in a setup method and simplified exception handling. Updated pom.xml to include Spec.java files in the test scope. These changes make the test setup more clear and ensures all relevant test files are included during testing.
bruno/scenario/translation-counter/Reset Translation Counter.bru v b124798a74475601a577c000014e13c403de9568
bruno/scenario/translation-counter/Second Check.bru v b124798a74475601a577c000014e13c403de9568
bruno/scenario/translation-counter/Set Translation Counter.bru v b124798a74475601a577c000014e13c403de9568
bruno/scenario/translation-counter/Validate Translation Counter.bru v b124798a74475601a577c000014e13c403de9568
bruno/scenario/translation-counter/Zero Translation Counter.bru v b124798a74475601a577c000014e13c403de9568
http-yac/actuator/reset-translation-counter.http v b124798a74475601a577c000014e13c403de9568
http-yac/actuator/show-translation-counter.http v b124798a74475601a577c000014e13c403de9568
Update actuator endpoint naming
The actuator endpoint 'translationcount' has been updated to 'translation-count' across multiple files. This change improves readability and follows the standard kebab-case naming convention for URLs. All associated URLs in the Bruno and HTTP-YAC scenarios have been updated accordingly.
Remove unnecessary translation description
The description for the translation of "Hello, World!" to Pig Latin was removed as it was deemed unnecessary. This change simplifies the code, improving readability and maintainability.
bruno/actuator/Show Translation Counter.bru v 910961d450bfff1bf12a5344ac0a30d14b68fb90
http-yac/scenario/translation-counter.http v 910961d450bfff1bf12a5344ac0a30d14b68fb90
src/main/java/lv/id/jc/piglatin/actuator/StatusCodeSupplier.java v 910961d450bfff1bf12a5344ac0a30d14b68fb90
src/main/java/lv/id/jc/piglatin/actuator/TranslationCountEndpoint.java v 910961d450bfff1bf12a5344ac0a30d14b68fb90
Refactor translation count endpoint URLs and adjust relevant comments
The commit includes refactoring of endpoint URLs for translation count related operations, changing from "translationcount" to "translation-count" to improve URL semantics. Also, comments in TranslationCountEndpoint class were adjusted to reflect that we're dealing with multiple counts. References to the old endpoint in other files were likewise updated.
src/main/java/lv/id/jc/piglatin/actuator/StatusCodeSupplier.java v a6bbe06111439a95d8c2d06ae3622618563af6fe
src/main/java/lv/id/jc/piglatin/actuator/package-info.java v a6bbe06111439a95d8c2d06ae3622618563af6fe
src/main/java/lv/id/jc/piglatin/controller/package-info.java v a6bbe06111439a95d8c2d06ae3622618563af6fe
src/main/java/lv/id/jc/piglatin/core/package-info.java v a6bbe06111439a95d8c2d06ae3622618563af6fe
src/main/java/lv/id/jc/piglatin/service/package-info.java v a6bbe06111439a95d8c2d06ae3622618563af6fe
src/main/resources/application.yaml v a6bbe06111439a95d8c2d06ae3622618563af6fe
Add non-null field annotation and new blog URL config
Added @NonNullFields annotation to enhance null safety in several packages. Also introduced a new configuration for a blog URL in 'application.yaml'. This URL is used in the StatusCodeSupplier to replace a previously hard-coded value, thereby increasing flexibility and configurability.
.github/workflows/api-tests-http-yac-json.yaml v 3eb28563811635c72c6605495bfe265a5128f265
.github/workflows/unit-tests.yaml v 3eb28563811635c72c6605495bfe265a5128f265
Remove httpYac workflow, update API tests and unit tests workflows
The httpYac API tests workflow was removed due to redundancy and maintenance efficiency. Meanwhile, adjustments were made to the API tests and unit tests workflow files to ensure that they are functioning properly. This includes modifying the publish test report sections and adding a step to publish unit test results.
.github/workflows/api-tests-http-yac-json.yaml v 260ae9ff4b676c13586ebe295b66838a9a7e884f
.github/workflows/main-piglatin.yml v 260ae9ff4b676c13586ebe295b66838a9a7e884f
.github/workflows/unit-tests.yaml v 260ae9ff4b676c13586ebe295b66838a9a7e884f
http-yac/actuator/health.http v 260ae9ff4b676c13586ebe295b66838a9a7e884f
http-yac/actuator/show-translation-counter.http v 260ae9ff4b676c13586ebe295b66838a9a7e884f
http-yac/package.json v 260ae9ff4b676c13586ebe295b66838a9a7e884f
Add httpYac JSON tests and disable certain endpoints
Added new GitHub action workflow to run httpYac API tests in JSON format and created an output command to generate a report in JSON format. Also, a different action has been updated to reflect the changes in testing framework. The `show-translation-counter.http` and `health.http` endpoints have been disabled. Renaming of two workflow files was also performed to maintain consistency. This change enhances the overall test coverage and reporting mechanism.
.github/workflows/api-tests-http-client.yaml v 4bd54434254e1427f5249fffac67b475ac40815a
.github/workflows/api-tests-http-yac.yaml v 4bd54434254e1427f5249fffac67b475ac40815a
.github/workflows/api-tests-karate.yaml v 4bd54434254e1427f5249fffac67b475ac40815a
.github/workflows/code_quality.yml v 4bd54434254e1427f5249fffac67b475ac40815a
.github/workflows/sonar-cloud.yml v 4bd54434254e1427f5249fffac67b475ac40815a
http-yac/actuator/blog-health.http v 4bd54434254e1427f5249fffac67b475ac40815a
http-yac/actuator/health.http v 4bd54434254e1427f5249fffac67b475ac40815a
http-yac/actuator/reset-translation-counter.http v 4bd54434254e1427f5249fffac67b475ac40815a
http-yac/actuator/server-info.http v 4bd54434254e1427f5249fffac67b475ac40815a
http-yac/actuator/show-translation-counter.http v 4bd54434254e1427f5249fffac67b475ac40815a
http-yac/body-json-to-json.http v 4bd54434254e1427f5249fffac67b475ac40815a
http-yac/body-xml-to-xml.http v 4bd54434254e1427f5249fffac67b475ac40815a
http-yac/http-client.env.json v 4bd54434254e1427f5249fffac67b475ac40815a
http-yac/package-lock.json v 4bd54434254e1427f5249fffac67b475ac40815a
http-yac/package.json v 4bd54434254e1427f5249fffac67b475ac40815a
http-yac/scenario/translation-counter.http v 4bd54434254e1427f5249fffac67b475ac40815a
qodana.yaml v 4bd54434254e1427f5249fffac67b475ac40815a
Refactor workflow names and remove Qodana code quality check
Workflow names have been renamed to provide more clarity, observing a "API Tests - [Framework]" convention for API test workflows. Qodana code quality check has been removed due to shift in code quality standards or tooling decisions. A new scenario file for translation counter has been added in the http-yac directory.
add package-lock.json
Add permissions to GitHub workflow yaml file
Increased the scope of permissions in the `httpyac.yaml` GitHub actions workflow. New permissions include read access to issues and write access to pull-requests, ensuring the action has the proper access rights to execute necessary tasks.
httpYac/package.json v 8344855e1ce90a677806b35c56c9e72c4b6304cc
Add httpYac API tests workflow
A new GitHub workflow for running httpYac API tests has been created. This change also includes a new package.json file for httpYac test project, defining its dependencies and test scripts. Test results will be published using GitHub actions.
Refactor HealthFunctionSpec unit tests
Simplified health functions tests by using direct HTTP status code values instead of HttpStatus enums. Also, optimized the HealthFunction instantiation by removing explicit type declaration. This makes the test code more straightforward and easier to understand.
httpYac/actuator/health.http v eafb09faedb068377450aed47f84bd25d9fcd508
httpYac/actuator/reset-translation-counter.http v eafb09faedb068377450aed47f84bd25d9fcd508
httpYac/actuator/server-info.http v eafb09faedb068377450aed47f84bd25d9fcd508
httpYac/actuator/show-translation-counter.http v eafb09faedb068377450aed47f84bd25d9fcd508
Add new httpYac tests for actuator endpoints
This commit introduces several new httpYac tests, aimed at validating the functionality of various actuator endpoints like health, translation count, server info, and blog health. Increased test coverage will improve our confidence in the stability and correct functionality of the entire system.
.github/workflows/ijhttp_tests.yaml v f2ed417318d7ab83372812c8db0feada64dedbac
pom.xml v f2ed417318d7ab83372812c8db0feada64dedbac
Update test folders and upgrade dependencies
Updated the designated test folder names in GitHub workflows from 'bruno-test' to 'bruno' and 'ijhttp-test' to 'http-client'. Updated various dependencies in pom.xml, including Groovy, maven-surefire-plugin, and openapi-generator-maven-plugin to their newer versions. This refresh is intended to ensure compatibility with the latest changes and improvements in these dependencies.
bruno/actuator/Health.bru v 71212d4e28f8e51d93982939e3e9a45d9fed46cb
bruno/actuator/Reset Translation Counter.bru v 71212d4e28f8e51d93982939e3e9a45d9fed46cb
bruno/actuator/Server Info.bru v 71212d4e28f8e51d93982939e3e9a45d9fed46cb
bruno/actuator/Show Translation Counter.bru v 71212d4e28f8e51d93982939e3e9a45d9fed46cb
bruno/bruno.json v 71212d4e28f8e51d93982939e3e9a45d9fed46cb
bruno/collection.bru v 71212d4e28f8e51d93982939e3e9a45d9fed46cb
bruno/environments/azure.bru v 71212d4e28f8e51d93982939e3e9a45d9fed46cb
bruno/environments/local.bru v 71212d4e28f8e51d93982939e3e9a45d9fed46cb
bruno/json-response/No Body to JSON.bru v 71212d4e28f8e51d93982939e3e9a45d9fed46cb
bruno/json-response/Null request sent.bru v 71212d4e28f8e51d93982939e3e9a45d9fed46cb
bruno/json-response/Null sentence sent.bru v 71212d4e28f8e51d93982939e3e9a45d9fed46cb
bruno/json-response/Sentence can't be translated.bru v 71212d4e28f8e51d93982939e3e9a45d9fed46cb
bruno/json-response/Translate sentence to Pig Latin.bru v 71212d4e28f8e51d93982939e3e9a45d9fed46cb
bruno/openapi-docs/Confluence.bru v 71212d4e28f8e51d93982939e3e9a45d9fed46cb
bruno/openapi-docs/OpenAPI Specification.bru v 71212d4e28f8e51d93982939e3e9a45d9fed46cb
bruno/openapi-docs/Rapidoc OpenAPI.bru v 71212d4e28f8e51d93982939e3e9a45d9fed46cb
bruno/openapi-docs/Redoc OpenAPI.bru v 71212d4e28f8e51d93982939e3e9a45d9fed46cb
bruno/openapi-docs/Swagger UI.bru v 71212d4e28f8e51d93982939e3e9a45d9fed46cb
bruno/package-lock.json v 71212d4e28f8e51d93982939e3e9a45d9fed46cb
bruno/package.json v 71212d4e28f8e51d93982939e3e9a45d9fed46cb
bruno/scenario/translation-counter/Check Translation Counter.bru v 71212d4e28f8e51d93982939e3e9a45d9fed46cb
bruno/scenario/translation-counter/Reset Translation Counter.bru v 71212d4e28f8e51d93982939e3e9a45d9fed46cb
bruno/scenario/translation-counter/Second Check.bru v 71212d4e28f8e51d93982939e3e9a45d9fed46cb
bruno/scenario/translation-counter/Set Translation Counter.bru v 71212d4e28f8e51d93982939e3e9a45d9fed46cb
bruno/scenario/translation-counter/Translate first sentence.bru v 71212d4e28f8e51d93982939e3e9a45d9fed46cb
bruno/scenario/translation-counter/Translate second sentence.bru v 71212d4e28f8e51d93982939e3e9a45d9fed46cb
bruno/scenario/translation-counter/Validate Translation Counter.bru v 71212d4e28f8e51d93982939e3e9a45d9fed46cb
bruno/scenario/translation-counter/Zero Translation Counter.bru v 71212d4e28f8e51d93982939e3e9a45d9fed46cb
bruno/xml-response/No Body to XML.bru v 71212d4e28f8e51d93982939e3e9a45d9fed46cb
bruno/xml-response/Translate text to Pig Latin.bru v 71212d4e28f8e51d93982939e3e9a45d9fed46cb
bruno/xml-response/xml-to-xml.bru v 71212d4e28f8e51d93982939e3e9a45d9fed46cb
http-client/actuator.http v 71212d4e28f8e51d93982939e3e9a45d9fed46cb
http-client/api-docs.http v 71212d4e28f8e51d93982939e3e9a45d9fed46cb
http-client/bad-request.http v 71212d4e28f8e51d93982939e3e9a45d9fed46cb
http-client/body-json-to-json.http v 71212d4e28f8e51d93982939e3e9a45d9fed46cb
http-client/body-text-to-json.http v 71212d4e28f8e51d93982939e3e9a45d9fed46cb
http-client/body-xml-to-xml.http v 71212d4e28f8e51d93982939e3e9a45d9fed46cb
http-client/http-client.env.json v 71212d4e28f8e51d93982939e3e9a45d9fed46cb
http-client/scripts/validate-200-response.js v 71212d4e28f8e51d93982939e3e9a45d9fed46cb
http-client/scripts/validate-content-json.js v 71212d4e28f8e51d93982939e3e9a45d9fed46cb
http-client/smoke-test.http v 71212d4e28f8e51d93982939e3e9a45d9fed46cb
jmeter/PerformanceTest.jmx v 71212d4e28f8e51d93982939e3e9a45d9fed46cb
jmeter/SmokeTest.jmx v 71212d4e28f8e51d93982939e3e9a45d9fed46cb
jmeter/test-data.csv v 71212d4e28f8e51d93982939e3e9a45d9fed46cb
src/main/java/lv/id/jc/piglatin/actuator/BlogHealthIndicator.java v 71212d4e28f8e51d93982939e3e9a45d9fed46cb
src/main/java/lv/id/jc/piglatin/actuator/HealthFunction.java v 71212d4e28f8e51d93982939e3e9a45d9fed46cb
src/main/java/lv/id/jc/piglatin/actuator/StatusCodeSupplier.java v 71212d4e28f8e51d93982939e3e9a45d9fed46cb
src/test/groovy/lv/id/jc/piglatin/actuator/HealthFunctionSpec.groovy v 71212d4e28f8e51d93982939e3e9a45d9fed46cb
Refactor test file locations and clean up code comments
This commit includes a restructuring of the test files whereby they have been renamed and moved to a 'http-client' directory for better organization. Additionally, verbose comments in the 'BlogHealthIndicator', 'HealthFunction', and 'StatusCodeSupplier' classes have been tidied up. A minor change in 'HealthFunctionSpec.groovy' now ensures that the health details 'HTTP Status Code' is returned as an int.
httpYac/body-xml-to-xml.http v 41d5b78cdf3e16aa26773b85114c92a828c51c42
httpYac/http-client.env.json v 41d5b78cdf3e16aa26773b85114c92a828c51c42
Add Pig Latin translation tests
This commit includes test cases for both XML and JSON requests to the Pig Latin translation endpoint. It also adds the local and Azure hosts configurations in the http-client environment. These tests will aid in ensuring the continuous correct functionality for the translation services.
Add or update the Azure App Service build and deployment workflow config