namespace_handler.go ×4

Frontier kind: Joint frontier

unlabeled · c_53cfca22c290

4 tests · 3506 LOC · 158 files · introduces 3 tests · 15 LOC · 1 file

Introduces — evidence that enters the hierarchy at this concept

Code
4 ranges15 lines · 1 files
Tests
3 tests

Contains — complete concept membership

All code (extent)
524 ranges3506 lines · 158 files · Browse complete extent
All tests (intent)
4 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.

3 tests introduced at this concept.

Introduced code

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

1 file ranked by introduced lines: 15 introduced LOC across 4 ranges. Expand a file to inspect source; the > gutter marks introduced lines.

go.temporal.io/server/service/frontend/namespace_handler.go 15 introduced LOC · 4 ranges

Open complete file

455 updatedInfo := updateRequest.UpdateInfo
456 if updatedInfo.GetDescription() != "" {
457 > configurationChanged = true namespace_handler.go
458 > info.Description = updatedInfo.GetDescription()
459 > }
460 if updatedInfo.GetOwnerEmail() != "" {
461 > configurationChanged = true namespace_handler.go
462 > info.Owner = updatedInfo.GetOwnerEmail()
463 > }
464 if updatedInfo.Data != nil {
465 > configurationChanged = true namespace_handler.go
466 > // only do merging
467 > info.Data = d.mergeNamespaceData(info.Data, updatedInfo.Data)
468 > }
469 if updatedInfo.State != enumspb.NAMESPACE_STATE_UNSPECIFIED && info.State != updatedInfo.State {
470 configurationChanged = true
499 }
500 if updatedConfig.BadBinaries != nil {
501 > maxLength := d.config.MaxBadBinaries(updateRequest.GetNamespace()) namespace_handler.go
502 > // only do merging
503 > bb := d.mergeBadBinaries(config.BadBinaries.Binaries, updatedConfig.BadBinaries.Binaries, time.Now().UTC())
504 > config.BadBinaries = &bb
505 > if len(config.BadBinaries.Binaries) > maxLength {
506 return nil, serviceerror.NewInvalidArgumentf("Total resetBinaries cannot exceed the max limit: %v", maxLength)
507 }