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

docs: update HDI case study #3434

Open
wants to merge 8 commits into
base: master
Choose a base branch
from

Conversation

thorbenheins
Copy link

@thorbenheins thorbenheins commented Nov 29, 2024

Description

  • ...
  • ...
  • ...

Related issue(s)

Summary by CodeRabbit

  • New Features

    • Enhanced clarity on HDI Global SE's operational practices for asynchronous communication.
    • Updated revenue format for better readability.
    • Introduced a forward-looking perspective on AsyncAPI document usage.
    • Highlighted public accessibility of the documentation wiki for developers.
  • Documentation

    • Rephrased challenges and solution descriptions to reflect current practices and methodologies.
    • Clarified the approach to AsyncAPI and GitOps practices.

Copy link

coderabbitai bot commented Nov 29, 2024

Walkthrough

The changes made in the hdi.yml configuration file focus on enhancing the clarity and detail of HDI Global SE's operational practices concerning asynchronous communication. Key updates include a revised revenue format, rephrased challenges and solutions sections emphasizing AsyncAPI and GitOps methodologies, and a new outlook on future plans for using AsyncAPI documents. The documentation now also highlights the public accessibility of the documentation wiki for developers, ensuring a clearer understanding of the company's approach and future directions.

Changes

File Change Summary
config/casestudies/hdi.yml - Updated revenue format from "9.1 Mrd. EUR" to "9.1B EUR".
- Revised challenges section to clarify AsyncAPI and GitOps practices.
- Adjusted solution description to indicate creation of multiple AsyncAPI documents.
- Updated outlook section to reflect future plans for AsyncAPI document usage and internal developer portal configuration.
- Highlighted public accessibility of the documentation wiki for developers.

Poem

In the meadow where the bunnies play,
Changes bloom like flowers in May.
AsyncAPI guides our way,
GitOps leads us, come what may.
With clearer paths and docs to share,
Together, we hop without a care! 🐇✨


Thank you for using CodeRabbit. We offer it for free to the OSS community and would appreciate your support in helping us grow. If you find it useful, would you consider giving us a shout-out on your favorite social media?

❤️ Share
🪧 Tips

Chat

There are 3 ways to chat with CodeRabbit:

  • Review comments: Directly reply to a review comment made by CodeRabbit. Example:
    • I pushed a fix in commit <commit_id>, please review it.
    • Generate unit testing code for this file.
    • Open a follow-up GitHub issue for this discussion.
  • Files and specific lines of code (under the "Files changed" tab): Tag @coderabbitai in a new review comment at the desired location with your query. Examples:
    • @coderabbitai generate unit testing code for this file.
    • @coderabbitai modularize this function.
  • PR comments: Tag @coderabbitai in a new PR comment to ask questions about the PR branch. For the best results, please provide a very specific query, as very limited context is provided in this mode. Examples:
    • @coderabbitai gather interesting stats about this repository and render them as a table. Additionally, render a pie chart showing the language distribution in the codebase.
    • @coderabbitai read src/utils.ts and generate unit testing code.
    • @coderabbitai read the files in the src/scheduler package and generate a class diagram using mermaid and a README in the markdown format.
    • @coderabbitai help me debug CodeRabbit configuration file.

Note: Be mindful of the bot's finite context window. It's strongly recommended to break down tasks such as reading entire modules into smaller chunks. For a focused discussion, use review comments to chat about specific files and their changes, instead of using the PR comments.

CodeRabbit Commands (Invoked using PR comments)

  • @coderabbitai pause to pause the reviews on a PR.
  • @coderabbitai resume to resume the paused reviews.
  • @coderabbitai review to trigger an incremental review. This is useful when automatic reviews are disabled for the repository.
  • @coderabbitai full review to do a full review from scratch and review all the files again.
  • @coderabbitai summary to regenerate the summary of the PR.
  • @coderabbitai resolve resolve all the CodeRabbit review comments.
  • @coderabbitai configuration to show the current CodeRabbit configuration for the repository.
  • @coderabbitai help to get help.

