versioning

How to offer multiple versions of an API with different database schemas?

﹥>﹥吖頭↗ 提交于 2020-01-01 05:28:07
问题 In Kevin Goldsmith's 2015 talk about microservices at Spotify (from 15:25 - 17:43), he mentions that when they create a new version of an API they just create a new server, and keep the old server running with the old version for as long as there are still clients calling it (in this case, a smart lamp with Spotify embedded on it). I am confused about how they would be able to maintain and offer older versions for potentially years, when surely there would be database schema changes during

ITypeConverter interface has been changed in AutoMapper 2.0

本小妞迷上赌 提交于 2020-01-01 04:20:29
问题 The ITypeConverter interface has been changed to have a "TDestination Convert(ResolutionContext context)" instead of "TDestination Convert(TSource source)" for the Convert method. http://automapper.codeplex.com/wikipage?title=Custom%20Type%20Converters In my code, now I get this error: 'BusinessFacade.Mappers.DecimalToNullableInt' does not implement interface member 'AutoMapper.ITypeConverter.Convert(AutoMapper.ResolutionContext)' Any good full sample for new mapper like my mappers ? I don't

Are there npm version prerelease identifiers?

社会主义新天地 提交于 2020-01-01 04:15:13
问题 There is a very handy npm version command. Besides arguments like major , minor and patch it accepts arguments like prerelease , prepatch , etc. It says in the docs that the commands work in accordance with the semver.inc function. These pre commands I have a question about. Say I'm currently at version v1.0.0 . If I run npm version prerelease it will bump version to v1.0.1-0 . Is it possible to provide an extra agrument for a prerelease identifier according to https://github.com/npm/node

What version label to use for a forked maven project?

泄露秘密 提交于 2020-01-01 04:08:24
问题 I often times have to fork a Java project that uses Maven (usually on github). When I fork the project and make my changes I generally want to cut a release to my own private (but on the internet) maven repository. Thus the question of what the version label should be for my custom release. I can't do SNAPSHOT as I need it to be a release. Sometimes I suffix the project with .ADAMGENT (cause I'm a narcissist). Lets say I fork 1.0.4-SNAPSHOT . I might change it to 1.0.4.ADAMGENT . I have no

How to manage object revisions in Grails?

流过昼夜 提交于 2020-01-01 04:04:31
问题 I need to implement a revision system for articles in my grails web app. After searching grails forum, stackoverflow, grails plugins and googling internet, I have ended up with 3 options: Option 1 - Using the grails Envers plugin (see http://code.google.com/p/grails-envers-plugin/). Has anyone used it successfully? Or using Envers without the plugin (see here) but how can I make it work with GORM? Option 2 - Using the Gvers plugin I have found out here: https://github.com/ziftytodd/gvers. I

Object versioning in Rails, like Papertrail but individual tables

折月煮酒 提交于 2019-12-31 22:23:11
问题 For a project I'm currently working on I need to implement object versioning. Unfortunately I need to keep a full history of each object, so a single table solution like Papertrail would quickly become un-manageable. There are features of Papertrail which I like, however, which I haven't been able to find in a solution with individual tables for each model (such as acts_as_versioned). Ability to store meta-information from both controller and model Data is serialized so schema changes don't

rails 3 response format and versioning using vendor MIME type in the Accept header

假如想象 提交于 2019-12-31 11:43:54
问题 Preamble: I investigated how to version an API and found several ways to do it. I decided to try peter williams' suggestion and created new vendor mime types to specify version and format. I could find no definitive write-up for doing this following "the rails way" so I pieced together info from several places. I was able to get it working, but there is some goofiness in the way the renderers handle Widget array vs Widget instance in respond_with . Basic steps & problem: I registered mime

rails 3 response format and versioning using vendor MIME type in the Accept header

怎甘沉沦 提交于 2019-12-31 11:43:15
问题 Preamble: I investigated how to version an API and found several ways to do it. I decided to try peter williams' suggestion and created new vendor mime types to specify version and format. I could find no definitive write-up for doing this following "the rails way" so I pieced together info from several places. I was able to get it working, but there is some goofiness in the way the renderers handle Widget array vs Widget instance in respond_with . Basic steps & problem: I registered mime

WinSxS: How to take dependency on specific version of gdiplus.dll?

北慕城南 提交于 2019-12-31 01:49:10
问题 I need to add a dependency on a specific version of GDIPlus. This is the version of GDI+ that i want: I want to be sure that I'm using this version for a specific compatibility reason. I've added an assembly manifest to my executable, defining my dependancy on the version of GdiPlus : <dependency> <dependentAssembly> <assemblyIdentity type="win32" name="Microsoft.Windows.GdiPlus" pubicKeyToken="6595b64144ccf1df" version="5.1.3102.2180" processorArchitecture="x86" language="*" /> <

C#: how to set version number of assembly

非 Y 不嫁゛ 提交于 2019-12-30 16:23:26
问题 I have written a DLL in C# using VS2005. Currently the DLL is showing a version number of 1.0.0.0. How do I set this version number to something different? 回答1: You can either specify the file version using the AssemblyFileVersionAttribute directly... Instructs a compiler to use a specific version number for the Win32 file version resource. ...or you can remove this attribute entirely which will mean that the file version defaults to the assembly version. This is probably good practice as