customers_microservice_dart 1.0.1

  • Readme
  • Changelog
  • Installing
  • 44

Customers microservice #

This is the Customers microservice

Acknowledgements #

This microservice was created and currently maintained by Denis Kuznetsov.

This is the Customers microservice #

1.0.0 #

  • Initial version, created by Denis Kuznetsov

1.0.1 #

  • Fix http client desciptor

Use this package as a library

1. Depend on it

Add this to your package's pubspec.yaml file:


dependencies:
  customers_microservice_dart: ^1.0.1

2. Install it

You can install packages from the command line:

with pub:


$ pub get

Alternatively, your editor might support pub get. Check the docs for your editor to learn more.

3. Import it

Now in your Dart code, you can use:


import 'package:customers_microservice_dart/customers_microservice.dart';
  
Popularity:
Describes how popular the package is relative to other packages. [more]
0
Health:
Code health derived from static analysis. [more]
100
Maintenance:
Reflects how tidy and up-to-date the package is. [more]
70
Overall:
Weighted score of the above. [more]
44
Learn more about scoring.

We analyzed this package on Jul 10, 2020, and provided a score, details, and suggestions below. Analysis was completed with status completed using:

  • Dart: 2.8.4
  • pana: 0.13.13

Analysis suggestions

Package not compatible with SDK flutter

Because it is not compatible with any of the supported runtimes: flutter-native, flutter-web

Package not compatible with runtime flutter-native on android

Because of the import of dart:mirrors via the import chain package:customers_microservice_dart/customers_microservice.dartpackage:customers_microservice_dart/src/services/version1/services.dartpackage:customers_microservice_dart/src/services/version1/CustomersHttpServiceV1.dartpackage:pip_services3_rpc/pip_services3_rpc.dartpackage:pip_services3_rpc/src/build/build.dartpackage:pip_services3_rpc/src/build/DefaultRpcFactory.dartpackage:pip_services3_rpc/src/services/StatusRestService.dartpackage:pip_services3_rpc/src/services/RestService.dartpackage:pip_services3_rpc/src/services/HttpResponseSender.dartpackage:pip_services3_commons/pip_services3_commons.dartpackage:pip_services3_commons/src/validate/validate.dartpackage:pip_services3_commons/src/validate/ProjectionParamsSchema.dartpackage:pip_services3_commons/src/validate/ArraySchema.dartpackage:pip_services3_commons/src/reflect/ObjectReader.dartpackage:pip_services3_commons/src/reflect/PropertyReflector.dartdart:mirrors

Package not compatible with runtime flutter-native on ios

Because of the import of dart:mirrors via the import chain package:customers_microservice_dart/customers_microservice.dartpackage:customers_microservice_dart/src/services/version1/services.dartpackage:customers_microservice_dart/src/services/version1/CustomersHttpServiceV1.dartpackage:pip_services3_rpc/pip_services3_rpc.dartpackage:pip_services3_rpc/src/build/build.dartpackage:pip_services3_rpc/src/build/DefaultRpcFactory.dartpackage:pip_services3_rpc/src/services/StatusRestService.dartpackage:pip_services3_rpc/src/services/RestService.dartpackage:pip_services3_rpc/src/services/HttpResponseSender.dartpackage:pip_services3_commons/pip_services3_commons.dartpackage:pip_services3_commons/src/validate/validate.dartpackage:pip_services3_commons/src/validate/ProjectionParamsSchema.dartpackage:pip_services3_commons/src/validate/ArraySchema.dartpackage:pip_services3_commons/src/reflect/ObjectReader.dartpackage:pip_services3_commons/src/reflect/PropertyReflector.dartdart:mirrors

Package not compatible with runtime flutter-native on linux

