Skip to content

Commit 7724aff

Browse files
STAC-25128: Reflect openapi changes
1 parent f8d7c56 commit 7724aff

13 files changed

Lines changed: 71 additions & 617 deletions

‎generated/stackstate_api/.openapi-generator/FILES‎

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -599,9 +599,7 @@ docs/TooManyActiveQueries.md
599599
docs/TooManyTopologyResults.md
600600
docs/Topic.md
601601
docs/TopicApi.md
602-
docs/TopologyDomain.md
603602
docs/TopologyEvent.md
604-
docs/TopologyLayer.md
605603
docs/TopologyMatchResult.md
606604
docs/TopologyOverflowError.md
607605
docs/TopologyPerspective.md
@@ -1173,9 +1171,7 @@ model_timeline_summary_request_arguments.go
11731171
model_too_many_active_queries.go
11741172
model_too_many_topology_results.go
11751173
model_topic.go
1176-
model_topology_domain.go
11771174
model_topology_event.go
1178-
model_topology_layer.go
11791175
model_topology_match_result.go
11801176
model_topology_overflow_error.go
11811177
model_topology_perspective.go

‎generated/stackstate_api/README.md‎

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -786,9 +786,7 @@ Class | Method | HTTP request | Description
786786
- [TooManyActiveQueries](docs/TooManyActiveQueries.md)
787787
- [TooManyTopologyResults](docs/TooManyTopologyResults.md)
788788
- [Topic](docs/Topic.md)
789-
- [TopologyDomain](docs/TopologyDomain.md)
790789
- [TopologyEvent](docs/TopologyEvent.md)
791-
- [TopologyLayer](docs/TopologyLayer.md)
792790
- [TopologyMatchResult](docs/TopologyMatchResult.md)
793791
- [TopologyOverflowError](docs/TopologyOverflowError.md)
794792
- [TopologyPerspective](docs/TopologyPerspective.md)

‎generated/stackstate_api/api/openapi.yaml‎

