namespace_handler.go ×3

Frontier kind: Code frontier

unlabeled · c_18a699e0299f

9 tests · 3929 LOC · 200 files · introduces 0 tests · 17 LOC · 3 files

Introduces — evidence that enters the hierarchy at this concept

Code
6 ranges17 lines · 3 files
Tests
0 tests

Contains — complete concept membership

All code (extent)
596 ranges3929 lines · 200 files · Browse complete extent
All tests (intent)
9 testsBrowse complete intent

Neighbourhood graph

The orange circle is the focus. Violet and green circles are every ancestor and descendant, broader and narrower, at any distance; blue squares and pink diamonds are the introduced files and exact introduced tests of every visible concept, not only the focus's. Arrows point from broader to narrower concepts and bridge only concepts omitted from this view. Undirected links show source or test introduction. Concept and file size follows LOC; exact test nodes use test-count units.

Introduced files, introduced tests, and structurally relevant concept specialization

In the embedded map, ordinary wheel input scrolls the page; use the visible controls to zoom and drag to pan. Open the full-screen map for canvas navigation: wheel pans, Ctrl/Command plus wheel zooms, and arrow keys pan when this region is focused. On touch screens, open the full-screen map to pan or pinch. If JavaScript or WebGL is unavailable, use the native relationship evidence on this page.

Graph controls are ready.

Interactive rendering requires JavaScript and WebGL. Use the native relationship evidence on this page while the interactive map is unavailable.

Native relationship evidence

Every exact file and test below is linked only from the concept that introduces it.

Introduced tests

Every collected test enters the hierarchy at exactly one concept.

No tests are introduced at this concept. Its intent tests are introduced by other concepts.

Introduced code

Every collected source range enters the hierarchy at exactly one concept.

3 files ranked by introduced lines: 17 introduced LOC across 6 ranges. Expand a file to inspect source; the > gutter marks introduced lines.

go.temporal.io/server/common/archiver/interface_mock.go 10 introduced LOC · 2 ranges

Open complete file

78
79 // ValidateURI mocks base method.
80 > func (m *MockHistoryArchiver) ValidateURI(uri URI) error { interface_mock.go
81 > m.ctrl.T.Helper()
82 > ret := m.ctrl.Call(m, "ValidateURI", uri)
83 > ret0, _ := ret[0].(error)
84 > return ret0
85 > }
86
87 // ValidateURI indicates an expected call of ValidateURI.
88 > func (mr *MockHistoryArchiverMockRecorder) ValidateURI(uri any) *gomock.Call { interface_mock.go
89 > mr.mock.ctrl.T.Helper()
90 > return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "ValidateURI", reflect.TypeOf((*MockHistoryArchiver)(nil).ValidateURI), uri)
91 > }
92
93 // MockVisibilityArchiver is a mock of VisibilityArchiver interface.
go.temporal.io/server/service/frontend/namespace_handler.go 6 introduced LOC · 3 ranges

Open complete file

1045 }
1046
1047 > func (d *namespaceHandler) validateHistoryArchivalURI(URIString string) error { namespace_handler.go
1048 > URI, err := archiver.NewURI(URIString)
1049 > if err != nil {
1050 return err
1051 }
1052
1053 > a, err := d.archiverProvider.GetHistoryArchiver(URI.Scheme()) namespace_handler.go
1054 > if err != nil {
1055 return err
1056 }
1057
1058 > return a.ValidateURI(URI) namespace_handler.go
1059 }
1060
go.temporal.io/server/common/namespace/archival_config_state_machine.go 1 introduced LOC · 1 range

Open complete file

82
83 if nextState != nil && nextState.URI != "" {
84 > if validateURIErr := URIValidationFunc(nextState.URI); validateURIErr != nil { archival_config_state_machine.go
85 nextState = nil
86 changed = false