Skip to content

Commit

Permalink
Merge pull request #365 from ayushthe1/master
Browse files Browse the repository at this point in the history
camelcase the keys in `metadata.json` across whole adapter
  • Loading branch information
Revolyssup authored Mar 6, 2023
2 parents a5eaa1b + efbd91f commit 31da6cb
Show file tree
Hide file tree
Showing 53 changed files with 66 additions and 66 deletions.
12 changes: 6 additions & 6 deletions build/meshmodel_metadata.json
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
{
"Primary Color": "#D62783",
"Secondary Color": "#ed74b4",
"Shape": "circle",
"Logo URL": "",
"SVG_Color": "<?xml version=\"1.0\" encoding=\"UTF-8\"?><!DOCTYPE svg> <svg width=\"20\" height=\"20\" viewBox=\"0 0 20 20\" fill=\"none\" xmlns=\"http://www.w3.org/2000/svg\"> <g clip-path=\"url(#clip0_33_35)\"> <path fill-rule=\"evenodd\" clip-rule=\"evenodd\" d=\"M9.62579 12.1144C8.45509 12.1144 7.54449 11.1749 7.54449 9.9669C7.54449 8.7588 8.45509 7.8192 9.62579 7.8192C10.7965 7.8192 11.7071 8.7588 11.7071 9.9669C11.7071 11.1749 10.7965 12.1144 9.62579 12.1144Z\" fill=\"white\" /> <path fill-rule=\"evenodd\" clip-rule=\"evenodd\" d=\"M13.6907 10.9736C13.1705 10.9736 12.7151 10.5372 12.7151 9.9669C12.7151 9.4298 13.1378 8.9601 13.6907 8.9601C14.2109 8.9601 14.6664 9.3964 14.6664 9.9669C14.6664 10.5372 14.211 10.9734 13.6907 10.9734V10.9736ZM17.203 11.9128C17.0729 12.4495 16.5524 12.7512 16.0321 12.617C15.5119 12.4828 15.2191 11.9461 15.3492 11.4093C15.4793 10.8726 15.9995 10.5699 16.5199 10.7041C17.0069 10.8382 17.3325 11.3079 17.2347 11.8452C17.2347 11.8452 17.2347 11.8785 17.2024 11.912L17.203 11.9128ZM16.519 9.3617C15.9984 9.4958 15.4781 9.1602 15.3481 8.6232C15.218 8.0865 15.5431 7.5494 16.0635 7.4152C16.5837 7.281 17.104 7.6166 17.2341 8.1537C17.2666 8.2879 17.2666 8.422 17.2341 8.5562C17.2016 8.9255 16.9413 9.2609 16.5186 9.3617H16.519ZM19.9654 11.7776C19.8675 12.3144 19.3797 12.6837 18.8595 12.5831C18.3393 12.4823 17.9814 11.979 18.0792 11.4421C18.1766 10.9053 18.6644 10.536 19.1847 10.6366C19.6726 10.7373 20.0305 11.2071 19.998 11.7105C19.9657 11.744 19.9657 11.744 19.9657 11.7776H19.9654ZM19.1865 9.2956C18.6663 9.3964 18.1784 9.0273 18.0809 8.4903C17.9833 7.9536 18.341 7.45 18.8614 7.3494C19.3816 7.2488 19.8695 7.6178 19.967 8.1548C19.967 8.2554 19.9996 8.3225 19.967 8.4231C19.9345 8.8594 19.6093 9.2286 19.1865 9.2956ZM18.5036 15.2351C18.2435 15.7049 17.6581 15.8728 17.2028 15.6042C16.7476 15.3358 16.5849 14.7317 16.8452 14.262C17.1053 13.7922 17.6906 13.6243 18.1459 13.8929C18.4712 14.0942 18.6661 14.4633 18.6337 14.8325C18.6012 14.9667 18.5686 15.1008 18.5036 15.235V15.2351ZM18.1459 6.108C17.6906 6.3764 17.1053 6.2086 16.8452 5.7387C16.5851 5.2689 16.7476 4.6649 17.2028 4.3965C17.6581 4.1281 18.2434 4.2958 18.5036 4.7657C18.6012 4.9669 18.6337 5.1347 18.6337 5.336C18.6012 5.6381 18.4386 5.94 18.1459 6.1078\" fill=\"white\" /> <path d=\"M9.6583 20C7.0567 20 4.6503 18.9598 2.7967 17.0807C1.00811 15.1677 0 12.6503 0 9.9998C0 7.3149 1.00811 4.8319 2.82914 2.91891C4.6503 1.04024 7.0892 0 9.6583 0C11.8045 0 13.8533 0.70455 15.5443 2.04719L14.3415 3.65759C12.9756 2.58457 11.3495 2.014 9.6589 2.014C7.6102 2.014 5.659 2.85294 4.1956 4.3629C2.73288 5.873 1.9523 7.8529 1.9523 10.0003C1.9523 12.1144 2.76525 14.1278 4.2286 15.6378C5.692 17.1478 7.6108 17.9531 9.692 17.9531C11.4155 17.9531 13.0415 17.3827 14.3746 16.3089L15.5454 17.9192C13.8545 19.2611 11.8058 19.9996 9.6594 19.9996L9.6583 20Z\" fill=\"white\" /> </g> <defs> <clipPath id=\"clip0_33_35\"> <rect width=\"20\" height=\"20\" fill=\"white\" /> </clipPath> </defs></svg>",
"SVG_White": "<svg width=\"32\" height=\"32\" viewBox=\"0 0 32 32\" fill=\"none\" xmlns=\"http://www.w3.org/2000/svg\"><g clip-path=\"url(#a)\" fill=\"#fff\"><path fill-rule=\"evenodd\" clip-rule=\"evenodd\" d=\"M15.401 19.383c-1.873 0-3.33-1.503-3.33-3.436s1.457-3.436 3.33-3.436 3.33 1.503 3.33 3.436-1.457 3.436-3.33 3.436Zm6.504-1.825c-.832 0-1.56-.698-1.56-1.611 0-.86.675-1.61 1.56-1.61.832 0 1.561.697 1.561 1.61 0 .913-.728 1.61-1.56 1.61Zm5.62 1.503a1.516 1.516 0 0 1-1.874 1.126c-.832-.214-1.3-1.073-1.092-1.932a1.516 1.516 0 0 1 1.873-1.128c.779.214 1.3.966 1.144 1.825 0 0 0 .054-.052.107v.002Zm-1.095-4.082c-.833.214-1.665-.323-1.873-1.182a1.604 1.604 0 0 1 1.145-1.933c.832-.215 1.664.323 1.872 1.182.052.215.052.43 0 .644-.052.59-.468 1.128-1.144 1.289Zm5.515 3.865c-.157.859-.938 1.45-1.77 1.289a1.574 1.574 0 0 1-1.248-1.826c.155-.858.936-1.45 1.768-1.288.781.16 1.354.912 1.302 1.718-.052.053-.052.053-.052.107Zm-1.247-3.971c-.832.161-1.613-.43-1.769-1.288a1.575 1.575 0 0 1 1.25-1.826c.832-.161 1.612.43 1.768 1.289 0 .16.052.268 0 .429-.052.698-.572 1.289-1.249 1.396Zm-1.092 9.503c-.416.752-1.353 1.02-2.082.59-.728-.429-.988-1.395-.572-2.147.416-.752 1.353-1.02 2.081-.59.52.322.833.912.78 1.503-.051.215-.103.43-.207.644Zm-.573-14.603c-.728.43-1.665.16-2.08-.591-.417-.752-.157-1.718.572-2.148.728-.43 1.664-.16 2.08.591.157.322.209.59.209.913-.052.483-.312.966-.78 1.235\"/><path d=\"M15.453 32c-4.162 0-8.013-1.664-10.978-4.67A16.56 16.56 0 0 1 0 16c0-4.296 1.613-8.27 4.527-11.33C7.44 1.664 11.343 0 15.453 0c3.434 0 6.712 1.127 9.418 3.276l-1.924 2.576c-2.186-1.717-4.788-2.63-7.493-2.63-3.278 0-6.4 1.343-8.741 3.759-2.34 2.416-3.59 5.584-3.59 9.02 0 3.382 1.301 6.604 3.643 9.02 2.341 2.415 5.411 3.704 8.741 3.704 2.758 0 5.36-.913 7.492-2.63l1.874 2.576c-2.706 2.147-5.984 3.328-9.418 3.328l-.002.001Z\"/></g><defs><clipPath id=\"a\"><path fill=\"#fff\" d=\"M0 0h32v32H0z\"/></clipPath></defs></svg>"
"primaryColor": "#D62783",
"secondaryColor": "#ed74b4",
"shape": "circle",
"logoURL": "",
"svgColor": "<?xml version=\"1.0\" encoding=\"UTF-8\"?><!DOCTYPE svg> <svg width=\"20\" height=\"20\" viewBox=\"0 0 20 20\" fill=\"none\" xmlns=\"http://www.w3.org/2000/svg\"> <g clip-path=\"url(#clip0_33_35)\"> <path fill-rule=\"evenodd\" clip-rule=\"evenodd\" d=\"M9.62579 12.1144C8.45509 12.1144 7.54449 11.1749 7.54449 9.9669C7.54449 8.7588 8.45509 7.8192 9.62579 7.8192C10.7965 7.8192 11.7071 8.7588 11.7071 9.9669C11.7071 11.1749 10.7965 12.1144 9.62579 12.1144Z\" fill=\"white\" /> <path fill-rule=\"evenodd\" clip-rule=\"evenodd\" d=\"M13.6907 10.9736C13.1705 10.9736 12.7151 10.5372 12.7151 9.9669C12.7151 9.4298 13.1378 8.9601 13.6907 8.9601C14.2109 8.9601 14.6664 9.3964 14.6664 9.9669C14.6664 10.5372 14.211 10.9734 13.6907 10.9734V10.9736ZM17.203 11.9128C17.0729 12.4495 16.5524 12.7512 16.0321 12.617C15.5119 12.4828 15.2191 11.9461 15.3492 11.4093C15.4793 10.8726 15.9995 10.5699 16.5199 10.7041C17.0069 10.8382 17.3325 11.3079 17.2347 11.8452C17.2347 11.8452 17.2347 11.8785 17.2024 11.912L17.203 11.9128ZM16.519 9.3617C15.9984 9.4958 15.4781 9.1602 15.3481 8.6232C15.218 8.0865 15.5431 7.5494 16.0635 7.4152C16.5837 7.281 17.104 7.6166 17.2341 8.1537C17.2666 8.2879 17.2666 8.422 17.2341 8.5562C17.2016 8.9255 16.9413 9.2609 16.5186 9.3617H16.519ZM19.9654 11.7776C19.8675 12.3144 19.3797 12.6837 18.8595 12.5831C18.3393 12.4823 17.9814 11.979 18.0792 11.4421C18.1766 10.9053 18.6644 10.536 19.1847 10.6366C19.6726 10.7373 20.0305 11.2071 19.998 11.7105C19.9657 11.744 19.9657 11.744 19.9657 11.7776H19.9654ZM19.1865 9.2956C18.6663 9.3964 18.1784 9.0273 18.0809 8.4903C17.9833 7.9536 18.341 7.45 18.8614 7.3494C19.3816 7.2488 19.8695 7.6178 19.967 8.1548C19.967 8.2554 19.9996 8.3225 19.967 8.4231C19.9345 8.8594 19.6093 9.2286 19.1865 9.2956ZM18.5036 15.2351C18.2435 15.7049 17.6581 15.8728 17.2028 15.6042C16.7476 15.3358 16.5849 14.7317 16.8452 14.262C17.1053 13.7922 17.6906 13.6243 18.1459 13.8929C18.4712 14.0942 18.6661 14.4633 18.6337 14.8325C18.6012 14.9667 18.5686 15.1008 18.5036 15.235V15.2351ZM18.1459 6.108C17.6906 6.3764 17.1053 6.2086 16.8452 5.7387C16.5851 5.2689 16.7476 4.6649 17.2028 4.3965C17.6581 4.1281 18.2434 4.2958 18.5036 4.7657C18.6012 4.9669 18.6337 5.1347 18.6337 5.336C18.6012 5.6381 18.4386 5.94 18.1459 6.1078\" fill=\"white\" /> <path d=\"M9.6583 20C7.0567 20 4.6503 18.9598 2.7967 17.0807C1.00811 15.1677 0 12.6503 0 9.9998C0 7.3149 1.00811 4.8319 2.82914 2.91891C4.6503 1.04024 7.0892 0 9.6583 0C11.8045 0 13.8533 0.70455 15.5443 2.04719L14.3415 3.65759C12.9756 2.58457 11.3495 2.014 9.6589 2.014C7.6102 2.014 5.659 2.85294 4.1956 4.3629C2.73288 5.873 1.9523 7.8529 1.9523 10.0003C1.9523 12.1144 2.76525 14.1278 4.2286 15.6378C5.692 17.1478 7.6108 17.9531 9.692 17.9531C11.4155 17.9531 13.0415 17.3827 14.3746 16.3089L15.5454 17.9192C13.8545 19.2611 11.8058 19.9996 9.6594 19.9996L9.6583 20Z\" fill=\"white\" /> </g> <defs> <clipPath id=\"clip0_33_35\"> <rect width=\"20\" height=\"20\" fill=\"white\" /> </clipPath> </defs></svg>",
"svgWhite": "<svg width=\"32\" height=\"32\" viewBox=\"0 0 32 32\" fill=\"none\" xmlns=\"http://www.w3.org/2000/svg\"><g clip-path=\"url(#a)\" fill=\"#fff\"><path fill-rule=\"evenodd\" clip-rule=\"evenodd\" d=\"M15.401 19.383c-1.873 0-3.33-1.503-3.33-3.436s1.457-3.436 3.33-3.436 3.33 1.503 3.33 3.436-1.457 3.436-3.33 3.436Zm6.504-1.825c-.832 0-1.56-.698-1.56-1.611 0-.86.675-1.61 1.56-1.61.832 0 1.561.697 1.561 1.61 0 .913-.728 1.61-1.56 1.61Zm5.62 1.503a1.516 1.516 0 0 1-1.874 1.126c-.832-.214-1.3-1.073-1.092-1.932a1.516 1.516 0 0 1 1.873-1.128c.779.214 1.3.966 1.144 1.825 0 0 0 .054-.052.107v.002Zm-1.095-4.082c-.833.214-1.665-.323-1.873-1.182a1.604 1.604 0 0 1 1.145-1.933c.832-.215 1.664.323 1.872 1.182.052.215.052.43 0 .644-.052.59-.468 1.128-1.144 1.289Zm5.515 3.865c-.157.859-.938 1.45-1.77 1.289a1.574 1.574 0 0 1-1.248-1.826c.155-.858.936-1.45 1.768-1.288.781.16 1.354.912 1.302 1.718-.052.053-.052.053-.052.107Zm-1.247-3.971c-.832.161-1.613-.43-1.769-1.288a1.575 1.575 0 0 1 1.25-1.826c.832-.161 1.612.43 1.768 1.289 0 .16.052.268 0 .429-.052.698-.572 1.289-1.249 1.396Zm-1.092 9.503c-.416.752-1.353 1.02-2.082.59-.728-.429-.988-1.395-.572-2.147.416-.752 1.353-1.02 2.081-.59.52.322.833.912.78 1.503-.051.215-.103.43-.207.644Zm-.573-14.603c-.728.43-1.665.16-2.08-.591-.417-.752-.157-1.718.572-2.148.728-.43 1.664-.16 2.08.591.157.322.209.59.209.913-.052.483-.312.966-.78 1.235\"/><path d=\"M15.453 32c-4.162 0-8.013-1.664-10.978-4.67A16.56 16.56 0 0 1 0 16c0-4.296 1.613-8.27 4.527-11.33C7.44 1.664 11.343 0 15.453 0c3.434 0 6.712 1.127 9.418 3.276l-1.924 2.576c-2.186-1.717-4.788-2.63-7.493-2.63-3.278 0-6.4 1.343-8.741 3.759-2.34 2.416-3.59 5.584-3.59 9.02 0 3.382 1.301 6.604 3.643 9.02 2.341 2.415 5.411 3.704 8.741 3.704 2.758 0 5.36-.913 7.492-2.63l1.874 2.576c-2.706 2.147-5.984 3.328-9.418 3.328l-.002.001Z\"/></g><defs><clipPath id=\"a\"><path fill=\"#fff\" d=\"M0 0h32v32H0z\"/></clipPath></defs></svg>"
}
18 changes: 9 additions & 9 deletions templates/meshmodel/components/v1.0.2/consulmesh_meshmodel.json
Original file line number Diff line number Diff line change
@@ -1,24 +1,24 @@
{
"kind": "ConsulMesh",
"apiVersion": "core.meshmodel.dev/v1alpha1",
"display-name": "Consul Mesh",
"displayName": "Consul Mesh",
"format": "JSON",
"metadata":
{
"Logo URL": "",
"Primary Color": "#D62783",
"SVG_Color": "",
"SVG_White": "<svg width=\"32\" height=\"32\" viewBox=\"0 0 32 32\" fill=\"none\" xmlns=\"http://www.w3.org/2000/svg\"><g clip-path=\"url(#a)\" fill=\"#fff\"><path fill-rule=\"evenodd\" clip-rule=\"evenodd\" d=\"M15.401 19.383c-1.873 0-3.33-1.503-3.33-3.436s1.457-3.436 3.33-3.436 3.33 1.503 3.33 3.436-1.457 3.436-3.33 3.436Zm6.504-1.825c-.832 0-1.56-.698-1.56-1.611 0-.86.675-1.61 1.56-1.61.832 0 1.561.697 1.561 1.61 0 .913-.728 1.61-1.56 1.61Zm5.62 1.503a1.516 1.516 0 0 1-1.874 1.126c-.832-.214-1.3-1.073-1.092-1.932a1.516 1.516 0 0 1 1.873-1.128c.779.214 1.3.966 1.144 1.825 0 0 0 .054-.052.107v.002Zm-1.095-4.082c-.833.214-1.665-.323-1.873-1.182a1.604 1.604 0 0 1 1.145-1.933c.832-.215 1.664.323 1.872 1.182.052.215.052.43 0 .644-.052.59-.468 1.128-1.144 1.289Zm5.515 3.865c-.157.859-.938 1.45-1.77 1.289a1.574 1.574 0 0 1-1.248-1.826c.155-.858.936-1.45 1.768-1.288.781.16 1.354.912 1.302 1.718-.052.053-.052.053-.052.107Zm-1.247-3.971c-.832.161-1.613-.43-1.769-1.288a1.575 1.575 0 0 1 1.25-1.826c.832-.161 1.612.43 1.768 1.289 0 .16.052.268 0 .429-.052.698-.572 1.289-1.249 1.396Zm-1.092 9.503c-.416.752-1.353 1.02-2.082.59-.728-.429-.988-1.395-.572-2.147.416-.752 1.353-1.02 2.081-.59.52.322.833.912.78 1.503-.051.215-.103.43-.207.644Zm-.573-14.603c-.728.43-1.665.16-2.08-.591-.417-.752-.157-1.718.572-2.148.728-.43 1.664-.16 2.08.591.157.322.209.59.209.913-.052.483-.312.966-.78 1.235\"/><path d=\"M15.453 32c-4.162 0-8.013-1.664-10.978-4.67A16.56 16.56 0 0 1 0 16c0-4.296 1.613-8.27 4.527-11.33C7.44 1.664 11.343 0 15.453 0c3.434 0 6.712 1.127 9.418 3.276l-1.924 2.576c-2.186-1.717-4.788-2.63-7.493-2.63-3.278 0-6.4 1.343-8.741 3.759-2.34 2.416-3.59 5.584-3.59 9.02 0 3.382 1.301 6.604 3.643 9.02 2.341 2.415 5.411 3.704 8.741 3.704 2.758 0 5.36-.913 7.492-2.63l1.874 2.576c-2.706 2.147-5.984 3.328-9.418 3.328l-.002.001Z\"/></g><defs><clipPath id=\"a\"><path fill=\"#fff\" d=\"M0 0h32v32H0z\"/></clipPath></defs></svg>",
"Secondary Color": "#ed74b4",
"Shape": "circle"
"logoURL": "",
"primaryColor": "#D62783",
"svgColor": "",
"svgWhite": "<svg width=\"32\" height=\"32\" viewBox=\"0 0 32 32\" fill=\"none\" xmlns=\"http://www.w3.org/2000/svg\"><g clip-path=\"url(#a)\" fill=\"#fff\"><path fill-rule=\"evenodd\" clip-rule=\"evenodd\" d=\"M15.401 19.383c-1.873 0-3.33-1.503-3.33-3.436s1.457-3.436 3.33-3.436 3.33 1.503 3.33 3.436-1.457 3.436-3.33 3.436Zm6.504-1.825c-.832 0-1.56-.698-1.56-1.611 0-.86.675-1.61 1.56-1.61.832 0 1.561.697 1.561 1.61 0 .913-.728 1.61-1.56 1.61Zm5.62 1.503a1.516 1.516 0 0 1-1.874 1.126c-.832-.214-1.3-1.073-1.092-1.932a1.516 1.516 0 0 1 1.873-1.128c.779.214 1.3.966 1.144 1.825 0 0 0 .054-.052.107v.002Zm-1.095-4.082c-.833.214-1.665-.323-1.873-1.182a1.604 1.604 0 0 1 1.145-1.933c.832-.215 1.664.323 1.872 1.182.052.215.052.43 0 .644-.052.59-.468 1.128-1.144 1.289Zm5.515 3.865c-.157.859-.938 1.45-1.77 1.289a1.574 1.574 0 0 1-1.248-1.826c.155-.858.936-1.45 1.768-1.288.781.16 1.354.912 1.302 1.718-.052.053-.052.053-.052.107Zm-1.247-3.971c-.832.161-1.613-.43-1.769-1.288a1.575 1.575 0 0 1 1.25-1.826c.832-.161 1.612.43 1.768 1.289 0 .16.052.268 0 .429-.052.698-.572 1.289-1.249 1.396Zm-1.092 9.503c-.416.752-1.353 1.02-2.082.59-.728-.429-.988-1.395-.572-2.147.416-.752 1.353-1.02 2.081-.59.52.322.833.912.78 1.503-.051.215-.103.43-.207.644Zm-.573-14.603c-.728.43-1.665.16-2.08-.591-.417-.752-.157-1.718.572-2.148.728-.43 1.664-.16 2.08.591.157.322.209.59.209.913-.052.483-.312.966-.78 1.235\"/><path d=\"M15.453 32c-4.162 0-8.013-1.664-10.978-4.67A16.56 16.56 0 0 1 0 16c0-4.296 1.613-8.27 4.527-11.33C7.44 1.664 11.343 0 15.453 0c3.434 0 6.712 1.127 9.418 3.276l-1.924 2.576c-2.186-1.717-4.788-2.63-7.493-2.63-3.278 0-6.4 1.343-8.741 3.759-2.34 2.416-3.59 5.584-3.59 9.02 0 3.382 1.301 6.604 3.643 9.02 2.341 2.415 5.411 3.704 8.741 3.704 2.758 0 5.36-.913 7.492-2.63l1.874 2.576c-2.706 2.147-5.984 3.328-9.418 3.328l-.002.001Z\"/></g><defs><clipPath id=\"a\"><path fill=\"#fff\" d=\"M0 0h32v32H0z\"/></clipPath></defs></svg>",
"secondaryColor": "#ed74b4",
"shape": "circle"
},
"model":
{
"name": "CONSUL",
"version": "v1.0.2",
"display-name": "CONSUL",
"displayName": "CONSUL",
"category": "Orchestration & Management",
"sub-category": "Service Mesh"
"subCategory": "Service Mesh"
},
"schema": "{\"$id\":\"http://meshery.layer5.io/definition/Workload/ConsulMesh\",\"$schema\":\"http://json-schema.org/draft-07/schema\",\"title\":\"Consul Mesh\",\"type\":\"object\",\"properties\":{}}"
}
Original file line number Diff line number Diff line change
@@ -1 +1 @@
{"kind":"ExportedServices","apiVersion":"consul.hashicorp.com/v1alpha1","display-name":"Exported Services","format":"JSON","metadata":{},"model":{"name":"CONSUL","version":"v1.0.2","display-name":"CONSUL","category":"Orchestration \u0026 Management","sub-category":"Service Mesh"},"schema":"{\n \"description\": \"ExportedServicesSpec defines the desired state of ExportedServices.\",\n \"properties\": {\n \"services\": {\n \"description\": \"Services is a list of services to be exported and the list of partitions to expose them to.\",\n \"items\": {\n \"description\": \"ExportedService manages the exporting of a service in the local partition to other partitions.\",\n \"properties\": {\n \"consumers\": {\n \"description\": \"Consumers is a list of downstream consumers of the service to be exported.\",\n \"items\": {\n \"description\": \"ServiceConsumer represents a downstream consumer of the service to be exported.\",\n \"properties\": {\n \"partition\": {\n \"description\": \"Partition is the admin partition to export the service to.\",\n \"type\": \"string\"\n },\n \"peer\": {\n \"description\": \"[Experimental] Peer is the name of the peer to export the service to.\",\n \"type\": \"string\"\n }\n },\n \"type\": \"object\"\n },\n \"type\": \"array\"\n },\n \"name\": {\n \"description\": \"Name is the name of the service to be exported.\",\n \"type\": \"string\"\n },\n \"namespace\": {\n \"description\": \"Namespace is the namespace to export the service from.\",\n \"type\": \"string\"\n }\n },\n \"type\": \"object\"\n },\n \"type\": \"array\"\n }\n },\n \"title\": \"Exported Services\",\n \"type\": \"object\"\n}"}
{"kind":"ExportedServices","apiVersion":"consul.hashicorp.com/v1alpha1","displayName":"Exported Services","format":"JSON","metadata":{},"model":{"name":"CONSUL","version":"v1.0.2","displayName":"CONSUL","category":"Orchestration \u0026 Management","subCategory":"Service Mesh"},"schema":"{\n \"description\": \"ExportedServicesSpec defines the desired state of ExportedServices.\",\n \"properties\": {\n \"services\": {\n \"description\": \"Services is a list of services to be exported and the list of partitions to expose them to.\",\n \"items\": {\n \"description\": \"ExportedService manages the exporting of a service in the local partition to other partitions.\",\n \"properties\": {\n \"consumers\": {\n \"description\": \"Consumers is a list of downstream consumers of the service to be exported.\",\n \"items\": {\n \"description\": \"ServiceConsumer represents a downstream consumer of the service to be exported.\",\n \"properties\": {\n \"partition\": {\n \"description\": \"Partition is the admin partition to export the service to.\",\n \"type\": \"string\"\n },\n \"peer\": {\n \"description\": \"[Experimental] Peer is the name of the peer to export the service to.\",\n \"type\": \"string\"\n }\n },\n \"type\": \"object\"\n },\n \"type\": \"array\"\n },\n \"name\": {\n \"description\": \"Name is the name of the service to be exported.\",\n \"type\": \"string\"\n },\n \"namespace\": {\n \"description\": \"Namespace is the namespace to export the service from.\",\n \"type\": \"string\"\n }\n },\n \"type\": \"object\"\n },\n \"type\": \"array\"\n }\n },\n \"title\": \"Exported Services\",\n \"type\": \"object\"\n}"}
Loading

0 comments on commit 31da6cb

Please sign in to comment.