Because of the import of dart:mirrors via the import chain package:customers_microservice_dart/customers_microservice.dartpackage:customers_microservice_dart/src/services/version1/services.dartpackage:customers_microservice_dart/src/services/version1/CustomersHttpServiceV1.dartpackage:pip_services3_rpc/pip_services3_rpc.dartpackage:pip_services3_rpc/src/build/build.dartpackage:pip_services3_rpc/src/build/DefaultRpcFactory.dartpackage:pip_services3_rpc/src/services/StatusRestService.dartpackage:pip_services3_rpc/src/services/RestService.dartpackage:pip_services3_rpc/src/services/HttpResponseSender.dartpackage:pip_services3_commons/pip_services3_commons.dartpackage:pip_services3_commons/src/validate/validate.dartpackage:pip_services3_commons/src/validate/ProjectionParamsSchema.dartpackage:pip_services3_commons/src/validate/ArraySchema.dartpackage:pip_services3_commons/src/reflect/ObjectReader.dartpackage:pip_services3_commons/src/reflect/PropertyReflector.dartdart:mirrors

Package not compatible with runtime flutter-native on macos

Because of the import of dart:mirrors via the import chain package:customers_microservice_dart/customers_microservice.dartpackage:customers_microservice_dart/src/services/version1/services.dartpackage:customers_microservice_dart/src/services/version1/CustomersHttpServiceV1.dartpackage:pip_services3_rpc/pip_services3_rpc.dartpackage:pip_services3_rpc/src/build/build.dartpackage:pip_services3_rpc/src/build/DefaultRpcFactory.dartpackage:pip_services3_rpc/src/services/StatusRestService.dartpackage:pip_services3_rpc/src/services/RestService.dartpackage:pip_services3_rpc/src/services/HttpResponseSender.dartpackage:pip_services3_commons/pip_services3_commons.dartpackage:pip_services3_commons/src/validate/validate.dartpackage:pip_services3_commons/src/validate/ProjectionParamsSchema.dartpackage:pip_services3_commons/src/validate/ArraySchema.dartpackage:pip_services3_commons/src/reflect/ObjectReader.dartpackage:pip_services3_commons/src/reflect/PropertyReflector.dartdart:mirrors

Package not compatible with runtime flutter-native on windows

Because of the import of dart:mirrors via the import chain package:customers_microservice_dart/customers_microservice.dartpackage:customers_microservice_dart/src/services/version1/services.dartpackage:customers_microservice_dart/src/services/version1/CustomersHttpServiceV1.dartpackage:pip_services3_rpc/pip_services3_rpc.dartpackage:pip_services3_rpc/src/build/build.dartpackage:pip_services3_rpc/src/build/DefaultRpcFactory.dartpackage:pip_services3_rpc/src/services/StatusRestService.dartpackage:pip_services3_rpc/src/services/RestService.dartpackage:pip_services3_rpc/src/services/HttpResponseSender.dartpackage:pip_services3_commons/pip_services3_commons.dartpackage:pip_services3_commons/src/validate/validate.dartpackage:pip_services3_commons/src/validate/ProjectionParamsSchema.dartpackage:pip_services3_commons/src/validate/ArraySchema.dartpackage:pip_services3_commons/src/reflect/ObjectReader.dartpackage:pip_services3_commons/src/reflect/PropertyReflector.dartdart:mirrors

Package not compatible with runtime flutter-web on web

Because of the import of dart:mirrors via the import chain package:customers_microservice_dart/customers_microservice.dartpackage:customers_microservice_dart/src/services/version1/services.dartpackage:customers_microservice_dart/src/services/version1/CustomersHttpServiceV1.dartpackage:pip_services3_rpc/pip_services3_rpc.dartpackage:pip_services3_rpc/src/build/build.dartpackage:pip_services3_rpc/src/build/DefaultRpcFactory.dartpackage:pip_services3_rpc/src/services/StatusRestService.dartpackage:pip_services3_rpc/src/services/RestService.dartpackage:pip_services3_rpc/src/services/HttpResponseSender.dartpackage:pip_services3_commons/pip_services3_commons.dartpackage:pip_services3_commons/src/validate/validate.dartpackage:pip_services3_commons/src/validate/ProjectionParamsSchema.dartpackage:pip_services3_commons/src/validate/ArraySchema.dartpackage:pip_services3_commons/src/reflect/ObjectReader.dartpackage:pip_services3_commons/src/reflect/PropertyReflector.dartdart:mirrors

