The code of this client is generated by autorest and allows a C# MVC web application to easily consume the BC Government News API. The build script pushes a nuget package, and does not produce any container images.
In an OpenShift "Tools" or build project, add the objects contained in the OpenShift\Templates folder.
oc process -f build-template.json | oc create -f -
Gov.News.Api.Client
DevOps
A Visual Studio 2017 solution has been provided, however Visual Studio Pro is not required to run the build script.
Important
You will need to install Autorest prior to building the source.
npm install -g autorest
You may have to run the build more than once initially if using Visual Studio.
Note that nuget.org maps delete to unlist.
If you wish to remove a package from nuget.org or another nuget repository, issue the following command:
nuget delete Gov.News.Api.Client <version-to-remove> -Source nuget.org -ApiKey <key>
(key is your Nuget.org key)
Please report any issues.
Pull requests are always welcome.
If you would like to contribute, please see our contributing guidelines.
Please note that this project is released with a Contributor Code of Conduct. By participating in this project you agree to abide by its terms.
Copyright 2017 Province of British Columbia
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.
This repository is maintained by GCPE. Click here for a complete list of our repositories on GitHub.