MCPcopy Create free account

hub / github.com/Architekt-Jutra/architekt-jutra-code / functions

Functions1,065 in github.com/Architekt-Jutra/architekt-jutra-code

↓ 245 callersMethodget
(String pluginId, String objectType, String objectId)
src/main/java/pl/devstyle/aj/core/plugin/PluginObjectService.java:58
↓ 230 callersMethodof
(OAuth2Error error, String customDescription)
src/main/java/pl/devstyle/aj/core/oauth2/OAuth2ErrorResponse.java:12
↓ 206 callersMethodvalue
()
src/main/java/pl/devstyle/aj/footprint/api/exception/InvalidParametersException.java:24
↓ 109 callersMethodput
( @PathVariable String pluginId, @PathVariable Long productId, @RequestBod
src/main/java/pl/devstyle/aj/core/plugin/PluginDataController.java:30
↓ 56 callersMethodwriteValueAsString
(Object value)
mcp-server/src/main/java/pl/devstyle/aj/mcp/config/JacksonMcpJsonMapper.java:60
↓ 41 callersFunctioncompact
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 callersMethodset
(String token)
mcp-server/src/main/java/pl/devstyle/aj/mcp/security/ExchangedTokenHolder.java:12
↓ 32 callersMethodbuild
(FootprintParameters params, Instant asOf, Strictness strictness)
src/main/java/pl/devstyle/aj/footprint/internal/BreakdownTreeBuilder.java:42
↓ 25 callersMethodequals
(Object o)
src/main/java/pl/devstyle/aj/core/plugin/PluginObject.java:51
↓ 24 callersMethodget
()
mcp-server/src/main/java/pl/devstyle/aj/mcp/security/ExchangedTokenHolder.java:16
↓ 21 callersMethodfindById
(String productId)
src/main/java/pl/devstyle/aj/footprint/internal/ports/ProductAttributesPort.java:8
↓ 21 callersMethodstringify
(Object value)
src/main/java/pl/devstyle/aj/footprint/export/BreakdownCsvFlattener.java:147
↓ 20 callersMethodkgCo2
()
src/main/java/pl/devstyle/aj/footprint/api/BreakdownNode.java:11
↓ 19 callersMethodsave
(ProductPricing pricing)
week10/4-demo/02-stateful-object-level/product-pricing/src/ProductPricingRepository.java:7
↓ 18 callersMethoddelete
(Long id)
src/main/java/pl/devstyle/aj/product/ProductService.java:75
↓ 18 callersMethodsendError
(HttpServletResponse response, OAuth2Error error, String description)
src/main/java/pl/devstyle/aj/core/oauth2/OAuth2TokenFilter.java:335
↓ 18 callersFunctionslug
(s: string)
tools/kg-simple-demo/kg-codegen/types.ts:78
↓ 17 callersMethodequals
(Object o)
src/main/java/pl/devstyle/aj/user/User.java:42
↓ 16 callersMethodCalculateTotalFootprint
<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 callersMethodlistProducts
(@RequestParam(required = false) String search)
mcp-server/src/main/java/pl/devstyle/aj/mcp/client/AjApiClient.java:17
↓ 15 callersFunctionsendMessageAndWait
( type: string, payload: Record<string, unknown>, hostOrigin: string, )
src/main/frontend/src/plugin-sdk/messaging.ts:20
↓ 14 callersMethodaddElectronics
( Map<String, ProductAttributes> map, String sku, String weightKg, String supplierDistanceKm)
src/main/java/pl/devstyle/aj/footprint/spi/stub/InMemoryProductAttributesPort.java:52
↓ 13 callersMethodBetween
(Timestamp t1, Timestamp t2)
week9/AJ-dotnet/src/FootprintCalculation/ComponentTree/Validity.cs:30
↓ 13 callersMethodleaf
(String id, String kgCo2, int scope, String factorRate, String fac
src/test/java/pl/devstyle/aj/footprint/export/FootprintCsvExportIntegrationTests.java:131
↓ 12 callersMethodSimpleLeaf
(BreakdownNode node)
week9/AJ-dotnet/tests/FootprintCalculation.Tests/FootprintReporting/FacadeTestFixtures.cs:293
↓ 12 callersMethodcalculate
(BigDecimal rate, BigDecimal quantity)
src/main/java/pl/devstyle/aj/archetype/pricing/Calculator.java:7
↓ 11 callersMethodAlways
()
week9/AJ-dotnet/src/FootprintCalculation/ComponentTree/Validity.cs:24
↓ 11 callersMethodBuildFacade
( Dictionary<string, CompositeComponent>? trees = null)
week9/AJ-dotnet/tests/FootprintCalculation.Tests/FootprintReporting/FacadeTestFixtures.cs:281
↓ 11 callersFunctionencodeScenario
(scenario: ScenarioInput)
src/main/frontend/src/utils/scenarioUrl.ts:12
↓ 11 callersFunctiongetSDK
()
plugins/sdk.ts:100
↓ 11 callersFunctionhandler
( req: NextApiRequest, res: NextApiResponse<GenerateResponse | ErrorResponse> )
plugins/ai-description/src/pages/api/generate.ts:23
↓ 11 callersMethodlistCategories
()
mcp-server/src/main/java/pl/devstyle/aj/mcp/client/AjApiClient.java:23
↓ 10 callersMethodFindChild
(CompositeBreakdownNode parent, string id)
week9/AJ-dotnet/tests/FootprintCalculation.Tests/FootprintReporting/FacadeTestFixtures.cs:303
↓ 10 callersFunction_seed
()
tools/kg-incidents/tasks/cascading-shared-dependency/mcp-servers/aj-catalog/server.py:21
↓ 10 callersFunctionbuildResponse
(total: number, correlationId = "corr")
src/main/frontend/src/test/FootprintComparisonPage.test.tsx:51
↓ 10 callersMethodcomposite
(String id, BigDecimal kgCo2, List<Map<String, Object>> children)
src/test/java/pl/devstyle/aj/footprint/export/FootprintCsvExportIntegrationTests.java:145
↓ 10 callersMethodcreateAndSaveProduct
(String name, String sku, BigDecimal price, Category category)
src/test/java/pl/devstyle/aj/product/ProductIntegrationTests.java:56
↓ 10 callersFunctionhostFetchJson
(path: string, options?: { method?: string; headers?: Record<string, string>; body?: string })
plugins/server-sdk.ts:72
↓ 10 callersMethodid
()
src/main/java/pl/devstyle/aj/archetype/pricing/Component.java:5
↓ 10 callersMethodmatches
(Object o)
src/test/java/pl/devstyle/aj/footprint/web/FootprintControllerValidationTests.java:80
↓ 9 callersMethodCalculateUnitFootprint
<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 callersMethodaddLeaf
( Map<ComponentId, pl.devstyle.aj.archetype.pricing.Component> map, String id,
src/main/java/pl/devstyle/aj/footprint/internal/ComponentTreeRegistry.java:80
↓ 9 callersMethodcreateAndSaveCategory
(String name)
src/test/java/pl/devstyle/aj/product/ProductIntegrationTests.java:49
↓ 9 callersMethoddoFilterInternal
(HttpServletRequest request, HttpServletResponse response, FilterChain fil
mcp-server/src/main/java/pl/devstyle/aj/mcp/security/McpJwtFilter.java:26
↓ 9 callersMethodfrom
(Product product)
src/main/java/pl/devstyle/aj/product/ProductResponse.java:22
↓ 9 callersFunctiongetHostOrigin
()
src/main/frontend/src/plugin-sdk/this-plugin.ts:7
↓ 9 callersMethodsaveObject
(String pluginId, String objectType, String objectId, Map<String, Object> data)
src/test/java/pl/devstyle/aj/core/plugin/PluginObjectGapTests.java:53
↓ 9 callersMethodsum
(List<Map<String, Object>> leaves)
src/test/java/pl/devstyle/aj/footprint/export/FootprintCsvExportIntegrationTests.java:210
↓ 8 callersMethodTs
(DateTimeOffset d)
week9/AJ-dotnet/tests/FootprintCalculation.Tests/FootprintReporting/FacadeTestFixtures.cs:33
↓ 8 callersMethodVersionAt
<summary> Picks the <see cref="SimpleComponentVersion"/> in effect at the given moment. Returns the version whose <c>Validity.ValidFrom &lt;= timestam
week9/AJ-dotnet/src/FootprintCalculation/ComponentTree/SimpleComponent.cs:32
↓ 8 callersMethodcomponentId
()
src/main/java/pl/devstyle/aj/footprint/api/BreakdownNode.java:9
↓ 8 callersMethodcreateAndSavePlugin
(String id)
src/test/java/pl/devstyle/aj/core/plugin/PluginObjectGapTests.java:41
↓ 8 callersMethodcreateAndSavePlugin
(String id)
src/test/java/pl/devstyle/aj/core/plugin/PluginDataAndObjectsIntegrationTests.java:53
↓ 8 callersFunctionedge
(type: string, sl: string, sid: string, tl: string, tid: string)
tools/kg-simple-demo/kg-codegen/parsers/java.ts:310
↓ 8 callersFunctionedge
(type: string, sl: string, sid: string, tl: string, tid: string)
tools/kg-simple-demo/kg-codegen/parsers/plugins.ts:259
↓ 8 callersMethodfindEnabledOrThrow
(String pluginId)
src/main/java/pl/devstyle/aj/core/plugin/PluginDescriptorService.java:67
↓ 8 callersMethodgenerateOAuth2Token
(String username, Set<String> scopes, String issuer)
src/main/java/pl/devstyle/aj/core/security/JwtTokenProvider.java:47
↓ 8 callersMethodgetData
(String pluginId, Long productId)
src/main/java/pl/devstyle/aj/core/plugin/PluginDataService.java:22
↓ 8 callersFunctionisProblemDetail
(body: unknown)
src/main/frontend/src/api/problem.ts:12
↓ 8 callersMethodlist
( @RequestParam(required = false) Long category, @RequestParam(required = false) Strin
src/main/java/pl/devstyle/aj/product/ProductController.java:28
↓ 8 callersMethodregisterConfidentialClient
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 callersMethodregisterConfidentialClient
(String redirectUri)
src/test/java/pl/devstyle/aj/core/oauth2/OAuth2IntrospectionTests.java:53
↓ 8 callersMethodsaveObjectWithEntity
(String pluginId, String objectType, String objectId, Map<String, Objec
src/test/java/pl/devstyle/aj/core/plugin/PluginObjectApiAndFilterTests.java:61
↓ 8 callersMethodsetData
(String pluginId, Long productId, Map<String, Object> data)
src/main/java/pl/devstyle/aj/core/plugin/PluginDataService.java:40
↓ 8 callersMethodsetEnabled
( @PathVariable String pluginId, @RequestBody SetEnabledRequest request)
src/main/java/pl/devstyle/aj/core/plugin/PluginController.java:54
↓ 8 callersMethodsumOf
(List<Map<String, Object>> leaves, int from, int to)
src/test/java/pl/devstyle/aj/footprint/export/FootprintCsvExportIntegrationTests.java:218
↓ 7 callersMethodIsValidAt
(Timestamp t)
week9/AJ-dotnet/src/FootprintCalculation/ComponentTree/Validity.cs:32
↓ 7 callersMethodapiError
(String message)
mcp-server/src/main/java/pl/devstyle/aj/mcp/exception/McpToolException.java:33
↓ 7 callersMethodapply
(FootprintResult baseResult)
week10/2-demo/04-single-module-new-concepts/calculation-engine/src/FrozenFoodSurcharge.java:21
↓ 7 callersMethodcalculateSurcharge
(List<Product> products, PricingContext context)
week10/4-demo/01-mock-on-transformation/calculator/src/SurchargePolicy.java:12
↓ 7 callersMethodchangePrice
(BigDecimal newPrice, Instant effectiveFrom)
week10/4-demo/02-stateful-object-level/product-pricing/src/ProductPricing.java:30
↓ 7 callersMethodcreateAndSaveCategory
(String name, String description)
src/test/java/pl/devstyle/aj/category/CategoryIntegrationTests.java:42
↓ 7 callersMethodcreateAndSavePlugin
(String id, boolean enabled)
src/test/java/pl/devstyle/aj/core/plugin/PluginGapTests.java:46
↓ 7 callersFunctionextractProblemMessage
(err: unknown)
src/main/frontend/src/api/problem.ts:36
↓ 7 callersFunctionfetch
(url: string, options?: { method?: string; headers?: Record<string, string>; body?: string })
src/main/frontend/src/plugin-sdk/host-app.ts:25
↓ 7 callersMethodproductId
()
src/main/java/pl/devstyle/aj/footprint/api/exception/MissingProductAttributeException.java:18
↓ 7 callersFunctionrenderWithProviders
(ui: React.ReactElement)
src/main/frontend/src/test/footprint-components.test.tsx:25
↓ 7 callersFunctionrenderWithProviders
(initialPath: string)
src/main/frontend/src/test/FootprintComparisonPage.test.tsx:83
↓ 7 callersMethodround
(BigDecimal value)
src/main/java/pl/devstyle/aj/footprint/internal/RoundingPolicy.java:11
↓ 7 callersFunctionuseAuth
()
src/main/frontend/src/auth/AuthContext.tsx:87
↓ 7 callersFunctionusePluginContext
()
src/main/frontend/src/plugins/PluginContext.tsx:107
↓ 6 callersFunctionbuildResponse
(total: number, correlationId = "corr")
src/main/frontend/src/test/useFootprintComparison.test.ts:20
↓ 6 callersMethodcalculateDiscount
(List<Product> products, PricingContext context)
week10/4-demo/01-mock-on-transformation/calculator/src/DiscountPolicy.java:12
↓ 6 callersMethodcreateAndSavePlugin
(String id)
src/test/java/pl/devstyle/aj/core/plugin/PluginObjectApiAndFilterTests.java:41
↓ 6 callersMethodcreateAndSavePlugin
(String id)
src/test/java/pl/devstyle/aj/core/plugin/PluginObjectEntityBindingTests.java:28
↓ 6 callersFunctioncreateMessageHandler
( registry: IframeRegistry, options?: MessageHandlerOptions, )
src/main/frontend/src/plugins/PluginMessageHandler.ts:158
↓ 6 callersFunctionformatCO2eKg
(value: number)
src/main/frontend/src/utils/format.ts:42
↓ 6 callersMethodgenerateTokenA
Generate a valid OAuth2 access token (Token-A) with MCP scopes.
src/test/java/pl/devstyle/aj/core/oauth2/TokenExchangeIntegrationTests.java:72
↓ 6 callersMethodleaf
(String id, BigDecimal kgCo2)
src/test/java/pl/devstyle/aj/footprint/internal/BreakdownScalerTests.java:81
↓ 6 callersMethodparseToken
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 callersMethodproblem
( HttpStatus status, FootprintCalculationException ex, String title, HttpServletRequest req)
src/main/java/pl/devstyle/aj/footprint/web/FootprintExceptionHandler.java:65
↓ 6 callersMethodscale
(FootprintBreakdown breakdown, Normalisation normalisation, BigDecimal materialWeightKg)
src/main/java/pl/devstyle/aj/footprint/internal/BreakdownScaler.java:19
↓ 6 callersFunctiontagBreakdown
(node: BreakdownDto)
src/main/frontend/src/api/footprints.ts:87
↓ 6 callersFunctionuseFootprintComparison
( productId: string, comparisonGroupId: string, initialScenarios: FootprintQueryInput[], )
src/main/frontend/src/hooks/useFootprintComparison.ts:31
↓ 6 callersMethodwarnings
()
src/main/java/pl/devstyle/aj/footprint/api/BreakdownNode.java:13
↓ 5 callersMethodCalculate
(EmissionFactorRate rate, Quantity quantity)
week9/AJ-dotnet/src/FootprintCalculation/EmissionMeasurement/EmissionCalculator.cs:17
↓ 5 callersFunction_seed
()
tools/kg-incidents/tasks/cascading-shared-dependency/mcp-servers/aj-changes/server.py:25
↓ 5 callersMethodbuildToolListCategories
()
mcp-server/src/main/java/pl/devstyle/aj/mcp/service/CategoryService.java:38
↓ 5 callersMethodbuildToolListProducts
()
mcp-server/src/main/java/pl/devstyle/aj/mcp/service/ProductService.java:63
↓ 5 callersMethodcalculateTotal
(FootprintParameters params, CalculationOptions options)
src/main/java/pl/devstyle/aj/footprint/api/FootprintFacade.java:4
next →1–100 of 1,065, ranked by callers