Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/Architekt-Jutra/architekt-jutra-code
/ functions
Functions
1,065 in github.com/Architekt-Jutra/architekt-jutra-code
⨍
Functions
1,065
◇
Types & classes
359
↓ 245 callers
Method
get
(String pluginId, String objectType, String objectId)
src/main/java/pl/devstyle/aj/core/plugin/PluginObjectService.java:58
↓ 230 callers
Method
of
(OAuth2Error error, String customDescription)
src/main/java/pl/devstyle/aj/core/oauth2/OAuth2ErrorResponse.java:12
↓ 206 callers
Method
value
()
src/main/java/pl/devstyle/aj/footprint/api/exception/InvalidParametersException.java:24
↓ 109 callers
Method
put
( @PathVariable String pluginId, @PathVariable Long productId, @RequestBod
src/main/java/pl/devstyle/aj/core/plugin/PluginDataController.java:30
↓ 56 callers
Method
writeValueAsString
(Object value)
mcp-server/src/main/java/pl/devstyle/aj/mcp/config/JacksonMcpJsonMapper.java:60
↓ 41 callers
Function
compact
Serialize to JSON without indent — compact MCP responses save tokens.
tools/kg-incidents/tasks/cascading-shared-dependency/mcp-servers/shared/seed_loader.py:32
↓ 40 callers
Method
set
(String token)
mcp-server/src/main/java/pl/devstyle/aj/mcp/security/ExchangedTokenHolder.java:12
↓ 32 callers
Method
build
(FootprintParameters params, Instant asOf, Strictness strictness)
src/main/java/pl/devstyle/aj/footprint/internal/BreakdownTreeBuilder.java:42
↓ 25 callers
Method
equals
(Object o)
src/main/java/pl/devstyle/aj/core/plugin/PluginObject.java:51
↓ 24 callers
Method
get
()
mcp-server/src/main/java/pl/devstyle/aj/mcp/security/ExchangedTokenHolder.java:16
↓ 21 callers
Method
findById
(String productId)
src/main/java/pl/devstyle/aj/footprint/internal/ports/ProductAttributesPort.java:8
↓ 21 callers
Method
stringify
(Object value)
src/main/java/pl/devstyle/aj/footprint/export/BreakdownCsvFlattener.java:147
↓ 20 callers
Method
kgCo2
()
src/main/java/pl/devstyle/aj/footprint/api/BreakdownNode.java:11
↓ 19 callers
Method
save
(ProductPricing pricing)
week10/4-demo/02-stateful-object-level/product-pricing/src/ProductPricingRepository.java:7
↓ 18 callers
Method
delete
(Long id)
src/main/java/pl/devstyle/aj/product/ProductService.java:75
↓ 18 callers
Method
sendError
(HttpServletResponse response, OAuth2Error error, String description)
src/main/java/pl/devstyle/aj/core/oauth2/OAuth2TokenFilter.java:335
↓ 18 callers
Function
slug
(s: string)
tools/kg-simple-demo/kg-codegen/types.ts:78
↓ 17 callers
Method
equals
(Object o)
src/main/java/pl/devstyle/aj/user/User.java:42
↓ 16 callers
Method
CalculateTotalFootprint
<summary> Główna operacja silnika. Pobiera korzeń drzewa komponentów dla produktu z <see cref="IComponentRepository.FindRootByProductId"/>, rekurencyj
week9/AJ-dotnet/src/FootprintCalculation/FootprintReporting/FootprintFacade.cs:82
↓ 15 callers
Method
listProducts
(@RequestParam(required = false) String search)
mcp-server/src/main/java/pl/devstyle/aj/mcp/client/AjApiClient.java:17
↓ 15 callers
Function
sendMessageAndWait
( type: string, payload: Record<string, unknown>, hostOrigin: string, )
src/main/frontend/src/plugin-sdk/messaging.ts:20
↓ 14 callers
Method
addElectronics
( Map<String, ProductAttributes> map, String sku, String weightKg, String supplierDistanceKm)
src/main/java/pl/devstyle/aj/footprint/spi/stub/InMemoryProductAttributesPort.java:52
↓ 13 callers
Method
Between
(Timestamp t1, Timestamp t2)
week9/AJ-dotnet/src/FootprintCalculation/ComponentTree/Validity.cs:30
↓ 13 callers
Method
leaf
(String id, String kgCo2, int scope, String factorRate, String fac
src/test/java/pl/devstyle/aj/footprint/export/FootprintCsvExportIntegrationTests.java:131
↓ 12 callers
Method
SimpleLeaf
(BreakdownNode node)
week9/AJ-dotnet/tests/FootprintCalculation.Tests/FootprintReporting/FacadeTestFixtures.cs:293
↓ 12 callers
Method
calculate
(BigDecimal rate, BigDecimal quantity)
src/main/java/pl/devstyle/aj/archetype/pricing/Calculator.java:7
↓ 11 callers
Method
Always
()
week9/AJ-dotnet/src/FootprintCalculation/ComponentTree/Validity.cs:24
↓ 11 callers
Method
BuildFacade
( Dictionary<string, CompositeComponent>? trees = null)
week9/AJ-dotnet/tests/FootprintCalculation.Tests/FootprintReporting/FacadeTestFixtures.cs:281
↓ 11 callers
Function
encodeScenario
(scenario: ScenarioInput)
src/main/frontend/src/utils/scenarioUrl.ts:12
↓ 11 callers
Function
getSDK
()
plugins/sdk.ts:100
↓ 11 callers
Function
handler
( req: NextApiRequest, res: NextApiResponse<GenerateResponse | ErrorResponse> )
plugins/ai-description/src/pages/api/generate.ts:23
↓ 11 callers
Method
listCategories
()
mcp-server/src/main/java/pl/devstyle/aj/mcp/client/AjApiClient.java:23
↓ 10 callers
Method
FindChild
(CompositeBreakdownNode parent, string id)
week9/AJ-dotnet/tests/FootprintCalculation.Tests/FootprintReporting/FacadeTestFixtures.cs:303
↓ 10 callers
Function
_seed
()
tools/kg-incidents/tasks/cascading-shared-dependency/mcp-servers/aj-catalog/server.py:21
↓ 10 callers
Function
buildResponse
(total: number, correlationId = "corr")
src/main/frontend/src/test/FootprintComparisonPage.test.tsx:51
↓ 10 callers
Method
composite
(String id, BigDecimal kgCo2, List<Map<String, Object>> children)
src/test/java/pl/devstyle/aj/footprint/export/FootprintCsvExportIntegrationTests.java:145
↓ 10 callers
Method
createAndSaveProduct
(String name, String sku, BigDecimal price, Category category)
src/test/java/pl/devstyle/aj/product/ProductIntegrationTests.java:56
↓ 10 callers
Function
hostFetchJson
(path: string, options?: { method?: string; headers?: Record<string, string>; body?: string })
plugins/server-sdk.ts:72
↓ 10 callers
Method
id
()
src/main/java/pl/devstyle/aj/archetype/pricing/Component.java:5
↓ 10 callers
Method
matches
(Object o)
src/test/java/pl/devstyle/aj/footprint/web/FootprintControllerValidationTests.java:80
↓ 9 callers
Method
CalculateUnitFootprint
<summary> Pomocnicza operacja zwracająca breakdown przeliczony na jednostkę referencyjną (100 g materiału). Deleguje obliczenie do <see cref="Calculat
week9/AJ-dotnet/src/FootprintCalculation/FootprintReporting/FootprintFacade.cs:121
↓ 9 callers
Method
addLeaf
( Map<ComponentId, pl.devstyle.aj.archetype.pricing.Component> map, String id,
src/main/java/pl/devstyle/aj/footprint/internal/ComponentTreeRegistry.java:80
↓ 9 callers
Method
createAndSaveCategory
(String name)
src/test/java/pl/devstyle/aj/product/ProductIntegrationTests.java:49
↓ 9 callers
Method
doFilterInternal
(HttpServletRequest request, HttpServletResponse response, FilterChain fil
mcp-server/src/main/java/pl/devstyle/aj/mcp/security/McpJwtFilter.java:26
↓ 9 callers
Method
from
(Product product)
src/main/java/pl/devstyle/aj/product/ProductResponse.java:22
↓ 9 callers
Function
getHostOrigin
()
src/main/frontend/src/plugin-sdk/this-plugin.ts:7
↓ 9 callers
Method
saveObject
(String pluginId, String objectType, String objectId, Map<String, Object> data)
src/test/java/pl/devstyle/aj/core/plugin/PluginObjectGapTests.java:53
↓ 9 callers
Method
sum
(List<Map<String, Object>> leaves)
src/test/java/pl/devstyle/aj/footprint/export/FootprintCsvExportIntegrationTests.java:210
↓ 8 callers
Method
Ts
(DateTimeOffset d)
week9/AJ-dotnet/tests/FootprintCalculation.Tests/FootprintReporting/FacadeTestFixtures.cs:33
↓ 8 callers
Method
VersionAt
<summary> Picks the <see cref="SimpleComponentVersion"/> in effect at the given moment. Returns the version whose <c>Validity.ValidFrom <= timestam
week9/AJ-dotnet/src/FootprintCalculation/ComponentTree/SimpleComponent.cs:32
↓ 8 callers
Method
componentId
()
src/main/java/pl/devstyle/aj/footprint/api/BreakdownNode.java:9
↓ 8 callers
Method
createAndSavePlugin
(String id)
src/test/java/pl/devstyle/aj/core/plugin/PluginObjectGapTests.java:41
↓ 8 callers
Method
createAndSavePlugin
(String id)
src/test/java/pl/devstyle/aj/core/plugin/PluginDataAndObjectsIntegrationTests.java:53
↓ 8 callers
Function
edge
(type: string, sl: string, sid: string, tl: string, tid: string)
tools/kg-simple-demo/kg-codegen/parsers/java.ts:310
↓ 8 callers
Function
edge
(type: string, sl: string, sid: string, tl: string, tid: string)
tools/kg-simple-demo/kg-codegen/parsers/plugins.ts:259
↓ 8 callers
Method
findEnabledOrThrow
(String pluginId)
src/main/java/pl/devstyle/aj/core/plugin/PluginDescriptorService.java:67
↓ 8 callers
Method
generateOAuth2Token
(String username, Set<String> scopes, String issuer)
src/main/java/pl/devstyle/aj/core/security/JwtTokenProvider.java:47
↓ 8 callers
Method
getData
(String pluginId, Long productId)
src/main/java/pl/devstyle/aj/core/plugin/PluginDataService.java:22
↓ 8 callers
Function
isProblemDetail
(body: unknown)
src/main/frontend/src/api/problem.ts:12
↓ 8 callers
Method
list
( @RequestParam(required = false) Long category, @RequestParam(required = false) Strin
src/main/java/pl/devstyle/aj/product/ProductController.java:28
↓ 8 callers
Method
registerConfidentialClient
Register a confidential client (client_secret_post) and return [client_id, client_secret].
src/test/java/pl/devstyle/aj/core/oauth2/TokenExchangeIntegrationTests.java:44
↓ 8 callers
Method
registerConfidentialClient
(String redirectUri)
src/test/java/pl/devstyle/aj/core/oauth2/OAuth2IntrospectionTests.java:53
↓ 8 callers
Method
saveObjectWithEntity
(String pluginId, String objectType, String objectId, Map<String, Objec
src/test/java/pl/devstyle/aj/core/plugin/PluginObjectApiAndFilterTests.java:61
↓ 8 callers
Method
setData
(String pluginId, Long productId, Map<String, Object> data)
src/main/java/pl/devstyle/aj/core/plugin/PluginDataService.java:40
↓ 8 callers
Method
setEnabled
( @PathVariable String pluginId, @RequestBody SetEnabledRequest request)
src/main/java/pl/devstyle/aj/core/plugin/PluginController.java:54
↓ 8 callers
Method
sumOf
(List<Map<String, Object>> leaves, int from, int to)
src/test/java/pl/devstyle/aj/footprint/export/FootprintCsvExportIntegrationTests.java:218
↓ 7 callers
Method
IsValidAt
(Timestamp t)
week9/AJ-dotnet/src/FootprintCalculation/ComponentTree/Validity.cs:32
↓ 7 callers
Method
apiError
(String message)
mcp-server/src/main/java/pl/devstyle/aj/mcp/exception/McpToolException.java:33
↓ 7 callers
Method
apply
(FootprintResult baseResult)
week10/2-demo/04-single-module-new-concepts/calculation-engine/src/FrozenFoodSurcharge.java:21
↓ 7 callers
Method
calculateSurcharge
(List<Product> products, PricingContext context)
week10/4-demo/01-mock-on-transformation/calculator/src/SurchargePolicy.java:12
↓ 7 callers
Method
changePrice
(BigDecimal newPrice, Instant effectiveFrom)
week10/4-demo/02-stateful-object-level/product-pricing/src/ProductPricing.java:30
↓ 7 callers
Method
createAndSaveCategory
(String name, String description)
src/test/java/pl/devstyle/aj/category/CategoryIntegrationTests.java:42
↓ 7 callers
Method
createAndSavePlugin
(String id, boolean enabled)
src/test/java/pl/devstyle/aj/core/plugin/PluginGapTests.java:46
↓ 7 callers
Function
extractProblemMessage
(err: unknown)
src/main/frontend/src/api/problem.ts:36
↓ 7 callers
Function
fetch
(url: string, options?: { method?: string; headers?: Record<string, string>; body?: string })
src/main/frontend/src/plugin-sdk/host-app.ts:25
↓ 7 callers
Method
productId
()
src/main/java/pl/devstyle/aj/footprint/api/exception/MissingProductAttributeException.java:18
↓ 7 callers
Function
renderWithProviders
(ui: React.ReactElement)
src/main/frontend/src/test/footprint-components.test.tsx:25
↓ 7 callers
Function
renderWithProviders
(initialPath: string)
src/main/frontend/src/test/FootprintComparisonPage.test.tsx:83
↓ 7 callers
Method
round
(BigDecimal value)
src/main/java/pl/devstyle/aj/footprint/internal/RoundingPolicy.java:11
↓ 7 callers
Function
useAuth
()
src/main/frontend/src/auth/AuthContext.tsx:87
↓ 7 callers
Function
usePluginContext
()
src/main/frontend/src/plugins/PluginContext.tsx:107
↓ 6 callers
Function
buildResponse
(total: number, correlationId = "corr")
src/main/frontend/src/test/useFootprintComparison.test.ts:20
↓ 6 callers
Method
calculateDiscount
(List<Product> products, PricingContext context)
week10/4-demo/01-mock-on-transformation/calculator/src/DiscountPolicy.java:12
↓ 6 callers
Method
createAndSavePlugin
(String id)
src/test/java/pl/devstyle/aj/core/plugin/PluginObjectApiAndFilterTests.java:41
↓ 6 callers
Method
createAndSavePlugin
(String id)
src/test/java/pl/devstyle/aj/core/plugin/PluginObjectEntityBindingTests.java:28
↓ 6 callers
Function
createMessageHandler
( registry: IframeRegistry, options?: MessageHandlerOptions, )
src/main/frontend/src/plugins/PluginMessageHandler.ts:158
↓ 6 callers
Function
formatCO2eKg
(value: number)
src/main/frontend/src/utils/format.ts:42
↓ 6 callers
Method
generateTokenA
Generate a valid OAuth2 access token (Token-A) with MCP scopes.
src/test/java/pl/devstyle/aj/core/oauth2/TokenExchangeIntegrationTests.java:72
↓ 6 callers
Method
leaf
(String id, BigDecimal kgCo2)
src/test/java/pl/devstyle/aj/footprint/internal/BreakdownScalerTests.java:81
↓ 6 callers
Method
parseToken
Parse and validate a JWT token in a single operation, avoiding multiple signature verifications. @return parsed token data, or empty if the token is
src/main/java/pl/devstyle/aj/core/security/JwtTokenProvider.java:87
↓ 6 callers
Method
problem
( HttpStatus status, FootprintCalculationException ex, String title, HttpServletRequest req)
src/main/java/pl/devstyle/aj/footprint/web/FootprintExceptionHandler.java:65
↓ 6 callers
Method
scale
(FootprintBreakdown breakdown, Normalisation normalisation, BigDecimal materialWeightKg)
src/main/java/pl/devstyle/aj/footprint/internal/BreakdownScaler.java:19
↓ 6 callers
Function
tagBreakdown
(node: BreakdownDto)
src/main/frontend/src/api/footprints.ts:87
↓ 6 callers
Function
useFootprintComparison
( productId: string, comparisonGroupId: string, initialScenarios: FootprintQueryInput[], )
src/main/frontend/src/hooks/useFootprintComparison.ts:31
↓ 6 callers
Method
warnings
()
src/main/java/pl/devstyle/aj/footprint/api/BreakdownNode.java:13
↓ 5 callers
Method
Calculate
(EmissionFactorRate rate, Quantity quantity)
week9/AJ-dotnet/src/FootprintCalculation/EmissionMeasurement/EmissionCalculator.cs:17
↓ 5 callers
Function
_seed
()
tools/kg-incidents/tasks/cascading-shared-dependency/mcp-servers/aj-changes/server.py:25
↓ 5 callers
Method
buildToolListCategories
()
mcp-server/src/main/java/pl/devstyle/aj/mcp/service/CategoryService.java:38
↓ 5 callers
Method
buildToolListProducts
()
mcp-server/src/main/java/pl/devstyle/aj/mcp/service/ProductService.java:63
↓ 5 callers
Method
calculateTotal
(FootprintParameters params, CalculationOptions options)
src/main/java/pl/devstyle/aj/footprint/api/FootprintFacade.java:4
next →
1–100 of 1,065, ranked by callers