Where communities thrive


  • Join over 1.5M+ people
  • Join over 100K+ communities
  • Free without limits
  • Create your own community
People
Repo info
Activity
    Delegue Alexandre
    @larousso
    I don’t really understand the pb but it seems play-json 2.7 evict the library collection-compat lib
    Could you try to add this to your dependencies : "org.scala-lang.modules" %% "scala-collection-compat" % « 0.1.1",
    Dragan Raicici
    @DraganRaicici
    yes, we can definitely try that :)
    Søren Valentin Silkjær
    @SoerenSilkjaer

    Still issues when we add the scala-collection-compat libarary

    Exception in thread "main" java.lang.NoSuchMethodError: play.api.libs.json.Reads$.traversableReads(Lscala/collection/compat/Factory;Lplay/api/libs/json/Reads;)Lplay/api/libs/json/Reads; at izanami.scaladsl.Features$.parseJson(scaladsl.scala:447)

    Delegue Alexandre
    @larousso
    Argggh
    Søren Valentin Silkjær
    @SoerenSilkjaer
    Is there any information I can give that will help?
    Delegue Alexandre
    @larousso
    May be some dependencies to be able to reproduce the problem
    Søren Valentin Silkjær
    @SoerenSilkjaer
    val akkaVersion = "2.5.19" // should match the version used by Play
    val akkaHTTPVersion = "10.1.7"
    
    libraryDependencies ++= Seq(
      ehcache,
      ws,
      guice,
      "org.scalatestplus.play"                  %% "scalatestplus-play"             % "4.0.1" % Test,
      "ch.qos.logback.contrib"                   % "logback-jackson"                % "0.1.4",
      "ch.qos.logback.contrib"                   % "logback-json-classic"           % "0.1.4",
      "org.mockito"                              % "mockito-core"                   % "2.12.0" % Test,
      "io.prometheus"                            % "simpleclient"                   % "0.6.0",
      "com.github.stijndehaes"                  %% "play-prometheus-filters"        % "0.5.0",
      "com.typesafe.play"                       %% "play-json-joda"                 % "2.7.1",
      "fr.maif"                                 %% "izanami-client"                 % "1.4.1",
      "com.github.pureconfig"                   %% "pureconfig"                     % "0.9.2",
      "com.amazonaws"                            % "aws-java-sdk-cloudsearch"       % "1.11.441",
      "com.typesafe.akka"                       %% "akka-http"                      % akkaHTTPVersion,
      "com.typesafe.akka"                       %% "akka-stream"                    % akkaVersion,
      "com.typesafe.akka"                       %% "akka-slf4j"                     % akkaVersion
    )
    resolvers += Resolver.jcenterRepo
    Delegue Alexandre
    @larousso
    ok thanks I will try that
    Søren Valentin Silkjær
    @SoerenSilkjaer
    Thanks alot!
    Delegue Alexandre
    @larousso
    @sorenvalentinjp I ve reproduced the problem and I’ve fixed it, a new release is coming soon
    Delegue Alexandre
    @larousso
    The new client should be published
    Søren Valentin Silkjær
    @SoerenSilkjaer
    That is awesome! I will try it out asap and report back to you
    Delegue Alexandre
    @larousso
    Cool ! 😎
    Søren Valentin Silkjær
    @SoerenSilkjaer
    Good news! It works!
    Delegue Alexandre
    @larousso
    Good, it was a fucking nightmare I don’t really know how I solved it …
    That ’s great if that works !
    Søren Valentin Silkjær
    @SoerenSilkjaer
    Well done, sir 🙂
    Dragan Raicici
    @DraganRaicici
    @larousso Thanks for looking into and fixing the problem! Good job!
    thomasblok98
    @thomasblok98
    Hi :) Is there any way to setup the API-keys to be read-only? We are trying to use Izanami from Angular project, so we are wondering if we can call the API without exposing the key and without setting up a proxy as you suggested in the documentation?
    Mathieu ANCELIN
    @mathieuancelin
    Maybe you can use it with an Otoroshi instance to handle api key
    Otoroshi can issue read only apikeys
    Mathieu ANCELIN
    @mathieuancelin
    still, I don't think it's a very good idea as it leaks too much informations
    Klaus Hebsgaard
    @khebbie
    Hi I am with Thomas Blok - @mathieuancelin how would you then recommend using izanami with angular?
    or would you maybe recommend that we do not use izanami with angular?
    Søren Valentin Silkjær
    @SoerenSilkjaer
    @larousso Do you have any experience on this matter?
    Mathieu ANCELIN
    @mathieuancelin
    @khebbie of course you can use izanami with an angular app, or any js app
    but we don't recommand using the api directly from the client app
    to avoid leaking too much information, like the izanami host, the path of the features, the apikeys, etc ...
    we recommand using a backend for frontend pattern
    Mathieu ANCELIN
    @mathieuancelin
    but of course you can do whatever you want :) nothing prevents you to use izanami directly from your angular app
    and you can use Otoroshi to handle same host issues, cors issues, read only apikeys, etc ...
    Søren Valentin Silkjær
    @SoerenSilkjaer
    Is there a way to not send Configuration SSE events to Izanami Feature Clients when using smartCacheWithSSE strategy? Our issue is that these Configuration events exceed some akka http sse event size limits, which throws errors in all our feature clients. Most of our apps are only using features, so it would be awesome to not receive other events.
    Søren Valentin Silkjær
    @SoerenSilkjaer
    We decided to use a different strategy, so we wont have to bother with the akka sse events limitations.
    Delegue Alexandre
    @larousso
    Hi, I could update the client to choose only one domain
    Søren Valentin Silkjær
    @SoerenSilkjaer
    What is domain in this situation?
    jonaskoelker
    @jonaskoelker
    Is the Izanami client v1.7+ available for scala 2.12 and lower? Is that on the drawing board? I could not find any downloadables, yet the build.sbt says to cross-compile.
    Sven
    @ThatScalaGuy
    Hi, someone was able in the past to setup oauth2 with google as an identity provider?
    Søren Valentin Silkjær
    @SoerenSilkjaer
    Is there a way to filter out bot traffic in izanami experiments?
    Amitg1
    @Amitg1
    Hello, what is the relationship between feature and experiment? and how can I retrieve allocation? ( assignment to group A/B)
    Søren Valentin Silkjær
    @SoerenSilkjaer
    Hi. @Amitg1. I dont think there is a relationship between the two, they are decoupled.
    Retrieving the experiment variant for a client is well documented in the Izanami documentation. https://maif.github.io/izanami/manual/experiments/index.html
    Amitg1
    @Amitg1
    What about non-overlapping tests? does the platform has this kind of feature?
    Søren Valentin Silkjær
    @SoerenSilkjaer
    You can configure an experiment to run within a date range. For example experiment "A" is active from today until tomorrow and experiment "B" is activated from tomorrow until the day after tomorrow.
    Amitg1
    @Amitg1
    yes, but question is if I can create both of these experiments and somehow allocation users only to one. like facebook's planout namespaces (https://facebook.github.io/planout/docs/namespaces.html)
    Søren Valentin Silkjær
    @SoerenSilkjaer
    Ahh. I think I understand. That is not supported in Izanami
    You would have to keep all the variations in one single experiment, but I don't think that is what you want
    Amitg1
    @Amitg1
    yes, it's not what I want. thank you for your answer
    Amitg1
    @Amitg1
    @SoerenSilkjaer is the project still in maintenance?
    Jonas Kölker
    @jonaskoelker-jypo
    In izanami-server/app/domains/feature/instances.scala in DateRangeFeatureInstances.isActive I see val now: LocalDateTime = LocalDateTime.now(ZoneId.of("Europe/Paris")). I'm not sure why the timezone is hard-coded. I would think it should be configurable. I'm sure I don't know all the context; am I missing something?