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

Implement cloud value specific validation #7119

Open
xlight05 opened this issue Oct 13, 2023 · 10 comments
Open

Implement cloud value specific validation #7119

xlight05 opened this issue Oct 13, 2023 · 10 comments

Comments

@xlight05
Copy link

Description:
$Subject

As of now, we are supporting the Cloud.toml based on k8s schema. However, docker supports only a small subset of those. If the docker flag was selected, users should receive diagnostics if k8s-specific fields were selected.

This can be implemented using another schema for cloud=docker

Describe your problem(s)

Describe your solution(s)

Related Issues (optional):

Suggested Labels (optional):

Suggested Assignees (optional):

@Vishalk91-4
Copy link

@xlight05, could you please assign this issue to me
Could you tell me which files do i need to look into, for making changes and explain broadly on what I need to add
Thanks

@Tushar98644
Copy link

@xlight05 I would like to work on this issue

@xlight05
Copy link
Author

Hii, thanks for your interest in this specific issue.
We usually do the schema validation via a schema. You can find c2c-schema.json in the codebase. This is a custom written TOML validator which follows same json spec. However it only supports very little features of json schema spec so try to use the same syntax as the c2c-schema.json.

What you will have to do is to introduce a new file similar to c2c-schema and add the docker specific stuff there.

@keizer619
Copy link
Member

@Vishalk91-4 Are you still working on this?

@anupama-pathirage anupama-pathirage transferred this issue from ballerina-platform/module-ballerina-c2c Oct 2, 2024
@devesh711
Copy link

hey @keizer619 ,Can I work on this ?

@keizer619
Copy link
Member

Hi @devesh711

I have assigned this issue to you.

To help you get started, here are some essential resources:

  1. Understanding Ballerina Platform:
    Learn what Ballerina is all about Ballerina Platform
  2. How to Contribute:
    Read our contributing guidelines to understand how you can contribute effectively: Contribution Guide
  3. Contributing to the Ballerina Library:
    If you're interested in contributing to our library, here are the guidelines: Library Contribution Guide
  4. Learn Ballerina:
    If you're new to Ballerina or want to enhance your skills, our official website offers a wealth of learning resources: Learn Ballerina
  5. Get Help and Connect:
    Ask technical questions on Stack Overflow with Ballerina tag and join our Discord community Ballerina Discord

@devesh711
Copy link

thanks @keizer619 .

@xlight05
Copy link
Author

hey @keizer619 ,Can I work on this ?

You can refer to this comment for details. #7119 (comment)

You can ask me if anything =)

@devesh711 devesh711 removed their assignment Oct 15, 2024
@keizer619 keizer619 assigned devesh711 and unassigned devesh711 Oct 16, 2024
@naaa760
Copy link

naaa760 commented Oct 24, 2024

Hello @keizer619 :)
I want to work on this issue!

@keizer619
Copy link
Member

@naaa760 I have assigned this issue to you.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
Status: No status
Status: In Progress
Development

No branches or pull requests

7 participants