Lines changed: 7 additions & 58 deletions
Original file line numberDiff line numberDiff line change
@@ -17412,6 +17412,7 @@ components:
1741217412
sourceId: sourceId
1741317413
dependencyType: dependencyType
1741417414
targetId: targetId
17415+
typeName: typeName
1741517416
properties:
1741617417
sourceId:
1741717418
description: "An expression that must produce a string. It must be one of\
@@ -17423,6 +17424,11 @@ components:
1742317424
\ these formats:\n - A plain string, for example `\"this is a plain string\"\
1742417425
`\n - A cel expression that must return a string, for example: `resource.attributes['service.namespace']`"
1742517426
type: string
17427+
typeName:
17428+
description: "An expression that must produce a string. It must be one of\
17429+
\ these formats:\n - A plain string, for example `\"this is a plain string\"\
17430+
`\n - A cel expression that must return a string, for example: `resource.attributes['service.namespace']`"
17431+
type: string
1742617432
dependencyType:
1742717433
description: "An expression that must produce a string. It must be one of\
1742817434
\ these formats:\n - A plain string, for example `\"this is a plain string\"\
@@ -17440,6 +17446,7 @@ components:
1744017446
sourceId: sourceId
1744117447
dependencyType: dependencyType
1744217448
targetId: targetId
17449+
typeName: typeName
1744317450
identifier: identifier
1744417451
input:
1744517452
resource:
@@ -17630,18 +17637,12 @@ components:
1763017637
neighboringComponents: true
1763117638
autoGrouping: true
1763217639
groupedByRelations: true
17633-
domain:
17634-
name: name
17635-
order: 1.2315135367772556
1763617640
showIndirectRelations: true
1763717641
groupedByLayers: true
1763817642
connectedComponents: true
1763917643
groupingEnabled: true
1764017644
minimumGroupSize: 4
1764117645
groupedByDomains: true
17642-
layer:
17643-
name: name
17644-
order: 7.386281948385884
1764517646
icon: icon
1764617647
filters:
1764717648
- filterId: filterId
@@ -20235,18 +20236,12 @@ components:
2023520236
neighboringComponents: true
2023620237
autoGrouping: true
2023720238
groupedByRelations: true
20238-
domain:
20239-
name: name
20240-
order: 1.2315135367772556
2024120239
showIndirectRelations: true
2024220240
groupedByLayers: true
2024320241
connectedComponents: true
2024420242
groupingEnabled: true
2024520243
minimumGroupSize: 4
2024620244
groupedByDomains: true
20247-
layer:
20248-
name: name
20249-
order: 7.386281948385884
2025020245
icon: icon
2025120246
filters:
2025220247
- filterId: filterId
@@ -21056,18 +21051,12 @@ components:
2105621051
neighboringComponents: true
2105721052
autoGrouping: true
2105821053
groupedByRelations: true
21059-
domain:
21060-
name: name
21061-
order: 1.2315135367772556
2106221054
showIndirectRelations: true
2106321055
groupedByLayers: true
2106421056
connectedComponents: true
2106521057
groupingEnabled: true
2106621058
minimumGroupSize: 4
2106721059
groupedByDomains: true
21068-
layer:
21069-
name: name
21070-
order: 7.386281948385884
2107121060
properties:
2107221061
groupingEnabled:
2107321062
type: boolean
@@ -21088,46 +21077,6 @@ components:
2108821077
type: boolean
2108921078
neighboringComponents:
2109021079
type: boolean
21091-
layer:
21092-
$ref: '#/components/schemas/TopologyLayer'
21093-
domain:
21094-
$ref: '#/components/schemas/TopologyDomain'
21095-
type: object
21096-
TopologyLayer:
21097-
description: "Layer assigned to components matched by this presentation, used\
21098-
\ to bucket and order them in the topology view.\nAt presentation time, the\
21099-
\ layer of the most-specific matching presentation wins.\nWhen multiple components\
21100-
\ share a layer name with different orders, the highest order wins.\n"
21101-
example:
21102-
name: name
21103-
order: 7.386281948385884
21104-
properties:
21105-
name:
21106-
type: string
21107-
order:
21108-
format: double
21109-
type: number
21110-
required:
21111-
- name
21112-
- order
21113-
type: object
21114-
TopologyDomain:
21115-
description: "Domain assigned to components matched by this presentation, used\
21116-
\ to bucket and order them in the topology view.\nAt presentation time, the\
21117-
\ domain of the most-specific matching presentation wins.\nWhen multiple components\
21118-
\ share a domain name with different orders, the highest order wins.\n"
21119-
example:
21120-
name: name
21121-
order: 1.2315135367772556
21122-
properties:
21123-
name:
21124-
type: string
21125-
order:
21126-
format: double
21127-
type: number
21128-
required:
21129-
- name
21130-
- order
2113121080
type: object
2113221081
QueryViewFlag:
2113321082
enum:

‎generated/stackstate_api/docs/OtelMappingApi.md‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -622,7 +622,7 @@ import (
622622
)
623623

624624
func main() {
625-
upsertOtelRelationMappingsRequest := *openapiclient.NewUpsertOtelRelationMappingsRequest("Identifier_example", "Name_example", *openapiclient.NewOtelInput([]openapiclient.OtelInputSignal{openapiclient.OtelInputSignal("TRACES")}, *openapiclient.NewOtelInputResource()), *openapiclient.NewOtelRelationMappingOutput("SourceId_example", "TargetId_example", "DependencyType_example"), int64(123)) // UpsertOtelRelationMappingsRequest | Otel Relation Mapping to create/update
625+
upsertOtelRelationMappingsRequest := *openapiclient.NewUpsertOtelRelationMappingsRequest("Identifier_example", "Name_example", *openapiclient.NewOtelInput([]openapiclient.OtelInputSignal{openapiclient.OtelInputSignal("TRACES")}, *openapiclient.NewOtelInputResource()), *openapiclient.NewOtelRelationMappingOutput("SourceId_example", "TargetId_example", "TypeName_example", "DependencyType_example"), int64(123)) // UpsertOtelRelationMappingsRequest | Otel Relation Mapping to create/update
626626

627627
configuration := openapiclient.NewConfiguration()
628628
apiClient := openapiclient.NewAPIClient(configuration)

‎generated/stackstate_api/docs/OtelRelationMappingOutput.md‎

Lines changed: 22 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,13 +6,14 @@ Name | Type | Description | Notes
66
------------ | ------------- | ------------- | -------------
77
**SourceId** | **string** | An expression that must produce a string. It must be one of these formats: - A plain string, for example `\"this is a plain string\"` - A cel expression that must return a string, for example: `resource.attributes['service.namespace']` |
88
**TargetId** | **string** | An expression that must produce a string. It must be one of these formats: - A plain string, for example `\"this is a plain string\"` - A cel expression that must return a string, for example: `resource.attributes['service.namespace']` |
9+
**TypeName** | **string** | An expression that must produce a string. It must be one of these formats: - A plain string, for example `\"this is a plain string\"` - A cel expression that must return a string, for example: `resource.attributes['service.namespace']` |
910
**DependencyType** | **string** | An expression that must produce a string. It must be one of these formats: - A plain string, for example `\"this is a plain string\"` - A cel expression that must return a string, for example: `resource.attributes['service.namespace']` |
1011

1112
## Methods
1213

1314
### NewOtelRelationMappingOutput
1415

15-
`func NewOtelRelationMappingOutput(sourceId string, targetId string, dependencyType string, ) *OtelRelationMappingOutput`
16+
`func NewOtelRelationMappingOutput(sourceId string, targetId string, typeName string, dependencyType string, ) *OtelRelationMappingOutput`
1617

1718
NewOtelRelationMappingOutput instantiates a new OtelRelationMappingOutput object
1819
This constructor will assign default values to properties that have it defined,
@@ -67,6 +68,26 @@ and a boolean to check if the value has been set.
6768
SetTargetId sets TargetId field to given value.
6869

6970

71+
### GetTypeName
72+
73+
`func (o *OtelRelationMappingOutput) GetTypeName() string`
74+
75+
GetTypeName returns the TypeName field if non-nil, zero value otherwise.
76+
77+
### GetTypeNameOk
78+
79+
`func (o *OtelRelationMappingOutput) GetTypeNameOk() (*string, bool)`
80+
81+
GetTypeNameOk returns a tuple with the TypeName field if it's non-nil, zero value otherwise
82+
and a boolean to check if the value has been set.
83+
84+
### SetTypeName
85+
86+
`func (o *OtelRelationMappingOutput) SetTypeName(v string)`
87+
88+
SetTypeName sets TypeName field to given value.
89+
90+
7091
### GetDependencyType
7192

7293
`func (o *OtelRelationMappingOutput) GetDependencyType() string`

‎generated/stackstate_api/docs/TopologyDomain.md‎

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

‎generated/stackstate_api/docs/TopologyLayer.md‎

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

0 commit comments

Comments
 (0)