Skip to content

Commit a0ef07b

Browse files
Update generated content (#286)
Signed-off-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com> Co-authored-by: mathieu-benoit <11720844+mathieu-benoit@users.noreply.github.com>
1 parent 393f95c commit a0ef07b

30 files changed

Lines changed: 194 additions & 316 deletions

content/en/examples/resource-provisioners/community/endpoint/score-compose/template/endpoint-with-microcks.md

Lines changed: 0 additions & 25 deletions
This file was deleted.

content/en/examples/resource-provisioners/community/endpoint/score-k8s/cmd/endpoint-with-microcks-cli.md

Lines changed: 0 additions & 32 deletions
This file was deleted.
Lines changed: 27 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,27 @@
1+
---
2+
title: "service-with-microcks"
3+
draft: false
4+
mermaid: true
5+
type: examples
6+
source: "community"
7+
implementation: "score-compose"
8+
resourceType: "service"
9+
provisionerType: "template"
10+
flavor: "service"
11+
excerpt: ''
12+
description: 'Outputs a service URL for connecting to an other workload (a Microcks mock is generated if not found).'
13+
expectedOutputs:
14+
- url
15+
- name
16+
supportedParams:
17+
- port
18+
- artifacts
19+
- name
20+
- version
21+
hasMore: false
22+
23+
---
24+
25+
{{% resource-provisioner-content description="Outputs a service URL for connecting to an other workload (a Microcks mock is generated if not found)." type="service" supportedParams="port,artifacts,name,version" expectedOutputs="url,name" %}}
26+
27+
{{% example-file filename="10-service-with-microcks.provisioners.yaml" dir="resource-provisioners/community/service/score-compose" githubUrl="https://github.com/score-spec/community-provisioners/blob/main" %}}

content/en/examples/resource-provisioners/community/service/score-compose/template/static-service.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,10 +12,11 @@ excerpt: ''
1212
description: 'Outputs the name of the Workload dependency if it exists in the list of Workloads.'
1313
expectedOutputs:
1414
- name
15+
- url
1516
hasMore: false
1617

1718
---
1819

19-
{{% resource-provisioner-content description="Outputs the name of the Workload dependency if it exists in the list of Workloads." type="service" expectedOutputs="name" %}}
20+
{{% resource-provisioner-content description="Outputs the name of the Workload dependency if it exists in the list of Workloads." type="service" expectedOutputs="name,url" %}}
2021

2122
{{% example-file filename="10-service.provisioners.yaml" dir="resource-provisioners/community/service/score-compose" githubUrl="https://github.com/score-spec/community-provisioners/blob/main" %}}
Lines changed: 28 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,28 @@
1+
---
2+
title: "service-with-microcks-cli"
3+
draft: false
4+
mermaid: true
5+
type: examples
6+
source: "community"
7+
implementation: "score-k8s"
8+
resourceType: "service"
9+
provisionerType: "cmd"
10+
flavor: "service-with-microcks-cli"
11+
excerpt: ''
12+
description: 'Outputs a service URL for connecting to an other workload (a Microcks mock is generated if not found).'
13+
expectedOutputs:
14+
- url
15+
- name
16+
supportedParams:
17+
- port
18+
- artifacts
19+
- name
20+
- version
21+
tool: service
22+
hasMore: false
23+
24+
---
25+
26+
{{% resource-provisioner-content description="Outputs a service URL for connecting to an other workload (a Microcks mock is generated if not found)." type="service" supportedParams="port,artifacts,name,version" expectedOutputs="url,name" %}}
27+
28+
{{% example-file filename="10-service-with-microcks-cli.provisioners.yaml" dir="resource-provisioners/community/service/score-k8s" githubUrl="https://github.com/score-spec/community-provisioners/blob/main" %}}

content/en/examples/resource-provisioners/community/service/score-k8s/template/static-service-with-netpol.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,10 +12,11 @@ excerpt: ''
1212
description: 'Outputs the name of the Workload dependency if it exists in the list of Workloads, and generate NetworkPolicies between them.'
1313
expectedOutputs:
1414
- name
15+
- url
1516
hasMore: false
1617

1718
---
1819

19-
{{% resource-provisioner-content description="Outputs the name of the Workload dependency if it exists in the list of Workloads, and generate NetworkPolicies between them." type="service" expectedOutputs="name" %}}
20+
{{% resource-provisioner-content description="Outputs the name of the Workload dependency if it exists in the list of Workloads, and generate NetworkPolicies between them." type="service" expectedOutputs="name,url" %}}
2021

2122
{{% example-file filename="10-service-with-netpol.provisioners.yaml" dir="resource-provisioners/community/service/score-k8s" githubUrl="https://github.com/score-spec/community-provisioners/blob/main" %}}

content/en/examples/resource-provisioners/community/service/score-k8s/template/static-service.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,10 +12,11 @@ excerpt: ''
1212
description: 'Outputs the name of the Workload dependency if it exists in the list of Workloads.'
1313
expectedOutputs:
1414
- name
15+
- url
1516
hasMore: false
1617

1718
---
1819

19-
{{% resource-provisioner-content description="Outputs the name of the Workload dependency if it exists in the list of Workloads." type="service" expectedOutputs="name" %}}
20+
{{% resource-provisioner-content description="Outputs the name of the Workload dependency if it exists in the list of Workloads." type="service" expectedOutputs="name,url" %}}
2021

2122
{{% example-file filename="10-service.provisioners.yaml" dir="resource-provisioners/community/service/score-k8s" githubUrl="https://github.com/score-spec/community-provisioners/blob/main" %}}

content/en/examples/score/resources/community-provisioners/endpoint.md

Lines changed: 0 additions & 118 deletions
This file was deleted.

content/en/examples/score/resources/community-provisioners/service.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,11 +10,13 @@ flavor: "Resources"
1010

1111
---
1212

13+
{{% example-file filename="backend-openapi.yaml" dir="score/resources/community-provisioners/service" githubUrl="https://github.com/score-spec/community-provisioners/blob/main" %}}
1314
{{% example-file filename="score-backend.yaml" dir="score/resources/community-provisioners/service" githubUrl="https://github.com/score-spec/community-provisioners/blob/main" %}}
1415
{{% example-file filename="score-frontend.yaml" dir="score/resources/community-provisioners/service" githubUrl="https://github.com/score-spec/community-provisioners/blob/main" %}}
1516

1617
{{< tabs >}}
1718
{{% tab name="score-compose" %}}
19+
{{% example-file filename="10-service-with-microcks.provisioners.yaml" dir="score/resources/community-provisioners/service/score-compose" githubUrl="https://github.com/score-spec/community-provisioners/blob/main" %}}
1820
{{% example-file filename="10-service.provisioners.yaml" dir="score/resources/community-provisioners/service/score-compose" githubUrl="https://github.com/score-spec/community-provisioners/blob/main" %}}
1921

2022
---
@@ -65,6 +67,7 @@ docker ps
6567

6668
{{%/ tab %}}
6769
{{% tab name="score-k8s" %}}
70+
{{% example-file filename="10-service-with-microcks-cli.provisioners.yaml" dir="score/resources/community-provisioners/service/score-k8s" githubUrl="https://github.com/score-spec/community-provisioners/blob/main" %}}
6871
{{% example-file filename="10-service-with-netpol.provisioners.yaml" dir="score/resources/community-provisioners/service/score-k8s" githubUrl="https://github.com/score-spec/community-provisioners/blob/main" %}}
6972
{{% example-file filename="10-service.provisioners.yaml" dir="score/resources/community-provisioners/service/score-k8s" githubUrl="https://github.com/score-spec/community-provisioners/blob/main" %}}
7073

data/examplesMeta.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -61,6 +61,7 @@ resource-provisioners:
6161
- route
6262
- s3
6363
- service
64+
- service-with-microcks-cli
6465
- static
6566
- volume
6667
tool:
@@ -70,6 +71,7 @@ resource-provisioners:
7071
- endpoint
7172
- example
7273
- helm
74+
- service
7375
source:
7476
- community
7577
- default

0 commit comments

Comments
 (0)