Code Monkey home page Code Monkey logo

Comments (5)

ivarconr avatar ivarconr commented on June 27, 2024 1

Thanks for raising this @nejco!

This is why we have deprecated this feature a year already, to collect feedback. In general this is not a widely adopted capability among Unleash Users. The "old import" was poorly written hard to maintain, and did not solve important needs for Unleash users. It was best suited for an "init state", but was really poor at synchronizing state over time.

We are using it via quarkus-unleash usage.

Can you explain briefly how this work? Is it to configure Unleash with a set up pre-defined feature flags? Are you setting up more than flags?

In general I do not see big challenges adding a file-import variant for the new import as well.

Another use case we have for this feature is to be able to start clean environment from source for testing. We don't want to manually create all unleash resources every time.

For automated testing we now generally advice to use Unleash Edge in offline mode.

Does that make sense?

from unleash.

ivarconr avatar ivarconr commented on June 27, 2024 1

Thanks for your detailed feedback @nejco. We will consider this as part of our move to v6. I cannot guarantee that we will solve everything the same way as today.

from unleash.

nejco avatar nejco commented on June 27, 2024

We just began using unleash across our platforms and for now we use: features, feature tags, tag types, client applications, context fields, feature strategies, settings (frontendApiOrigins). But we could use more features later on.

Can you explain briefly how this work? Is it to configure Unleash with a set up pre-defined feature flags? Are you setting up more than flags?

Quarkus configures required dev services when it is in local or development mode. It basically starts Docker container for each service and configures it with some ENV variables and/or files. This way developers don't need to do any manual configurations / imports when developing locally and could also be used for other testing environments. More here

In general I do not see big challenges adding a file-import variant for the new import as well.

This should be ok for our use case if all features/settings are included in either imports or configuration with ENV variables. Then we are not limited in using any new or existing features.

For automated testing we now generally advice to use Unleash Edge in offline mode.

For unit testing we have a framework that mocks whole unleash, so offline mode would not help us here. The environments I an referring to are real (close to production) and we use them to run end to end tests of web and mobile apps on them and also manual tests by our internal teams. Here we also might test changing some features (or settings regarding it like rollout) so we need full unleash with UI.

from unleash.

stale avatar stale commented on June 27, 2024

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

from unleash.

daveleek avatar daveleek commented on June 27, 2024

Hello @nejco and thanks for bringing this up!
If you don't mind, I'd like to ask you a few followup questions around your usage of this feature and it's current env variables.

I've understood this as that you want to start Unleash "from scratch", then import and get to a known state, then do some testing. Does this mean wiping the instance before importing? Or are you starting a fresh instance/db every time?

There are two env variables that are likely to be removed/replaced:

  • IMPORT_DROP_BEFORE_IMPORT
  • IMPORT_KEEP_EXISTING
    Are you using any of these? are they important to you?

from unleash.

Related Issues (20)

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.