Skip to content

Commit b2d0231

Browse files
Merge pull request #151 from StackVista/stac-25128
STAC-25128: Reflect openapi changes
2 parents 9aa6ab6 + aed191d commit b2d0231

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
@@ -603,9 +603,7 @@ docs/TooManyActiveQueries.md
603603
docs/TooManyTopologyResults.md
604604
docs/Topic.md
605605
docs/TopicApi.md
606-
docs/TopologyDomain.md
607606
docs/TopologyEvent.md
608-
docs/TopologyLayer.md
609607
docs/TopologyMatchResult.md
610608
docs/TopologyOverflowError.md
611609
docs/TopologyPerspective.md
@@ -1181,9 +1179,7 @@ model_timeline_summary_request_arguments.go
11811179
model_too_many_active_queries.go
11821180
model_too_many_topology_results.go
11831181
model_topic.go
1184-
model_topology_domain.go
11851182
model_topology_event.go
1186-
model_topology_layer.go
11871183
model_topology_match_result.go
11881184
model_topology_overflow_error.go
11891185
model_topology_perspective.go

generated/stackstate_api/README.md

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -790,9 +790,7 @@ Class | Method | HTTP request | Description
790790
- [TooManyActiveQueries](docs/TooManyActiveQueries.md)
791791
- [TooManyTopologyResults](docs/TooManyTopologyResults.md)
792792
- [Topic](docs/Topic.md)
793-
- [TopologyDomain](docs/TopologyDomain.md)
794793
- [TopologyEvent](docs/TopologyEvent.md)
795-
- [TopologyLayer](docs/TopologyLayer.md)
796794
- [TopologyMatchResult](docs/TopologyMatchResult.md)
797795
- [TopologyOverflowError](docs/TopologyOverflowError.md)
798796
- [TopologyPerspective](docs/TopologyPerspective.md)

generated/stackstate_api/api/openapi.yaml

Lines changed: 7 additions & 58 deletions
Original file line numberDiff line numberDiff line change
@@ -17431,6 +17431,7 @@ components:
1743117431
sourceId: sourceId
1743217432
dependencyType: dependencyType
1743317433
targetId: targetId
17434+
typeName: typeName
1743417435
properties:
1743517436
sourceId:
1743617437
description: "An expression that must produce a string. It must be one of\
@@ -17442,6 +17443,11 @@ components:
1744217443
\ these formats:\n - A plain string, for example `\"this is a plain string\"\
1744317444
`\n - A cel expression that must return a string, for example: `resource.attributes['service.namespace']`"
1744417445
type: string
17446+
typeName:
17447+
description: "An expression that must produce a string. It must be one of\
17448+
\ these formats:\n - A plain string, for example `\"this is a plain string\"\
17449+
`\n - A cel expression that must return a string, for example: `resource.attributes['service.namespace']`"
17450+
type: string
1744517451
dependencyType:
1744617452
description: "An expression that must produce a string. It must be one of\
1744717453
\ these formats:\n - A plain string, for example `\"this is a plain string\"\
@@ -17459,6 +17465,7 @@ components:
1745917465
sourceId: sourceId
1746017466
dependencyType: dependencyType
1746117467
targetId: targetId
17468+
typeName: typeName
1746217469
identifier: identifier
1746317470
input:
1746417471
resource:
@@ -17649,18 +17656,12 @@ components:
1764917656
neighboringComponents: true
1765017657
autoGrouping: true
1765117658
groupedByRelations: true
17652-
domain:
17653-
name: name
17654-
order: 1.2315135367772556
1765517659
showIndirectRelations: true
1765617660
groupedByLayers: true
1765717661
connectedComponents: true
1765817662
groupingEnabled: true
1765917663
minimumGroupSize: 4
1766017664
groupedByDomains: true
17661-
layer:
17662-
name: name
17663-
order: 7.386281948385884
1766417665
icon: icon
1766517666
filters:
1766617667
- filterId: filterId
@@ -20254,18 +20255,12 @@ components:
2025420255
neighboringComponents: true
2025520256
autoGrouping: true
2025620257
groupedByRelations: true
20257-
domain:
20258-
name: name
20259-
order: 1.2315135367772556
2026020258
showIndirectRelations: true
2026120259
groupedByLayers: true
2026220260
connectedComponents: true
2026320261
groupingEnabled: true
2026420262
minimumGroupSize: 4
2026520263
groupedByDomains: true
20266-
layer:
20267-
name: name
20268-
order: 7.386281948385884
2026920264
icon: icon
2027020265
filters:
2027120266
- filterId: filterId
@@ -21082,18 +21077,12 @@ components:
2108221077
neighboringComponents: true
2108321078
autoGrouping: true
2108421079
groupedByRelations: true
21085-
domain:
21086-
name: name
21087-
order: 1.2315135367772556
2108821080
showIndirectRelations: true
2108921081
groupedByLayers: true
2109021082
connectedComponents: true
2109121083
groupingEnabled: true
2109221084
minimumGroupSize: 4
2109321085
groupedByDomains: true
21094-
layer:
21095-
name: name
21096-
order: 7.386281948385884
2109721086
properties:
2109821087
groupingEnabled:
2109921088
type: boolean
@@ -21114,46 +21103,6 @@ components:
2111421103
type: boolean
2111521104
neighboringComponents:
2111621105
type: boolean
21117-
layer:
21118-
$ref: '#/components/schemas/TopologyLayer'
21119-
domain:
21120-
$ref: '#/components/schemas/TopologyDomain'
21121-
type: object
21122-
TopologyLayer:
21123-
description: "Layer assigned to components matched by this presentation, used\
21124-
\ to bucket and order them in the topology view.\nAt presentation time, the\
21125-
\ layer of the most-specific matching presentation wins.\nWhen multiple components\
21126-
\ share a layer name with different orders, the highest order wins.\n"
21127-
example:
21128-
name: name
21129-
order: 7.386281948385884
21130-
properties:
21131-
name:
21132-
type: string
21133-
order:
21134-
format: double
21135-
type: number
21136-
required:
21137-
- name
21138-
- order
21139-
type: object
21140-
TopologyDomain:
21141-
description: "Domain assigned to components matched by this presentation, used\
21142-
\ to bucket and order them in the topology view.\nAt presentation time, the\
21143-
\ domain of the most-specific matching presentation wins.\nWhen multiple components\
21144-
\ share a domain name with different orders, the highest order wins.\n"
21145-
example:
21146-
name: name
21147-
order: 1.2315135367772556
21148-
properties:
21149-
name:
21150-
type: string
21151-
order:
21152-
format: double
21153-
type: number
21154-
required:
21155-
- name
21156-
- order
2115721106
type: object
2115821107
QueryViewFlag:
2115921108
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)