Repository navigation
feat(bonds): convertible bond valuation with TWSE/TPEx market data and REST API - #2
Merged
Merged
Conversation
…s in MarketDataProvider
…s with migration support
… SetAsync methods
…iwanClock for date resolution
… valuation retrieval
… implementations, add dependency injection, and improve tests
…versions Adds the ASP.NET Core Web API project shell (Microsoft.NET.Sdk.Web, net10.0) with project references to Application/Infrastructure/Domain and a minimal placeholder Program.cs. Registers PackageVersion entries in Directory.Packages.props for Npgsql.EntityFrameworkCore.PostgreSQL (9.0.0, matching pinned EF Core 9.0.0), Microsoft.AspNetCore.Authentication.JwtBearer (10.0.0), Microsoft.AspNetCore.OpenApi (10.0.0), and Scalar.AspNetCore (2.16.11). No endpoints or Program composition yet — that lands in a later task.
Replace the Task 1 placeholder Program.cs with real composition (AddApplication/AddInfrastructure), OpenAPI + Scalar UI, a JWT bearer auth stub with a local dev token-minting endpoint, a named CORS policy for the React dev origin, and the four bond/valuation data endpoints, all gated behind RequireAuthorization().
…add BondsApiClient) Removes the AppName.Infrastructure project reference and the startup db.Database.Migrate() call so the MAUI head no longer touches a database. Adds IBondsApiClient/BondsApiClient (typed HttpClient wrapping GET /api/valuations) plus a minimal DevAuthTokenProvider + BearerTokenHandler that mint and attach a bearer token from the API's local-dev auth stub. BondsBridge now delegates to IBondsApiClient instead of GetValuationsUseCase; AppBridge and the HybridWebView JS contract are unchanged.
… switch AppName.Infrastructure switched to Npgsql (Task 2), which removed the transitive EF Sqlite provider the test project relied on. Add it back directly to AppName.Infrastructure.Tests so the in-memory SQLite fixtures keep working, and point DependencyInjectionTests at a dummy Postgres connection string since it now only resolves services.
…ring normalization
…connection strings and add centralized secret key constants
… migration for bond valuation entities
…on 9.0.4 and add YugabyteHistoryRepository for migration lock handling
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
No description provided.