Giter VIP home page Giter VIP logo

rox-go's Introduction

Rollout

Rollout is a Secure Feature Management Solution for the Enterprise.

Accelerate development and minimize the risk of deploying new code with simple to create feature flags, controlled rollouts, advanced target groups & deployment rules.

Getting Started

Please see the detailed instructions in our docs how to add Rollout to your project.

Documentation

Getting started guide, use cases, examples and videos can be found in Rollout support site

Rollout Go SDK

Rollout Go SDK. Define and use simple and advanced feature flags, remote configuration variables, static and computed custom properties in code. Control your application features via Rollout's dashboard.

Installation

go get -u github.com/rollout/rox-go/v5/...

LICENSE

Rollout is free-to-use, proprietary software. Please see the full license (found in LICENSE in this distribution) for details on its license and the licenses of its dependencies.

Rollout Go SDK is free-to-use, proprietary software. Please see the full license found under the LICENSE file for more details.

Feedback

Feedback is always welcomed [email protected]

rox-go's People

Contributors

agentgonzo avatar andy-a-o avatar apg84 avatar asafrollout avatar ddold avatar eladcon avatar falconandy avatar g-guirado avatar jpbriend avatar markawm avatar pawoolley avatar samgrah avatar

Stargazers

 avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

rox-go's Issues

Inconsistent flag values

We're initializing rollout like so:

// domain/flags.go

package domain

import (
	"github.com/rollout/rox-go/v5/server"
)

var (
	Flags = &RolloutFlags{
		EnablePostManualTableRatings: server.NewRoxFlag(false),
	}
)

type RolloutFlags struct {
	EnablePostManualTableRatings server.RoxFlag
}

// rollout.go

import (
	"github.com/rollout/rox-go/v5/server"
	"solaireresort.com/playerrating/config"
	"solaireresort.com/playerrating/handler"
)

func rolloutInit() {
	newRox := server.NewRox()
	newRox.Register("playerratings.playerrating.domain.Flags", domain.Flags)
	<-newRox.Setup(config.RolloutEnvironmentKey, nil)
	handler.Rox = newRox
}

And the time we check the flag

// handler/handler.go

...

Rox.SetCustomStringProperty("playerratings.playerrating.proto.playerrating.Enriched.TableId", e.TableId)
if domain.Flags.EnablePostManualTableRatings.IsEnabled(nil) {
        // fire!!
}

...

It works but, sometimes returned flag values are not accurate. Example,

image

Since these values (masked in red) are listed in this flag, it should always return true.

But, when we try to remove an item from the list of values.

Still, the flag returns true. This happens intermittent, sometimes it works.

Need your assistance to understand the issue.

Thank you!

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.