Other keywords and placeholders

  • Add @coderabbitai ignore anywhere in the PR description to prevent this PR from being reviewed.
  • Add @coderabbitai summary to generate the high-level summary at a specific location in the PR description.
  • Add @coderabbitai anywhere in the PR title to generate the title automatically.

Documentation and Community

  • Visit our Documentation for detailed information on how to use CodeRabbit.
  • Join our Discord Community to get help, request features, and share feedback.
  • Follow us on X/Twitter for updates and announcements.

Copy link

netlify bot commented Nov 29, 2024

Deploy Preview for asyncapi-website ready!

Built without sensitive environment variables

Name Link
🔨 Latest commit bfaba67
🔍 Latest deploy log https://app.netlify.com/sites/asyncapi-website/deploys/6749acd0dac1410008815385
😎 Deploy Preview https://deploy-preview-3434--asyncapi-website.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify site configuration.

Copy link

codecov bot commented Nov 29, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 67.77%. Comparing base (949f520) to head (58c2691).

Additional details and impacted files
@@           Coverage Diff           @@
##           master    #3434   +/-   ##
=======================================
  Coverage   67.77%   67.77%           
=======================================
  Files          21       21           
  Lines         664      664           
=======================================
  Hits          450      450           
  Misses        214      214           

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

Copy link

netlify bot commented Nov 29, 2024

Deploy Preview for asyncapi-website ready!

Built without sensitive environment variables

Name Link
🔨 Latest commit 58c2691
🔍 Latest deploy log https://app.netlify.com/sites/asyncapi-website/deploys/675286034f67a300083e3c0c
😎 Deploy Preview https://deploy-preview-3434--asyncapi-website.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify site configuration.

@asyncapi-bot
Copy link
Contributor

asyncapi-bot commented Nov 29, 2024

⚡️ Lighthouse report for the changes in this PR:

Category Score
🔴 Performance 37
🟢 Accessibility 98
🟢 Best practices 92
🟢 SEO 100
🔴 PWA 33

Lighthouse ran on https://deploy-preview-3434--asyncapi-website.netlify.app/

Copy link

@coderabbitai coderabbitai bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Actionable comments posted: 0

🧹 Outside diff range and nitpick comments (4)
config/casestudies/hdi.yml (4)

14-14: Remove trailing spaces

Several lines in this section contain trailing spaces.

-  The HDI has various platform teams, among them the Integration Platform team, which offers three products: Azure API Management, Azure Event Hub, and the Azure Service Bus.  
+  The HDI has various platform teams, among them the Integration Platform team, which offers three products: Azure API Management, Azure Event Hub, and the Azure Service Bus.
-  configuration model in a GitOps fashion. 
+  configuration model in a GitOps fashion.
-  We want to establish AsyncAPI as documentation standard in HDI's organization. Information about the available message formats and topics is already available in distributed 
+  We want to establish AsyncAPI as documentation standard in HDI's organization. Information about the available message formats and topics is already available in distributed
-  sources (e.g. repositories) and needs to be aggregated. 
+  sources (e.g. repositories) and needs to be aggregated.
-  To achieve discoverability the creation of a comprehensive catalog of existing topics is necessary, allowing potential subscribers access to information about 
+  To achieve discoverability the creation of a comprehensive catalog of existing topics is necessary, allowing potential subscribers access to information about

Also applies to: 17-17, 18-18, 19-19, 20-20

🧰 Tools
🪛 yamllint (1.35.1)

[error] 14-14: trailing spaces

(trailing-spaces)


25-25: Remove trailing spaces

Several lines in this section contain trailing spaces.

-  The solution is to create AsyncAPI documents where each topic owned by the customer is represented as a channel. 
+  The solution is to create AsyncAPI documents where each topic owned by the customer is represented as a channel.
-  As we are using the GitOps setup it is straightforward to run pipeline whenever there is a change (commit) in the topic configuration. 
+  As we are using the GitOps setup it is straightforward to run pipeline whenever there is a change (commit) in the topic configuration.