Package not compatible with runtime native-aot

Because of the import of dart:mirrors via the import chain package:customers_microservice_dart/customers_microservice.dartpackage:customers_microservice_dart/src/services/version1/services.dartpackage:customers_microservice_dart/src/services/version1/CustomersHttpServiceV1.dartpackage:pip_services3_rpc/pip_services3_rpc.dartpackage:pip_services3_rpc/src/build/build.dartpackage:pip_services3_rpc/src/build/DefaultRpcFactory.dartpackage:pip_services3_rpc/src/services/StatusRestService.dartpackage:pip_services3_rpc/src/services/RestService.dartpackage:pip_services3_rpc/src/services/HttpResponseSender.dartpackage:pip_services3_commons/pip_services3_commons.dartpackage:pip_services3_commons/src/validate/validate.dartpackage:pip_services3_commons/src/validate/ProjectionParamsSchema.dartpackage:pip_services3_commons/src/validate/ArraySchema.dartpackage:pip_services3_commons/src/reflect/ObjectReader.dartpackage:pip_services3_commons/src/reflect/PropertyReflector.dartdart:mirrors

Package not compatible with runtime web

Because of the import of dart:mirrors via the import chain package:customers_microservice_dart/customers_microservice.dartpackage:customers_microservice_dart/src/services/version1/services.dartpackage:customers_microservice_dart/src/services/version1/CustomersHttpServiceV1.dartpackage:pip_services3_rpc/pip_services3_rpc.dartpackage:pip_services3_rpc/src/build/build.dartpackage:pip_services3_rpc/src/build/DefaultRpcFactory.dartpackage:pip_services3_rpc/src/services/StatusRestService.dartpackage:pip_services3_rpc/src/services/RestService.dartpackage:pip_services3_rpc/src/services/HttpResponseSender.dartpackage:pip_services3_commons/pip_services3_commons.dartpackage:pip_services3_commons/src/validate/validate.dartpackage:pip_services3_commons/src/validate/ProjectionParamsSchema.dartpackage:pip_services3_commons/src/validate/ArraySchema.dartpackage:pip_services3_commons/src/reflect/ObjectReader.dartpackage:pip_services3_commons/src/reflect/PropertyReflector.dartdart:mirrors

Health suggestions

Fix lib/src/logic/CustomersController.dart. (-0.50 points)

Analysis of lib/src/logic/CustomersController.dart reported 1 hint:

line 14 col 2: Use ; instead of {} for empty constructor bodies.

Format bin/run.dart.

Run dartfmt to format bin/run.dart.

Format lib/src/build/CustomersClientFactory.dart.

Run dartfmt to format lib/src/build/CustomersClientFactory.dart.

Fix additional 15 files with analysis or formatting issues.

