Skip to content
This repository was archived by the owner on Jul 9, 2025. It is now read-only.

Field-Advantage/FieldAdv.ServiceChannel.Webhooks

Repository files navigation

FieldAdv ServiceChannel Webhook Model Library

Field Advantage's ServiceChannel Webhook Model Library

A lightweight .NET Core Class Library for interacting with [ServiceChannel's Webhooks](https://developer.servicechannel.com/guides/wh/event-objects/)

Release Continuous Integration

It is designed with a complete CI/CD flow targeting a public Nuget package publication.

👟 Getting started

Prepare your environment

Build and test

Start by cloning the repository

git clone https://github.com/Field-Advantage/FieldAdv.ServiceChannel.Webhooks

Build

dotnet build

Test with coverage

Note that the "XPlat Code Coverage" data collector friendly name cannot be changed. It is a constant name embeded inside the Coverlet data collector we use to collect code coverage.

$ dotnet test --collect:"XPlat Code Coverage" --settings ./build/coverlet.runsettings -r .build/

Publish package

The package publication workflow is Github Flow based. That is, the main branch is always deployable.

When you create a new Github release, a Github event is triggered at the repository level and caught be the Github Actions underlying system. Github actions checks if there is a workflow bound to that event and run it if it finds one.

See the Release workflow file for more details

🎛 Project properties

To improve maintainability of project dependencies and configuration attributes, global properties have been exported into importable *.props files:

./props
├- package.props            # Nuget package project properties
└- common.props             # Common properties for any project (class lib, test, packable, not packable..)
   ├- dependencies.props    # Shared dependencies, easier to align dependency version across projects
   └- version.props         # Share version, easier to align version across projects

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Packages

No packages published