Also applies to: 26-26, 27-27, 28-28

🧰 Tools
🪛 yamllint (1.35.1)

[error] 25-25: trailing spaces

(trailing-spaces)


203-205: LGTM: Clear roadmap for AsyncAPI adoption

The outlook section presents a well-structured roadmap. Consider prioritizing the evaluation of replacing the custom configuration model (line 205) before implementing the internal developer portal integration, as this architectural decision could impact the portal's implementation.


216-216: LGTM: Added AsyncAPI validation step

Good addition of the AsyncAPI CLI validation step. Consider documenting the error handling process for validation failures to ensure consistent handling across the team.

📜 Review details

Configuration used: .coderabbit.yaml
Review profile: CHILL

📥 Commits

Reviewing files that changed from the base of the PR and between 7e033fd and a6eb43d.

📒 Files selected for processing (1)
  • config/casestudies/hdi.yml (3 hunks)
🧰 Additional context used
🪛 yamllint (1.35.1)
config/casestudies/hdi.yml

[error] 14-14: trailing spaces

(trailing-spaces)


[error] 17-17: trailing spaces

(trailing-spaces)


[error] 18-18: trailing spaces

(trailing-spaces)


[error] 19-19: trailing spaces

(trailing-spaces)


[error] 20-20: trailing spaces

(trailing-spaces)


[error] 25-25: trailing spaces

(trailing-spaces)


[error] 26-26: trailing spaces

(trailing-spaces)


[error] 27-27: trailing spaces

(trailing-spaces)


[error] 28-28: trailing spaces

(trailing-spaces)

🔇 Additional comments (3)
config/casestudies/hdi.yml (3)

7-7: LGTM: Revenue format standardization

The change from "Mrd." to "B" makes the revenue format more internationally recognizable.


14-21: LGTM: Clear articulation of challenges

The challenges section effectively communicates:

  1. The context of platform teams and their products
  2. The parallel between OpenAPI (sync) and AsyncAPI (async) standards
  3. The GitOps approach to topic management
  4. The goal of establishing AsyncAPI as a documentation standard
🧰 Tools
🪛 yamllint (1.35.1)

[error] 14-14: trailing spaces

(trailing-spaces)


[error] 17-17: trailing spaces

(trailing-spaces)


[error] 18-18: trailing spaces

(trailing-spaces)


[error] 19-19: trailing spaces

(trailing-spaces)


[error] 20-20: trailing spaces

(trailing-spaces)


25-31: LGTM: Well-defined solution implementation

The solution section effectively describes:

  1. The use of AsyncAPI documents for topic representation
  2. Integration with GitOps workflow
  3. Documentation accessibility through Azure DevOps wiki
🧰 Tools
🪛 yamllint (1.35.1)

[error] 25-25: trailing spaces

(trailing-spaces)


[error] 26-26: trailing spaces

(trailing-spaces)


[error] 27-27: trailing spaces

(trailing-spaces)


[error] 28-28: trailing spaces

(trailing-spaces)

@derberg derberg changed the title reviewed the case study as discussed docs: update HDI case study Nov 29, 2024
config/casestudies/hdi.yml Outdated Show resolved Hide resolved
derberg and others added 2 commits November 29, 2024 17:40
removing reference to specific library to use, in order avoid confusion and not send dev running in the wrong direction, as modelina is the correct approach.
Copy link

@coderabbitai coderabbitai bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Actionable comments posted: 0

🧹 Outside diff range and nitpick comments (2)
config/casestudies/hdi.yml (2)

25-31: Consider clarifying the pipeline process

The solution description could be more specific about the pipeline process. Consider mentioning:

  • The trigger conditions for the pipeline
  • The validation steps performed
  • The deployment process to the Azure DevOps wiki
  The solution is to create AsyncAPI documents where each topic owned by the customer is represented as a channel. 