Additional issues in the following files:

  • lib/src/build/CustomersServiceFactory.dart (Run dartfmt to format lib/src/build/CustomersServiceFactory.dart.)
  • lib/src/clients/version1/CustomersDirectClientV1.dart (Run dartfmt to format lib/src/clients/version1/CustomersDirectClientV1.dart.)
  • lib/src/clients/version1/CustomersHttpClientV1.dart (Run dartfmt to format lib/src/clients/version1/CustomersHttpClientV1.dart.)
  • lib/src/clients/version1/CustomersNullClientV1.dart (Run dartfmt to format lib/src/clients/version1/CustomersNullClientV1.dart.)
  • lib/src/clients/version1/ICustomersClientV1.dart (Run dartfmt to format lib/src/clients/version1/ICustomersClientV1.dart.)
  • lib/src/container/CustomersProcess.dart (Run dartfmt to format lib/src/container/CustomersProcess.dart.)
  • lib/src/data/version1/CustomerV1.dart (Run dartfmt to format lib/src/data/version1/CustomerV1.dart.)
  • lib/src/data/version1/CustomerV1Schema.dart (Run dartfmt to format lib/src/data/version1/CustomerV1Schema.dart.)
  • lib/src/logic/CustomersCommandSet.dart (Run dartfmt to format lib/src/logic/CustomersCommandSet.dart.)
  • lib/src/logic/ICustomersController.dart (Run dartfmt to format lib/src/logic/ICustomersController.dart.)
  • lib/src/persistence/CustomersFilePersistence.dart (Run dartfmt to format lib/src/persistence/CustomersFilePersistence.dart.)
  • lib/src/persistence/CustomersMemoryPersistence.dart (Run dartfmt to format lib/src/persistence/CustomersMemoryPersistence.dart.)
  • lib/src/persistence/CustomersMongoDbPersistence.dart (Run dartfmt to format lib/src/persistence/CustomersMongoDbPersistence.dart.)
  • lib/src/persistence/ICustomersPersistence.dart (Run dartfmt to format lib/src/persistence/ICustomersPersistence.dart.)
  • lib/src/services/version1/CustomersHttpServiceV1.dart (Run dartfmt to format lib/src/services/version1/CustomersHttpServiceV1.dart.)

Maintenance suggestions

The package description is too short. (-20 points)

Add more detail to the description field of pubspec.yaml. Use 60 to 180 characters to describe the package, what it does, and its target use case.

Maintain an example. (-10 points)

Create a short demo in the example/ directory to show how to use this package.

Common filename patterns include main.dart, example.dart, and customers_microservice_dart.dart. Packages with multiple examples should provide example/README.md.

For more information see the pub package layout conventions.

Dependencies

Package Constraint Resolved Available
Direct dependencies
Dart SDK >=2.0.0 <3.0.0
angel_framework ^2.1.1 2.1.1
http ^0.12.0 0.12.1
pip_services3_commons >=1.0.5 <2.0.0 1.0.11
pip_services3_components >=1.0.2 <2.0.0 1.0.6
pip_services3_container >=1.0.0 <2.0.0 1.0.3
pip_services3_data >=1.0.0 <2.0.0 1.0.6
pip_services3_mongodb >=1.0.2 <2.0.0 1.0.4
pip_services3_rpc >=1.0.2 <2.0.0 1.0.7
Transitive dependencies
angel_container 1.1.0
angel_http_exception 1.1.0
angel_model 1.0.3
angel_route 3.1.0+1
async 2.4.2
bson 0.3.2
charcode 1.1.3
code_buffer 1.0.1
collection 1.14.13 1.15.0-nullsafety
combinator 1.1.0
convert 2.1.1
crypto 2.1.5
dart2_constant 1.0.2+dart2
file 5.2.1
fixnum 0.10.11
http2 1.0.0
http_parser 3.1.4
http_server 0.9.8+3
intl 0.16.1
logging 0.11.4
matcher 0.12.8
merge_map 1.0.2
meta 1.2.2 1.3.0-nullsafety
mime 0.9.6+3
mock_request 1.0.7
mongo_dart 0.4.0
mongo_dart_query 0.4.1
more 1.18.2 2.5.0
mustache4dart2 0.1.0
path 1.7.0
pedantic 1.9.2
pool 1.4.0
quiver 2.1.3
quiver_hashcode 2.0.0
recase 2.0.1 3.0.0
source_span 1.7.0
sprintf 4.0.2
stack_trace 1.9.5
string_scanner 1.0.5
term_glyph 1.1.0
tuple 1.0.3
typed_data 1.2.0 1.3.0-nullsafety
uuid 2.2.0
yaml 2.2.1
Dev dependencies
test >=1.14.2 <2.0.0