SneaksAndData / arcane-framework

Akka.NET-based framework for data streaming services using the Arcane Kubernetes Operator
Apache License 2.0
5 stars 2 forks source link

Fix incorrect classes visibility #53

Closed s-vitaliy closed 5 months ago

s-vitaliy commented 5 months ago

This pull request fixes #52: some of classes marked as internal not intended to be internal.

Checklist

github-actions[bot] commented 5 months ago

Coverage after merging fix-classes-visibility into main will be

81.95%

Coverage Report
FileStmtsBranchesFuncsLinesUncovered Lines
src/Providers/Hosting
   HostBuilderExtensions.cs84.75%58.33%100%90.48%190–192, 227–229
src/Sinks
   SchemaBoundSink.cs100%100%100%100%
   SchemaFreeSink.cs100%100%100%100%
src/Sinks/Extensions
   SchemaFreeSourceExtensions.cs100%100%100%100%
src/Sinks/Json
   JsonSink.cs74.66%42.86%100%77.68%102–105, 149–151, 151, 151, 151, 151, 151, 154–156, 158–159, 161–162, 164, 166, 177, 177–180, 82, 82, 82, 82, 84–86, 96–99
   MultilineJsonSink.cs79.12%52%100%81.69%113, 113, 113, 113, 115–117, 127–130, 133–136, 206–208, 208, 208, 208, 208, 208, 211–213, 215–216, 218–219, 221, 223, 234, 234–238
src/Sinks/Parquet
   ParquetOperations.cs74.68%66.67%87.50%77.45%100–102, 102, 102, 102, 102, 105–107, 159–161, 61–62, 62, 62–65, 65, 65–67, 69, 71–72, 89, 89, 89, 92–96, 96, 96, 98–99
   ParquetSink.cs83.26%64.10%100%85.88%113, 113, 113, 113, 115–117, 133–136, 160, 211–214, 251–253, 253, 253, 253, 253, 253, 256–258, 260–261, 263–264, 266, 268, 279, 279, 285–287, 44
src/Sinks/Parquet/Models
   DataCell.cs100%100%100%100%
src/Sources
   SchemaBoundSource.cs45.45%100%33.33%53.85%27, 31, 35, 40, 43, 52
   SchemaFreeSource.cs86.67%100%83.33%88.89%29
src/Sources/CdmChangeFeedSource
   CdmChangeFeedSource.cs87.78%77.08%95.45%89.21%159, 161, 190, 194–197, 202–203, 228–231, 258, 282–285, 307–310, 340, 367, 367, 369, 371, 82–88
src/Sources/CdmChangeFeedSource/Extensions
   CsvOperations.cs98.91%97.22%100%100%54
   JsonDocumentOperations.cs100%100%100%100%
   SimpleCdmAttributeExtensions.cs94.12%91.67%100%94.59%27–28, 41
src/Sources/CdmChangeFeedSource/Models
   SimpleCdmAttribute.cs55.24%16.67%84.62%63.24%108, 123–124, 124, 124–126, 129, 129, 129–131, 134, 134, 134–136, 139, 139, 139–141, 144, 144, 144, 144, 144, 144, 144, 144, 144, 144, 144–150, 153–156, 91, 96
   SimpleCdmEntity.cs80%64.29%88.89%82.69%101–103, 106, 106, 112–114, 86–88, 96–98
src/Sources/Extensions
   GraphStageLogicExtensions.cs100%100%100%100%
   SchemaFreeSourceExtensions.cs100%100%100%100%
   SinkExtensions.cs100%100%100%100%
   SourceExtensions.cs100%100%100%100%
   SqlServerUtils.cs100%100%100%100%
src/Sources/RestApi
   RestApiSource.cs73.44%54%82.35%78.16%132, 136–142, 317, 322, 322, 322, 322, 322, 322, 324–327, 342–345, 364, 364–366, 366, 366, 369–370, 372–373, 376, 429–431, 439, 449–450, 452, 454, 456, 456, 456, 456, 456, 456, 456, 456, 456, 462, 466–467, 83–88
src/Sources/RestApi/Extensions
   RestApiExtensions.cs100%100%100%100%
   StringExtensions.cs0%0%0%0%21–26, 26, 26–29, 32–33
src/Sources/RestApi/Models
   PageResolverConfiguration.cs50%100%50%50%27, 33
   RestApiTemplatedField.cs100%100%100%100%
src/Sources/RestApi/Services
   RestApiTemplate.cs87.50%80%100%87.50%62–64, 90–93
src/Sources/RestApi/Services/AuthenticatedMessageProviders
   DynamicBearerAuthenticatedMessageProvider.cs61.90%50%66.67%64%52–60, 60, 60–61, 66, 68–72, 77–80
   FixedHeaderAuthenticatedMessageProvider.cs100%100%100%100%
src/Sources/RestApi/Services/PageResolvers
   PageCountingResolver.cs80.49%75%100%81.48%37, 40–41, 43, 52, 59–61
   PageNextTokenResolver.cs100%100%100%100%
   PageOffsetResolver.cs73.68%60%100%76.92%33, 47, 51, 51, 51–54, 57–58
src/Sources/RestApi/Services/PageResolvers/Base
   PageResolverBase.cs100%100%100%100%
src/Sources/RestApi/Services/UriProviders
   PagedUriProvider.cs67.16%50%83.33%72.83%102–104, 106, 113–116, 126, 126, 126, 132–133, 135, 149, 157, 157, 163, 163, 163–165, 168–171, 173–174, 50, 52, 67, 67, 67, 77, 77, 77, 84–86, 88, 95, 95, 95
   SimpleUriProvider.cs60.27%45%66.67%66%34–35, 44, 56, 60, 64, 67, 67, 67, 74–76, 78, 82, 84–85, 85, 85, 85, 85, 88–90, 92–94, 96, 98
src/Sources/SqlServer
   FastParquetSchemaValidator.cs87.50%75%100%88.24%34–36
   SqlServerChangeTrackingSource.cs81.39%65.22%92%83.04%100–103, 197, 197, 199–200, 215–218, 236–240, 273, 278–281, 283, 326, 334, 334, 334–336, 336, 336, 336, 336, 336, 336–339, 341–344, 346–349, 357–360, 396, 396–398, 398, 398, 401–402, 404–405, 408, 96–99
   SqlServerSource.cs73.81%50%85.71%76.04%112, 112, 114–115, 126, 126–129, 138, 138–140, 140, 140, 143–144, 146–147, 150, 191–193, 70–77