- As we are using the GitOps setup it is straightforward to run pipeline whenever there is a change (commit) in the topic configuration. 
+ As we are using the GitOps setup, our CI/CD pipeline automatically triggers when a commit is made to the topic configuration.
+ The pipeline performs the following steps:
+ 1. Validates the configuration changes
+ 2. Generates the AsyncAPI document
+ 3. Creates the corresponding markdown documentation
+ 4. Deploys both files to our documentation repository
🧰 Tools
🪛 yamllint (1.35.1)

[error] 25-25: trailing spaces

(trailing-spaces)


[error] 26-26: trailing spaces

(trailing-spaces)


[error] 27-27: trailing spaces

(trailing-spaces)


[error] 28-28: trailing spaces

(trailing-spaces)


14-28: Fix trailing spaces in YAML file

Multiple trailing spaces were detected in the file. While this doesn't affect functionality, clean formatting improves maintainability.

Consider running the file through a YAML formatter to clean up these formatting issues.

🧰 Tools
🪛 yamllint (1.35.1)

[error] 14-14: trailing spaces

(trailing-spaces)


[error] 17-17: trailing spaces

(trailing-spaces)


[error] 18-18: trailing spaces

(trailing-spaces)


[error] 19-19: trailing spaces

(trailing-spaces)


[error] 20-20: trailing spaces

(trailing-spaces)


[error] 25-25: trailing spaces

(trailing-spaces)


[error] 26-26: trailing spaces

(trailing-spaces)


[error] 27-27: trailing spaces

(trailing-spaces)


[error] 28-28: trailing spaces

(trailing-spaces)

📜 Review details

Configuration used: .coderabbit.yaml
Review profile: CHILL

📥 Commits

Reviewing files that changed from the base of the PR and between a6eb43d and 8fd8f61.

📒 Files selected for processing (1)
  • config/casestudies/hdi.yml (3 hunks)
🧰 Additional context used
🪛 yamllint (1.35.1)
config/casestudies/hdi.yml

[error] 14-14: trailing spaces

(trailing-spaces)


[error] 17-17: trailing spaces

(trailing-spaces)


[error] 18-18: trailing spaces

(trailing-spaces)


[error] 19-19: trailing spaces

(trailing-spaces)


[error] 20-20: trailing spaces

(trailing-spaces)


[error] 25-25: trailing spaces

(trailing-spaces)


[error] 26-26: trailing spaces

(trailing-spaces)


[error] 27-27: trailing spaces

(trailing-spaces)


[error] 28-28: trailing spaces

(trailing-spaces)

🔇 Additional comments (4)
config/casestudies/hdi.yml (4)

7-7: LGTM: Revenue format standardization

The change from "Mrd." to "B" improves international readability of the revenue figure.


14-21: LGTM: Clear articulation of challenges

The revised challenges section effectively communicates:

  • The context of platform teams and their products
  • The parallel between OpenAPI (sync) and AsyncAPI (async) standards
  • The GitOps-based self-service approach
  • The need for centralized documentation
🧰 Tools
🪛 yamllint (1.35.1)

[error] 14-14: trailing spaces

(trailing-spaces)


[error] 17-17: trailing spaces

(trailing-spaces)


[error] 18-18: trailing spaces

(trailing-spaces)


[error] 19-19: trailing spaces

(trailing-spaces)


[error] 20-20: trailing spaces

(trailing-spaces)


216-216: LGTM: Added AsyncAPI document validation

Good addition of the AsyncAPI CLI validation step. This ensures document correctness before committing to the repository.


203-205: 🛠️ Refactor suggestion

Consider using Modelina for DTO generation

While the future plans are well-defined, for Java DTO generation specifically, consider using Modelina instead of AsyncAPI Generator. Modelina is the recommended tool for simple class generation, while AsyncAPI Generator is better suited for generating clients, docs, and SDKs.

- (Outlook) The AsyncAPI document will be used to generate Java DTOs, ensuring type safety and clear data structure understanding.
+ (Outlook) The AsyncAPI document will be used with Modelina to generate Java DTOs, ensuring type safety and clear data structure understanding.

@sambhavgupta0705
Copy link
Member

/update

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants