ms-iot/pcs-config-dotnet

Name: pcs-config-dotnet

Owner: ms-iot

Description: The configuration microservice for Azure IoT Solutions

Forked from: Azure/pcs-config-dotnet

Created: 2017-12-16 00:38:45.0

Updated: 2018-04-04 23:34:36.0

Pushed: 2018-04-12 18:18:44.0

Homepage:

Size: 223

Language: C#

GitHub Committers

UserMost Recent Commit# Commits

Other Committers

UserEmailMost Recent Commit# Commits

README

Build Issues Gitter

Config service Overview

This service handles communication with the Storage Adapter microservice to complete tasks.

The microservice provides a RESTful endpoint to make CRUD operations for “devicegroups”, “solution-settings”, and “user-settings”. The data will be stored by the Storage Adapter microservice.

Dependencies

How to use the microservice

Local Setup
1. Environment Variables

Run scripts\env-vars-setup.cmd on Windows or source scripts/env-vars-setup on Mac/Linux to set up the environment variables needed to run the service locally. In Windows you can also set these in your system.

If using envornemnt variables, this service requires the following environment variables to be set:

Quickstart - Running the service with Docker

You can quickly start the Config service and its dependencies in one simple step, using Docker Compose with the docker-compose.yml file in the project:

cripts/docker
er-compose up

The Docker compose configuration requires the PCS_STORAGEADAPTER_WEBSERVICE_URL environment variable.

Build and Run from the command line

The scripts folder contains scripts for many frequent tasks:

The scripts check for the environment variables setup. You can set the environment variables globally in your OS, or use the “env-vars-setup” script in the scripts folder.

Updating the Docker image

The scripts folder includes a docker subfolder with the files required to package the service into a Docker image:

Contributing to the solution

Please follow our contribution guildelines and code style conventions.

Feedback

Please enter issues, bugs, or suggestions as GitHub Issues here: https://github.com/Azure/pcs-config-dotnet/issues.


This work is supported by the National Institutes of Health's National Center for Advancing Translational Sciences, Grant Number U24TR002306. This work is solely the responsibility of the creators and does not necessarily represent the official views of the National Institutes of Health.