Repository navigation
Commit 7c8d3a4
Add Apache 2.0 headers to every .cs file; refresh README index (#20)
A repo-wide cleanup pass for professionalism / licensing hygiene:
## Apache 2.0 license header
Prepended the standard Firefly Software Foundation Apache 2.0 header
to every C# source file in src/, samples/, and tests/ — 344 files in
total, all of which previously lacked a header. The text is the same
notice used in the Java sources, normalised to C# `//` line comments:
// Copyright 2024-2026 Firefly Software Foundation
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// http://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicable law or agreed to in writing, software
// distributed under the License is distributed on an "AS IS" BASIS,
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
// implied. See the License for the specific language governing
// permissions and limitations under the License.
The header sits above the first using directive, separated by a blank
line. Insertion was idempotent (skipped any file already containing
"Firefly Software Foundation"); re-running on top is a no-op. Build:
0 errors / 0 warnings; 346/346 tests still pass.
## Documentation index
Removed `docs/AUDIT.md` (Java↔.NET parity audit) per the user's
direction — the same information now lives implicitly in the README
quickstarts, the per-project READMEs, and the new index pages added
in this PR. All references to AUDIT.md are stripped from README.md.
Added three new top-level README index pages:
* `docs/README.md` — indexes ARCHITECTURE / MODULES / SERVICE-SCAFFOLDING
/ CONFIGURATION / MIGRATION-GUIDE with audience tags and a recommended
reading order. Replaces the navigation role AUDIT.md served.
* `src/README.md` — lists every src/* project organised by tier
(Foundational / Platform / Adapters / Starters), with a one-line
description of each and a link to its own README. Calls out the
conventions every project follows: Apache header, file-scoped
namespaces, `<IsPackable>true</IsPackable>` default, options + DI
extension naming, and the no-silent-stubs rule.
* `tests/README.md` — describes the single-test-project layout, how
to run filtered subsets, the three test categories (framework
internals / adapter shape / extras), and the conventions for new
tests (WireMock for HTTP adapters, NSubstitute for SDK-fronted
ones, xUnit-native asserts).
## README touch-up
Updated the top-level `README.md` to reflect the new structure:
* "Repository layout" tree shows the three new index READMEs and
drops the AUDIT.md line.
* "Documentation" section points at `docs/README.md` as the
recommended starting point and removes the AUDIT.md row.
* Per-project + index READMEs are explicitly cross-linked so a
reader landing in any of `src/`, `samples/`, `tests/`, or `docs/`
finds the right next page within one click.
## Verification
* `dotnet build FireflyFramework.sln` — 0 errors / 0 warnings.
* `dotnet test FireflyFramework.sln --no-build` — 346 / 346 passing.
* `find src tests samples -name '*.cs' -exec grep -L 'Firefly Software Foundation' {} \;` — empty (every file has the header).
* `head -2 src/FireflyFramework.Cqrs/Commands/ICommand.cs` shows the
header sits above the first `using` directive, not inside it.
Co-authored-by: Andres Contreras <andres.contreras@soon.es>1 parent e36dee4 commit 7c8d3a4
349 files changed
Lines changed: 5058 additions & 440 deletions
File tree
- docs
- samples
- FireflyFramework.Samples.OrdersService.Core
- Mappers
- Services/Orders/V1
- FireflyFramework.Samples.OrdersService.Interfaces
- Dtos/V1
- Enums/V1
- FireflyFramework.Samples.OrdersService.Models
- Entities/V1
- Repositories
- FireflyFramework.Samples.OrdersService.Sdk
- FireflyFramework.Samples.OrdersService.Web
- src
- FireflyFramework.BackOffice
- FireflyFramework.Cache
- Adapters
- Configuration
- Core
- DependencyInjection
- Manager
- Serialization
- FireflyFramework.Callbacks.Core
- FireflyFramework.Callbacks.Interfaces
- FireflyFramework.Callbacks.Models
- FireflyFramework.Callbacks.Sdk
- FireflyFramework.Callbacks.Web
- FireflyFramework.Client
- Chaos
- Deduplication
- Discovery
- GraphQL
- Grpc
- Health
- LoadBalancer
- Metrics
- OAuth2
- Rest
- Soap
- WebSockets
- FireflyFramework.ConfigServer
- FireflyFramework.Cqrs
- Annotations
- Authorization
- Buses
- Cache
- Commands
- Context
- DependencyInjection
- Queries
- Validation
- FireflyFramework.Data
- Domain
- Filters
- Pagination
- Repository
- FireflyFramework.Ecm.ESignature.AdobeSign
- FireflyFramework.Ecm.ESignature.DocuSign
- FireflyFramework.Ecm.ESignature.Logalty
- FireflyFramework.Ecm.Storage.Aws
- FireflyFramework.Ecm.Storage.Azure
- FireflyFramework.Ecm
- Adapters
- Domain
- Ports
- FireflyFramework.Eda
- Annotations
- Configuration
- Consumer
- DependencyInjection
- ErrorHandling
- Events
- Filtering
- Publisher
- Serialization
- FireflyFramework.EventSourcing
- Annotations
- Domain
- Outbox
- Projection
- Publisher
- Snapshot
- Store
- EfCore
- Tenancy
- Upcasting
- FireflyFramework.Idp.AwsCognito
- FireflyFramework.Idp.AzureAd
- FireflyFramework.Idp.InternalDb
- FireflyFramework.Idp.Keycloak
- FireflyFramework.Idp
- FireflyFramework.Kernel
- Exceptions
- FireflyFramework.Notifications.Core
- FireflyFramework.Notifications.Firebase
- FireflyFramework.Notifications.Resend
- FireflyFramework.Notifications.SendGrid
- FireflyFramework.Notifications.Twilio
- FireflyFramework.Notifications
- FireflyFramework.Observability
- Configuration
- DependencyInjection
- Health
- Logging
- Metrics
- Tracing
- FireflyFramework.Orchestration
- Compensation
- Core
- DeadLetter
- Persistence
- Recovery
- Saga
- Scheduling
- Tcc
- Topology
- Web
- Workflow
- FireflyFramework.Plugins.Api
- FireflyFramework.Plugins.Core
- FireflyFramework.RuleEngine.Core
- Dsl
- Engine
- Services
- FireflyFramework.RuleEngine.Interfaces
- FireflyFramework.RuleEngine.Models
- FireflyFramework.RuleEngine.Sdk
- FireflyFramework.RuleEngine.Web/Controllers
- FireflyFramework.Starter.Application
- FireflyFramework.Starter.Core
- FireflyFramework.Starter.Data
- FireflyFramework.Starter.Domain
- FireflyFramework.Utils
- Annotations
- Templates
- FireflyFramework.Validators
- Attributes
- Internal
- Utilities
- FireflyFramework.Webhooks.Core
- Services
- FireflyFramework.Webhooks.Interfaces
- FireflyFramework.Webhooks.Processor
- SignatureValidators
- FireflyFramework.Webhooks.Sdk
- FireflyFramework.Webhooks.Web
- FireflyFramework.Web
- Cors
- DependencyInjection
- Errors
- Converters
- Exceptions
- Models
- Idempotency
- Logging
- Middleware
- tests
- FireflyFramework.Tests
Some content is hidden
Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
389 | 389 | | |
390 | 390 | | |
391 | 391 | | |
392 | | - | |
| 392 | + | |
| 393 | + | |
393 | 394 | | |
394 | 395 | | |
395 | 396 | | |
396 | 397 | | |
397 | | - | |
398 | | - | |
399 | | - | |
| 398 | + | |
| 399 | + | |
400 | 400 | | |
| 401 | + | |
401 | 402 | | |
402 | 403 | | |
403 | 404 | | |
404 | 405 | | |
405 | 406 | | |
406 | | - | |
| 407 | + | |
| 408 | + | |
407 | 409 | | |
408 | 410 | | |
409 | 411 | | |
| |||
421 | 423 | | |
422 | 424 | | |
423 | 425 | | |
| 426 | + | |
| 427 | + | |
424 | 428 | | |
425 | 429 | | |
426 | 430 | | |
427 | 431 | | |
428 | 432 | | |
429 | 433 | | |
430 | 434 | | |
431 | | - | |
| 435 | + | |
| 436 | + | |
432 | 437 | | |
433 | 438 | | |
434 | 439 | | |
| |||
This file was deleted.
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
| 26 | + | |
| 27 | + | |
| 28 | + | |
| 29 | + | |
| 30 | + | |
| 31 | + | |
| 32 | + | |
| 33 | + | |
| 34 | + | |
| 35 | + | |
| 36 | + | |
| 37 | + | |
| 38 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
1 | 15 | | |
2 | 16 | | |
3 | 17 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
1 | 15 | | |
2 | 16 | | |
3 | 17 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
1 | 15 | | |
2 | 16 | | |
3 | 17 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
1 | 15 | | |
2 | 16 | | |
3 | 17 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
1 | 15 | | |
2 | 16 | | |
3 | 17 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
1 | 15 | | |
2 | 16 | | |
3 | 17 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
1 | 15 | | |
2 | 16 | | |
3 | 17 | | |
0 commit comments