text:
Update QueueCheck.php

BUG: DispatchQueueCheckJobsCommand is dispatching a HealthQueueJob Job. But as per the code in the QueueCheck.php file, it's taking based on the driver from the config/queue.php there is no any key named driver.
I have changed it to queue.default so as per the configuration default driver will be used.

Could you rebase with main to make the tests pass?

Sorry @freekmurze I will update and make another PR.

authors: freekmurze hirenkeraliya

repo: spatie/laravel-health


text:
App not work in Ubuntu 20.04.

While I download ray app for Linux version using this link. https://spatie.be/products/ray/download/linux/latest it downloads a binary file which is not executed in ubuntu 20.04

You need to chown a+x the downloaded file (works for me in Ubuntu 20.10)

You need to chown a+x the downloaded file (works for me in Ubuntu 20.10)

Thanks for your response @pascalchevrel

Thanks for your response @pascalchevrel

source: gharchive/issue

repo: spatie/ray

license: MIT

license_type: permissive

license_source: github-api


text:
Alerting on infections

Paul, this looks like a great project, I really like the ida. I'll be setting this up myself and running a test data set through it. One thing I'd suggest for alert generation is checking for the presence of the honey binary in conjunction with api calls like urldownloadtofilea or urldownloadtocahcea. If you see those calls, and the downloaded content is not the honey binary, then you can 100% say that the endpoint has been successfully exploited and the secondary payload has been downloaded. Now, there may be other controls on that endpoint that may deal with the secondary, but you know for sure that the initial exploit and dropper were successful.

Thanks. It's still somewhat rudimentary but does get the alerts into Elasticsearch and does send a reasonable summary in the alert. The html email versions seem the most helpful to those here. Spending time time to create a geoip database file for your internal network is one major benefit.
If you test it, do it off the develop branch. I made few minor fixes recently that will get merged into master soon. They have been running successfully for several days now.
I need to set up a test environment and auto feed several different alerts at will. Right now, I am having to wait until FE gets an alert and ships it to the script....then fix any issues.
Great idea on the honey binary. I'll check it out and see how to incorporate.

Ping me on ed at dembowski.net. I can help you with getting data.

authors: nycedwardd spcampbell

repo: spcampbell/FireStic

license: mit

license_source: bigquery


text:
Provide a debug render mode, more intuitive box select, and optimizations in listing transformations

A boolean flag when initializing the SDFV can force SDFV to draw a coordinate-grid of configurable grid width over the SDFV canvas. Additionally, in that debug mode, mouse coordinates get printed to the bottom right of the canvas, and all elements draw their bounding boxes and center points.

Box select behaves more intuitively by only selecting elements INSIDE the selection box, instead of all elements intersecting the bounding box.

Transformations are not re-sorted every time the mouse moves. They are only re-sorted once the selection and/or viewport changes.

The sidebar/info-box mentions when multiple elements are selected. This is to avoid ambiguity when selecting multiple elements, as it is otherwise unclear which element's information is being displayed.

Thanks for the review!

source: gharchive/pull-request

repo: spcl/dace-webclient


text:
Converting from JSON to tag:value creates invalid SPDX

bug.spdx.json.txt
bug.spdx.txt
We have a valid SPDX JSON file bug.spdx.json.
With tools-java we convert it to tag:value giving bug.spdx.
bug.spdx is invalid accoding to tools-python:
pyspdxtools -i bug.spdx
ERROR:root:There have been issues while parsing the provided document:
Element Package is not the current element in scope, probably the expected tag to start the element (PackageName) is missing. Line: 32

tools-java release 1.1.8

Note that section 5.2.2 of the SPDX 2.3 spec states:
Annotations and relationships for the package may appear after the package information before any file information.

It doesn't use the word "shall", but this could be interpreted as a required ordering.
In either case, this is fixed with PR #59

authors: goneall vargenau

repo: spdx/spdx-java-tagvalue-store


text:
setting multi mdm_ip and command to restart service

comment on my commit message

I've checked and I'm good with these changes ff7ec2f and 2891333, in fact I should I've done that a long time ago :)
Not sure about commit 9ded872, this could be related to a bug with ansible itself in your lab or the o/s that is running in your lab, not this playbook. So if you could do a pull request without that commit I would merge the rest and accept your pull request.
Thank you very much for the contribution.

authors: sperreault wangzhizheng

repo: sperreault/ansible-scaleio


text:
When I try to install the latest 0.21 version of Hugo with Tarball hugo_0.21_macOS-64bit.tar.gz I am getting version 0.18.1

When I try to install the latest 0.21 version of Hugo with Tarball hugo_0.21_macOS-64bit.tar.gz I amgetting version 0.18.1. I have tried it several times. I have removed hugo and then re-installed. Every time I only get v 0.18.1. I think there is a bug in the Tarball. Thanks!

I just downloaded and confirmed that that archive is correct:
▶ ./hugo env
Hugo Static Site Generator v0.21 darwin/amd64 BuildDate: 2017-05-22T16:11:48+03:00
GOOS="darwin"
GOARCH="amd64"
GOVERSION="go1.8.1"

So you must have a conflicting hugo in Path. Try doing /full/path/hugo or ./hugo etc. to make sure you get the "new". Take further questions on the discussion forum.

Hi @bep, Yes, the download was fine after all. I found that I had another install somewhere else from a while ago done with Homebrew. I uninstalled that installation and re-installed with Homebrew again. Now I have the latest v0.21 of Hugo and my site is rendering beautifully thanks to the truncate feature I had implemented but found out through the forum that it didn't work with versions of Hugo < 0.19. My previous version had been v0.18.1. Thanks!

authors: bep interglobalmedia


text:
Feature to return a change log for updated products

Use Case:
When a product is updated it gets unpublished.
In the case when such products need to be published manually, there is no information in the MC which tells what changed in the product.
To provide this information, the Product Import needs to return a change log with all the update actions for every updated product.
Any other approaches are welcome.

@butenkor @PhilippSpo @emmenko comments / suggestions please

What are you going to do with change log of thousands of products? Does not seem friendly and in my opinion should be provided by Merchant Center UI.

As our dicussion, it would be good to have it in the MC, but currently it is out of scope and the requirement is urgent, till this is released in the MC.
So I will continue with the approach to generate a log file for the update actions for every product.
This log file will be parsed in the calling app into a user friendly and least technical form before it is sent to the customer.

@butenkor @PhilippSpo @emmenko please have a look
Format for the logged update actions:
{
    "product-updates": [
        "product-sku": {
            "internal-id": "product-intenal-id-optional",
            "updateActions": [
                    {
                        "actionName": "action-name",
                        "value": "update value"
                    },
                    {
                        "actionName": "action-name",
                        "value": "update value"
                    }
                ]
        },
        "product2-sku": {
            "internal-id": "product-intenal-id-optional",
            "updateActions": [
                    {
                        "actionName": "action-name",
                        "value": "update value"
                    },
                    {
                        "actionName": "action-name",
                        "value": "update value"
                    }
                ]
        }
    ]
}

@panshul007 where do product base updates go?

@PhilippSpo I simply want to return the complete list of update actions of all types and parse them at the caller side.

After discussions with the client for the concerned project, we will go the GUI way.

authors: PhilippSpo butenkor panshul007

repo: sphereio/sphere-product-import


text:
fix(core): Ensure required artifacts always included in output selection

Purpose
Fixes an issue where its possible for required compiler artifacts to not be output during remote executor compilation due to the outputSelection not including them.
We might want to consider if there are other implications wrt how we handle the build info files. Maybe we should consider adding the use of --force back into the deployment process?
At a higher level, this sort of bug just adds more to the argument that we should:

Ensure that the simulation process uses exactly the same logic as the production deployment process
Consider removing the need to recompile in the DevOps platform at all by including all necessary info in the compiler config

This seems like a short-term solution that'd work, but it doesn't seem to address the root cause. See this ticket for an explanation of what I think the root cause is.
Also, this PR seems to only be a temporary fix because it only resolves the issue in getConfigArtifactsRemote and not the user's local compilation process. When we remove the remote compilation process in favor of always using the user's local compilation process, the fix in this PR will be removed, which will probably re-introduce the bug.
I'm happy to merge this as a short-term solution, but I just wanted to flag this in case you think it'd be better to implement the solution proposed in that ticket instead

Totally agree, lets discuss this on our sync.

repo: sphinx-labs/sphinx


text:
fix broken link to analysis instructions

This PR fixes broken link to analysis instructions on the readthedocs website.

Travis failed from unknown reason for me.
It happened during spine-generic dependency installation (matplotlib):
https://travis-ci.com/github/spine-generic/data-multi-subject/builds/202370396#L203-L204
I have just tried to install spine-generic on my machine and it works without any problems:
virtualenv -p /usr/bin/python3 venv
source venv/bin/activate
pip install spine-generic@git+https://github.com/spine-generic/spine-generic.git@v2.3

connection issue: https://travis-ci.com/github/spine-generic/data-multi-subject/builds/202370396#L222
i've restarted the job, let's see...

Thank you 👍🏻 Travis has finished successfully this time. Can I merge this PR?

authors: jcohenadad valosekj

repo: spine-generic/data-multi-subject


text:
fix(deploy): Fix ordering and some refactoring

Key changes is that a read operation happens after a force refresh of the cache
Renames some methods to identify these are cached query calls
Forces several methods to "retry" since it's a cache read, vs a live call on the requests.  Should add some additional resilience on calls... MIGHT introduce some latency however as a result on some of the task stages where they'd continue to try until they hit the retry limit even if parent failed, increasing time to detect a failure.

Fixes: https://github.com/spinnaker-plugins/aws-lambda-deployment-plugin-spinnaker/issues/70

@nimakaviani thoughts?

Hey @jasonmcintosh !
When working with the new changes introduced, seems like attaching EventTrigger is erroring:
Spinnaker shows:
Exception ( Lambda Event Configuration Task ) No reason provided.
While the JSON block shows:
"java.lang.IllegalArgumentException: Expected URL scheme 'http' or 'https' but no colon was found at okhttp3.HttpUrl$Builder.parse$okhttp(HttpUrl.kt:1257)
at okhttp3.HttpUrl$Companion.get(HttpUrl.kt:1630)
at okhttp3.Request$Builder.url(Request.kt:184)
at com.amazon.aws.spinnaker.plugin.lambda.utils.LambdaCloudDriverUtils.postToCloudDriver(LambdaCloudDriverUtils.java:83)
at com.amazon.aws.spinnaker.plugin.lambda.utils.LambdaCloudDriverUtils.postToCloudDriver(LambdaCloudDriverUtils.java:77)
at com.amazon.aws.spinnaker.plugin.lambda.eventconfig.LambdaUpdateEventConfigurationTask.lambda$updateEventConfiguration$9(LambdaUpdateEventConfigurationTask.java:177)
at java.base/java.util.ArrayList$ArrayListSpliterator.forEachRemaining(ArrayList.java:1654)
at java.base/java.util.stream.ReferencePipeline$Head.forEach(ReferencePipeline.java:658)
at com.amazon.aws.spinnaker.plugin.lambda.eventconfig.LambdaUpdateEventConfigurationTask.updateEventConfiguration(LambdaUpdateEventConfigurationTask.java:174)
at com.amazon.aws.spinnaker.plugin.lambda.eventconfig.LambdaUpdateEventConfigurationTask.updateEventsForLambdaFunction(LambdaUpdateEventConfigurationTask.java:83)
at com.amazon.aws.spinnaker.plugin.lambda.eventconfig.LambdaUpdateEventConfigurationTask.execute(LambdaUpdateEventConfigurationTask.java:73)
at com.netflix.spinnaker.orca.q.handler.RunTaskHandler$handle$1$1$1.invoke(RunTaskHandler.kt:143)
at com.netflix.spinnaker.orca.q.handler.RunTaskHandler$handle$1$1$1.invoke(RunTaskHandler.kt:75)
at com.netflix.spinnaker.orca.q.handler.RunTaskHandler.withLoggingContext(RunTaskHandler.kt:416)
at com.netflix.spinnaker.orca.q.handler.RunTaskHandler.access$withLoggingContext(RunTaskHandler.kt:75)
at com.netflix.spinnaker.orca.q.handler.RunTaskHandler$handle$1$1.invoke(RunTaskHandler.kt:105)
at com.netflix.spinnaker.orca.q.handler.RunTaskHandler$handle$1$1.invoke(RunTaskHandler.kt:75)
at com.netflix.spinnaker.orca.q.handler.AuthenticationAware$sam$java_util_concurrent_Callable$0.call(AuthenticationAware.kt)
at com.netflix.spinnaker.security.AuthenticatedRequest.lambda$wrapCallableForPrincipal$0(AuthenticatedRequest.java:272)
at com.netflix.spinnaker.orca.q.handler.AuthenticationAware$DefaultImpls.withAuth(AuthenticationAware.kt:53)
at com.netflix.spinnaker.orca.q.handler.RunTaskHandler.withAuth(RunTaskHandler.kt:75)
at com.netflix.spinnaker.orca.q.handler.RunTaskHandler$handle$1.invoke(RunTaskHandler.kt:104)
at com.netflix.spinnaker.orca.q.handler.RunTaskHandler$handle$1.invoke(RunTaskHandler.kt:75)
at com.netflix.spinnaker.orca.q.handler.RunTaskHandler$withTask$1.invoke(RunTaskHandler.kt:244)
at com.netflix.spinnaker.orca.q.handler.RunTaskHandler$withTask$1.invoke(RunTaskHandler.kt:75)
at com.netflix.spinnaker.orca.q.handler.OrcaMessageHandler$withTask$1.invoke(OrcaMessageHandler.kt:68)
at com.netflix.spinnaker.orca.q.handler.OrcaMessageHandler$withTask$1.invoke(OrcaMessageHandler.kt:46)
at com.netflix.spinnaker.orca.q.handler.OrcaMessageHandler$withStage$1.invoke(OrcaMessageHandler.kt:85)
at com.netflix.spinnaker.orca.q.handler.OrcaMessageHandler$withStage$1.invoke(OrcaMessageHandler.kt:46)
at com.netflix.spinnaker.orca.q.handler.OrcaMessageHandler$DefaultImpls.withExecution(OrcaMessageHandler.kt:95)
at com.netflix.spinnaker.orca.q.handler.RunTaskHandler.withExecution(RunTaskHandler.kt:75)
at com.netflix.spinnaker.orca.q.handler.OrcaMessageHandler$DefaultImpls.withStage(OrcaMessageHandler.kt:74)
at com.netflix.spinnaker.orca.q.handler.RunTaskHandler.withStage(RunTaskHandler.kt:75)
at com.netflix.spinnaker.orca.q.handler.OrcaMessageHandler$DefaultImpls.withTask(OrcaMessageHandler.kt:60)
at com.netflix.spinnaker.orca.q.handler.RunTaskHandler.withTask(RunTaskHandler.kt:75)
at com.netflix.spinnaker.orca.q.handler.RunTaskHandler.withTask(RunTaskHandler.kt:233)
at com.netflix.spinnaker.orca.q.handler.RunTaskHandler.handle(RunTaskHandler.kt:101)
at com.netflix.spinnaker.orca.q.handler.RunTaskHandler.handle(RunTaskHandler.kt:75)
at com.netflix.spinnaker.q.MessageHandler$DefaultImpls.invoke(MessageHandler.kt:36)
at com.netflix.spinnaker.orca.q.handler.OrcaMessageHandler$DefaultImpls.invoke(OrcaMessageHandler.kt)
at com.netflix.spinnaker.orca.q.handler.RunTaskHandler.invoke(RunTaskHandler.kt:75)
at com.netflix.spinnaker.orca.q.audit.ExecutionTrackingMessageHandlerPostProcessor$ExecutionTrackingMessageHandlerProxy.invoke(ExecutionTrackingMessageHandlerPostProcessor.kt:72)
at com.netflix.spinnaker.q.QueueProcessor$callback$1$1.run(QueueProcessor.kt:90)
at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1128)
at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:628)
at java.base/java.lang.Thread.run(Thread.java:834)", .....

damn. this didnt squash commits. gotta fix it 😔

authors: eyalle jasonmcintosh nimakaviani


text:
Search for expenses

I personally need to look for old expenses often. One of the annoyingly premium features of Splitwise is searching for expenses - it would be nice to have some sort of search on the expenses list page.

Is that only in the current group or across multiple groups?

Assuming only for one group, that shouldn’t be too hard to implement, as all the expenses already are available client-side. (Might be a bit more complex when #30 is implemented).

Thanks @ankitbahl for implementing the feature ❤

authors: ankitbahl manuerwin scastiel

repo: spliit-app/spliit


text:
docs: add documentation descriptions to globalConfig's schema file

Issue number: ADDON-70521
Summary
Adding documentation descriptions to json schema file.
Changes
Added description for all of fields in json schema file.
User experience
Currently user should be much more comfortable t use just json schema, and do not need to open documentation in second tab to check everything.
Checklist
If your change doesn't seem to apply, please leave them unchecked.

[x] I have performed a self-review of this change
[x] Changes have been tested
[ ] Changes are documented
[x] PR title follows conventional commit semantics

Can we somehow increase visibility of the playground feature? The problem I see that we have to explain where to find it

And even if I open it, I don't see the killer feature right away

I have to notice that there is a tab JSON Schema where the whole editor is hidden.
Is there any way to add some documentation for stories?
Like here

regarding Viktor comment as discussed it will be made with separate ticket and PR

authors: soleksy-splunk vtsvetkov-splunk

repo: splunk/addonfactory-ucc-generator


text:
Update .gitignore

Edits for clarity and grammar.  Let me know if this is still accurate.

We require lock for CI non mac/linux developers will need to reset lock but not commit

authors: andrewy-splunk rfaircloth-splunk

repo: splunk/splunk-connect-for-snmp


text:
Update README.md: Fixed link to AUR package

Title
Fixed link to AUR package in README

Description

Fixed link in docs to AUR package. Feel free to close if not needed.
Related Issue

Motivation and Context

How Has This Been Tested?

Screenshots (if appropriate)
Types of Changes

[ ] Bug fix (non-breaking change which fixes an issue)
[ ] New feature (non-breaking change which adds functionality)
[ ] Breaking change (fix or feature that would cause existing functionality to change)

Checklist

[ ] My code follows the code style of this project
[ ] My change requires a change to the documentation
[ ] I have updated the documentation accordingly
[ ] I have read the CONTRIBUTING document
[ ] I have read the  CORE VALUES document
[ ] I have added tests to cover my changes
[ ] All new and existing tests passed

Tests failing are unrelated to this PR. Approved and merged.

@inform880 Do you know what happened with AUR and why the package changed name?
@AZMCode @pekkarr @aminvakil

I can't find the comment regarding details of why
https://aur.archlinux.org/packages/spotdl?O=20#comment-964844
But as spotify-downloader is not a python library package to be used by other packages:
https://wiki.archlinux.org/title/Python_package_guidelines#Package_naming

authors: Silverarmor aminvakil inform880

repo: spotDL/spotify-downloader


text:
Show a message if TechDocs page takes long time to load (first time visit)

Feature Suggestion

We now have TechDocs setup in out of the box Backstage! When we visit one of the component's docs for the first time, it could take up to 10 or more seconds to load the docs. This happens for the first time page visit only. Also the out-of-box setup is not optimised for speed yet.
10 seconds is a long time to wait and users might start wondering if the page is broken. So, it would nice to display a message saying that loading could take a while. And possibly also explain why it's taking this much time.
Possible Implementation

The progress bar comes from here.
If it's more than a few seconds (let's say 4) and the state is still loading, a message should appear below the progress bar with some text. It can say -
First time load is slow, but the page is still loading. Please wait...

Context

Can I take this issue ?

@harshilparmar Yess please do! I'll assign it to you. Thanks! 💯

@emmaindal  Thanks..Can you help me to setup.
I have done my installation as per https://github.com/spotify/backstage/blob/master/CONTRIBUTING.md,but still it gives me blank page on this http://localhost:3000/docs using guest login.
Steps I had followed

yarn install
yarn start
cd packages/backend
yarn lerna run mock-data

Please correct me If I have done something wrong.

Did you runyarn lerna run mock-data in the root of the project?

yarn install
cd packages/backend
yarn start
open new terminal tab
cd root of project
yarn lerna run mock-data
yarn start

Hmm just realized you could run it from /packages/backend as well so the step you took should be correct. Do you get any errors or so in your terminal window or can you see that mock-data has been generated? @harshilparmar

Can't sign-in via other method also.

@harshilparmar you shouldn't have to sign in more than a guest to access docs. Can you look in your terminal (where you started the backend), can you see any logs there from when you were running the "yarn lerna run mock-data" command?

@harshilparmar you shouldn't have to sign in more than a guest to access docs. Can you look in your terminal (where you started the backend), can you see any logs there from when you were running the "yarn lerna run mock-data" command?

@harshilparmar When you run yarn lerna run mock-data (from the root of the package - C:\hp\backstage) it sends lots of requests to the backend that you have running. That would mean that the mock data was added. So, you should see the logs of those requests on the terminal where you have the backend running (instead of where you run the mock data command).

@OrkoHunter

Related? https://github.com/spotify/backstage/issues/1557

Hey @harshilparmar, sorry that you have been blocked. You can now fetch the latest branch and start again. With https://github.com/spotify/backstage/pull/2439 merged, you will not need to run mock-data command. :)
Start by doing yarn start in the root of the repository and packages/backend separately, and you will see a docs component which you can use to work on this issue. Let us know if you need any help.

@OrkoHunter Thank you so much🙇

@OrkoHunter now facing different error

@harshilparmar Can you please create a bug ticket?
Mention that this is an issue with using TechDocs on Windows OS. Please write the steps to reproduce. Please attach the logs of the backend when this error occurs. We will take a look. 🙇

@OrkoHunter I've made a custom progress bar component for techdocs in PR #2598. Let me know if that works :sweat_smile:

authors: OrkoHunter emmaindal freben harshilparmar themousepotato

repo: spotify/backstage


text:
Fix docker-lab/helios#462 (Authentication against private registry.hub.docker.com repositories)

This change is

[Current coverage][cc-pull] is 51.82%

Merging [#473][cc-pull] into [master][cc-base-branch] will increase coverage by 0.39%

@@             master       #473   diff @@
==========================================
  Files            80         80
  Lines          2973       2981     +8
  Methods           0          0
  Messages          0          0
  Branches        417        418     +1
==========================================
+ Hits           1529       1545    +16
+ Misses         1308       1300     -8
  Partials        136        136

Powered by Codecov. Last updated by [cfeff16...65bf453][cc-compare]
[cc-base-branch]: https://codecov.io/gh/spotify/docker-client/branch/master?src=pr
[cc-compare]: https://codecov.io/gh/spotify/docker-client/compare/cfeff16cdfa3b51a0e356ba0f54b90ac8f1f4a97...65bf4531e0e159c711ccbac18b1f98bc8ebdc2f4?src=pr
[cc-pull]: https://codecov.io/gh/spotify/docker-client/pull/473?src=pr

@elifarley sorry for the delayed review, but can you provide some more context on what fix docker-lab/helios#462 means?

Sorry, I should have typed something else:
"Fix spotify/helios#462".
Fixed now.

👍

@elifarley thanks!

authors: codecov-io elifarley mattnworb

repo: spotify/docker-client


text:
Add test suite with coverage

Description
Would y'all be willing to potentially take a PR that adds a test suite with coverage for the docker-gc script? Something using bats maybe.

definitely!

authors: RochesterinNYC mattnworb

repo: spotify/docker-gc


text:
Invalid RSA private key when using Docker client with maven dockerfile:build with Docker Data Center 17.06

Hello,
I am experiencing an "Invalid RSA Private Key" exception, coming from Spotify's underlying Docker Client when running mvn dockerfile:build against a remote Docker Data Center Cluster 17.06.
I have therefore opened an issue within the Docker client repo here as I think this location is more appropriate.
I would welcome if any people looking at this issue-tracker could also give me some help.
Many thanks.

Looks like this is an issue in the docker client see:
https://github.com/spotify/docker-client/pull/1033

This issue is resolved by commit 424cba1 and can be closed.

authors: blueelephants chrsoo grumpymatt

repo: spotify/dockerfile-maven


text:
K filters behavior?

It doesn't seem like any of the K-filtering aggregations work. Regardless of the filter / k values that I use, the same sample gets returned every time. Am I using these wrong?
For example, in a set of values:
[
    [1, 10.0],
    [2, 20.0],
    [3, 30.0]
]

I would expect a query w/ "aggregation: {"type": "abovek", "k": 25} to only return [3, 30.0]. However, all points from the sample are being returned with or without the aggregation (same goes w/ bottomk, topk, and belowk).

Check at the bottom of http://spotify.github.io/heroic/#!/docs/aggregations
Filtering aggregations return an entire time series, if it matches the given criteria. That is, if it has any data point witch matches it.

@udoprog Would you consider adding another constructor property to the k filters such as "on", which takes either "series" or "point", thereby allowing to either filter out entire series matching the criteria or specific points within a series?

@juruen what do you say?

The use case I have right now is needing to sum only the positive deltas of a time series. So basically was hoping to use a chain, e.g. delta | abovek(0) | sum.

My only consideration to add this feature would be naming. Should we just have different aggregation group names that indicate that they filter time-series or points instead of using an argument?

@juruen Yeah, that might be better. E.g. {"type": "pointsabovek", "k": 100} vs. {"type": "seriesabovek", "k": 100}.
I tried to take a stab at this using an "on" param, but couldn't get Optionals to work with the JsonProperty. Then I made it a required argument, but couldn't get the tests to pass due to an invalid argument type in LombokDataTest. If this seems like something you could implement rather quickly, would you please consider doing so?

@juruen @udoprog we are going to hire a contractor to work on this. Do you guys have any preference on my question above? In effect, should it be its own separate aggregation or an optional argument on the existing K-filters?

We currently don't have a good infrastructure to do complex decoding of the arguments in a consistent way. So my preference would currently be to just call them pointsabove, and pointsbelow. The k suffix doesn't add much.

We've devised a solution for this. Pull request incoming...

authors: juruen mykolasmith udoprog

repo: spotify/heroic


text:
revert tornado upgrade

Description

Revert the change of tornado version requirement.
Motivation and Context

Since 5.0 tornado requires Python 2.7.9+ and 3.4+.
Have you tested this? If so, how?

Travis.

@dlstadther PTAL

Yeah I will.

repo: spotify/luigi


text:
Upgrade Android Gradle Plugin to 7.3.0

What has changed

Android Gradle plugin was updated to 7.3.0
Gradle was updated to 7.5.1
Other dependencies were updated

Why was it changed

In order to stay up-to-date and compatible with latest releases

Related issues

N/A

@ViktorPetrovski @botronic feel free to merge this once you adapted the required CI configs.

repo: spotify/ruler


text:
Braintree::NotFoundError issue with gateway (PayPal)

hello everyone im using Spree gem with a ecommerce site. the version are:
gem 'spree', '~> 3.2.0'
gem 'spree_auth_devise', '~> 3.2.0.beta'
gem 'spree_gateway', '~> 3.2.0.beta'
and i found a video tutorial in youtube to make payments with paypal using Spree: https://www.youtube.com/watch?v=PTlRoiTHMpg&t=5s
but in the tutorial he use this gem:
gem 'spree_paypal_express', github: 'spree-contrib/better_spree_paypal_express', branch: 'X-X-stable'
but im using spree version 3.2.0 so i cant use that gem. im using this other:
Spree >= 3.1
gem 'spree_braintree_vzero', github: 'spree-contrib/spree_braintree_vzero'
i followed the video tutorial and after add the paypal credentials i get this issue:
Braintree::NotFoundError in Spree::Orders#edit
Showing C:/RailsInstaller/Ruby2.2.0/lib/ruby/gems/2.2.0/gems/spree_frontend-3.2.1/app/views/spree/orders/edit.html.erb where line #38 raised:
Braintree::NotFoundError
Extracted source (around line #55):
53
54
55
56
57
58
    raise AuthorizationError, message
  when 404
    raise NotFoundError
  when 426
    raise UpgradeRequiredError, "Please upgrade your client library."
  when 429

Rails.root: C:/Users/osmarvirux/Documents/ruby_on_rails/spree_ecommerce
Application Trace | Framework Trace | Full Trace
braintree (2.74.0) lib/braintree/util.rb:55:in raise_exception_for_status_code' braintree (2.74.0) lib/braintree/http.rb:32:in post'
braintree (2.74.0) lib/braintree/client_token_gateway.rb:17:in generate' braintree (2.74.0) lib/braintree/client_token.rb:8:in generate'
C:/RailsInstaller/Ruby2.2.0/lib/ruby/gems/2.2.0/bundler/gems/spree_braintree_vzero-8811ea617fdc/app/models/spree/gateway/braintree_vzero_base.rb:37:in client_token' spree_frontend (3.2.1) app/views/spree/orders/edit.html.erb:38:in block in _92747094c8c827fcd207f4d4a41e9d24'
actionview (5.0.2) lib/action_view/helpers/capture_helper.rb:39:in block in capture' actionview (5.0.2) lib/action_view/helpers/capture_helper.rb:203:in with_output_buffer'
actionview (5.0.2) lib/action_view/helpers/capture_helper.rb:39:in capture' actionview (5.0.2) lib/action_view/helpers/form_helper.rb:450:in form_for'
spree_frontend (3.2.1) app/views/spree/orders/edit.html.erb:12:in _92747094c8c827fcd207f4d4a41e9d24' actionview (5.0.2) lib/action_view/template.rb:159:in block in render'
activesupport (5.0.2) lib/active_support/notifications.rb:166:in instrument' actionview (5.0.2) lib/action_view/template.rb:354:in instrument'
actionview (5.0.2) lib/action_view/template.rb:157:in render' deface (1.2.0) lib/deface/action_view_extensions.rb:41:in render'
actionview (5.0.2) lib/action_view/renderer/template_renderer.rb:54:in block (2 levels) in render_template' actionview (5.0.2) lib/action_view/renderer/abstract_renderer.rb:42:in block in instrument'
activesupport (5.0.2) lib/active_support/notifications.rb:164:in block in instrument' activesupport (5.0.2) lib/active_support/notifications/instrumenter.rb:21:in instrument'
activesupport (5.0.2) lib/active_support/notifications.rb:164:in instrument' actionview (5.0.2) lib/action_view/renderer/abstract_renderer.rb:41:in instrument'
actionview (5.0.2) lib/action_view/renderer/template_renderer.rb:53:in block in render_template' actionview (5.0.2) lib/action_view/renderer/template_renderer.rb:61:in render_with_layout'
actionview (5.0.2) lib/action_view/renderer/template_renderer.rb:52:in render_template' actionview (5.0.2) lib/action_view/renderer/template_renderer.rb:14:in render'
actionview (5.0.2) lib/action_view/renderer/renderer.rb:42:in render_template' actionview (5.0.2) lib/action_view/renderer/renderer.rb:23:in render'
actionview (5.0.2) lib/action_view/rendering.rb:104:in _render_template' actionpack (5.0.2) lib/action_controller/metal/streaming.rb:217:in _render_template'
actionview (5.0.2) lib/action_view/rendering.rb:83:in render_to_body' actionpack (5.0.2) lib/action_controller/metal/rendering.rb:52:in render_to_body'
actionpack (5.0.2) lib/action_controller/metal/renderers.rb:142:in render_to_body' actionpack (5.0.2) lib/abstract_controller/rendering.rb:26:in render'
actionpack (5.0.2) lib/action_controller/metal/rendering.rb:36:in render' actionpack (5.0.2) lib/action_controller/metal/instrumentation.rb:44:in block (2 levels) in render'
activesupport (5.0.2) lib/active_support/core_ext/benchmark.rb:12:in block in ms' C:/RailsInstaller/Ruby2.2.0/lib/ruby/2.2.0/benchmark.rb:303:in realtime'
activesupport (5.0.2) lib/active_support/core_ext/benchmark.rb:12:in ms' actionpack (5.0.2) lib/action_controller/metal/instrumentation.rb:44:in block in render'
actionpack (5.0.2) lib/action_controller/metal/instrumentation.rb:87:in cleanup_view_runtime' activerecord (5.0.2) lib/active_record/railties/controller_runtime.rb:25:in cleanup_view_runtime'
actionpack (5.0.2) lib/action_controller/metal/instrumentation.rb:43:in render' actionpack (5.0.2) lib/action_controller/metal/implicit_render.rb:36:in default_render'
actionpack (5.0.2) lib/action_controller/metal/basic_implicit_render.rb:4:in block in send_action' actionpack (5.0.2) lib/action_controller/metal/basic_implicit_render.rb:4:in tap'
actionpack (5.0.2) lib/action_controller/metal/basic_implicit_render.rb:4:in send_action' actionpack (5.0.2) lib/abstract_controller/base.rb:188:in process_action'
actionpack (5.0.2) lib/action_controller/metal/rendering.rb:30:in process_action' actionpack (5.0.2) lib/abstract_controller/callbacks.rb:20:in block in process_action'
activesupport (5.0.2) lib/active_support/callbacks.rb:126:in call' activesupport (5.0.2) lib/active_support/callbacks.rb:126:in call'
activesupport (5.0.2) lib/active_support/callbacks.rb:506:in block (2 levels) in compile' activesupport (5.0.2) lib/active_support/callbacks.rb:455:in call'
activesupport (5.0.2) lib/active_support/callbacks.rb:455:in call' activesupport (5.0.2) lib/active_support/callbacks.rb:101:in run_callbacks'
activesupport (5.0.2) lib/active_support/callbacks.rb:750:in _run_process_action_callbacks' activesupport (5.0.2) lib/active_support/callbacks.rb:90:in run_callbacks'
actionpack (5.0.2) lib/abstract_controller/callbacks.rb:19:in process_action' actionpack (5.0.2) lib/action_controller/metal/rescue.rb:20:in process_action'
actionpack (5.0.2) lib/action_controller/metal/instrumentation.rb:32:in block in process_action' activesupport (5.0.2) lib/active_support/notifications.rb:164:in block in instrument'
activesupport (5.0.2) lib/active_support/notifications/instrumenter.rb:21:in instrument' activesupport (5.0.2) lib/active_support/notifications.rb:164:in instrument'
actionpack (5.0.2) lib/action_controller/metal/instrumentation.rb:30:in process_action' actionpack (5.0.2) lib/action_controller/metal/params_wrapper.rb:248:in process_action'
activerecord (5.0.2) lib/active_record/railties/controller_runtime.rb:18:in process_action' actionpack (5.0.2) lib/abstract_controller/base.rb:126:in process'
actionview (5.0.2) lib/action_view/rendering.rb:30:in process' actionpack (5.0.2) lib/action_controller/metal.rb:190:in dispatch'
actionpack (5.0.2) lib/action_controller/metal.rb:262:in dispatch' actionpack (5.0.2) lib/action_dispatch/routing/route_set.rb:50:in dispatch'
actionpack (5.0.2) lib/action_dispatch/routing/route_set.rb:32:in serve' actionpack (5.0.2) lib/action_dispatch/journey/router.rb:39:in block in serve'
actionpack (5.0.2) lib/action_dispatch/journey/router.rb:26:in each' actionpack (5.0.2) lib/action_dispatch/journey/router.rb:26:in serve'
actionpack (5.0.2) lib/action_dispatch/routing/route_set.rb:725:in call' railties (5.0.2) lib/rails/engine.rb:522:in call'
railties (5.0.2) lib/rails/railtie.rb:193:in public_send' railties (5.0.2) lib/rails/railtie.rb:193:in method_missing'
actionpack (5.0.2) lib/action_dispatch/routing/mapper.rb:17:in block in <class:Constraints>' actionpack (5.0.2) lib/action_dispatch/routing/mapper.rb:46:in call'
actionpack (5.0.2) lib/action_dispatch/routing/mapper.rb:46:in serve' actionpack (5.0.2) lib/action_dispatch/journey/router.rb:39:in block in serve'
actionpack (5.0.2) lib/action_dispatch/journey/router.rb:26:in each' actionpack (5.0.2) lib/action_dispatch/journey/router.rb:26:in serve'
actionpack (5.0.2) lib/action_dispatch/routing/route_set.rb:725:in call' versioncake (3.1.0) lib/versioncake/rack/middleware.rb:17:in call'
warden (1.2.7) lib/warden/manager.rb:36:in block in call' warden (1.2.7) lib/warden/manager.rb:35:in catch'
warden (1.2.7) lib/warden/manager.rb:35:in call' rack (2.0.1) lib/rack/etag.rb:25:in call'
rack (2.0.1) lib/rack/conditional_get.rb:25:in call' rack (2.0.1) lib/rack/head.rb:12:in call'
rack (2.0.1) lib/rack/session/abstract/id.rb:222:in context' rack (2.0.1) lib/rack/session/abstract/id.rb:216:in call'
actionpack (5.0.2) lib/action_dispatch/middleware/cookies.rb:613:in call' activerecord (5.0.2) lib/active_record/migration.rb:553:in call'
actionpack (5.0.2) lib/action_dispatch/middleware/callbacks.rb:38:in block in call' activesupport (5.0.2) lib/active_support/callbacks.rb:97:in run_callbacks'
activesupport (5.0.2) lib/active_support/callbacks.rb:750:in _run_call_callbacks' activesupport (5.0.2) lib/active_support/callbacks.rb:90:in run_callbacks'
actionpack (5.0.2) lib/action_dispatch/middleware/callbacks.rb:36:in call' actionpack (5.0.2) lib/action_dispatch/middleware/executor.rb:12:in call'
actionpack (5.0.2) lib/action_dispatch/middleware/remote_ip.rb:79:in call' actionpack (5.0.2) lib/action_dispatch/middleware/debug_exceptions.rb:49:in call'
web-console (3.5.0) lib/web_console/middleware.rb:135:in call_app' web-console (3.5.0) lib/web_console/middleware.rb:28:in block in call'
web-console (3.5.0) lib/web_console/middleware.rb:18:in catch' web-console (3.5.0) lib/web_console/middleware.rb:18:in call'
actionpack (5.0.2) lib/action_dispatch/middleware/show_exceptions.rb:31:in call' railties (5.0.2) lib/rails/rack/logger.rb:36:in call_app'
railties (5.0.2) lib/rails/rack/logger.rb:24:in block in call' activesupport (5.0.2) lib/active_support/tagged_logging.rb:69:in block in tagged'
activesupport (5.0.2) lib/active_support/tagged_logging.rb:26:in tagged' activesupport (5.0.2) lib/active_support/tagged_logging.rb:69:in tagged'
railties (5.0.2) lib/rails/rack/logger.rb:24:in call' sprockets-rails (3.2.0) lib/sprockets/rails/quiet_assets.rb:13:in call'
actionpack (5.0.2) lib/action_dispatch/middleware/request_id.rb:24:in call' rack (2.0.1) lib/rack/method_override.rb:22:in call'
rack (2.0.1) lib/rack/runtime.rb:22:in call' activesupport (5.0.2) lib/active_support/cache/strategy/local_cache_middleware.rb:28:in call'
actionpack (5.0.2) lib/action_dispatch/middleware/executor.rb:12:in call' actionpack (5.0.2) lib/action_dispatch/middleware/static.rb:136:in call'
rack (2.0.1) lib/rack/sendfile.rb:111:in call' railties (5.0.2) lib/rails/engine.rb:522:in call'
puma (3.8.2) lib/puma/configuration.rb:224:in call' puma (3.8.2) lib/puma/server.rb:600:in handle_request'
puma (3.8.2) lib/puma/server.rb:435:in process_client' puma (3.8.2) lib/puma/server.rb:299:in block in run'
puma (3.8.2) lib/puma/thread_pool.rb:120:in call' puma (3.8.2) lib/puma/thread_pool.rb:120:in block in spawn_thread'

Hi @Ingosmar89219, are you using the BraintreeVzeroPaypalExpress gateway instead of the one from youtube? (please remove PP one and create Braintree PP instead of editing it).
If yes, are you using Braintree account credentials (not direct PayPal)?
https://sandbox.braintreegateway.com/
Also, please check the demo application (master branch has a similar spree, ruby and rails versions to your setup) as a guide.
https://github.com/spark-solutions/spree_braintree_vzero_examplep
If it doesn't help feel free  to ask :)

@Mafi88 beatifull! my friend. i was using the sandbox(Paypal) credentials how the video tutorial but i have to use sandbox.braintreegateway credentials :DD thanks a lot my friend. other think... how can i make payments with cards?

but when i clicked the button. "paypal checkout" i get this in the new frame:
Sorry we cannot connect to PayPal. Please try again in a few minutes.

Well, this is a known issue with Braintree sandbox, there are two possible reasons.:

You have provided an incorrect address.
You don't have PayPal as a valid payment method in Braintree account (Settings -> Processing - should be visible in Payment Methods section). This can happen if you have an account from outside the US. In this case, just sign up for US sandbox account (or write to Braintree support).
http://stackoverflow.com/a/31982400/3712646

my friend thanks a lot!! i didn't have PayPal as a valid payment method in my Braintree Account :D.
all works fine  when im online (log in)!!!!
BUT  but if im disconnected (log out) i get an issue with the routes. more information here: http://stackoverflow.com/questions/43726074/issue-after-log-in-in-sandbox-paypal-spree-gem-braitree-payments-sandbox
please help me my friend thanks a lot!!!!!!

The issue is something that will need to be fixed, but removing the button is quite easy ;)
Just go to editing PayPal (where the credentials were), scroll down to advanced settings, click it to open the panel and set PAYPAL DISPLAY ON CART: to DISABLED.

thanks a lot my friend. you are the best!! can you give your gmail? or something where i can keep in touch with you? im building an ecommersite and i think and a future i'll need help and i can pay you some dollars. they are things very easy for you but very difficult for me hehe xD. im using ruby on rails 5 :D

I'm glad I could help. I think the issue is ready to be closed.
My email is present on my GitHub profile :)


text:
VEN-259 UX: when saving/creating/removing product properties it should redirect back to product properties, not product edit

https://getvendo.atlassian.net/browse/VEN-259

@damianlegawiec Previously we have made both product property fields required. Now consider this:

Go to product properties
Update existing property field
click Update - you are prompted to enter new property name (because the field is required)

What we can do is not make the fields required, but on update, make validation show an error that the attribute can not be blank. Should we do this?


text:
Where can I find user/pass to use in "cf create-service-broker"

Can you please tell me where I can find the user/password to register this MongoDB broker to a CF environment
Thanks
Beth Tran

Please close this issue.  The spring framework points me to Spring Boot security for the setup.
Thanks


text:
Scheduler Not Execute

I set up a scheduled task, but it didn't execute.

How to use it?

the time in the cron expression is also related to the the timezone the nodes are configured for. check that the time your configuring in your cron expression matches the timezone the node(s) (minikube, GKE, etc).

closing due to inactivity

k8s use UTC timezone，Pod use CTS timezone，the cron expression should be consistent with the time zone in the container.

please see the following for information on cronjobs and timezone support in k8s:

https://github.com/kubernetes/features/issues/19#issuecomment-359478294
https://github.com/kubernetes/kubernetes/issues/47202#issuecomment-360820586

authors: chrisjs xyjwsj


text:
Fix nullable flag in ShortcutConfigurable.ShortcutType#GATHER_LIST_TAIL_FLAG

Hey,
We are building SCG with custom predicates and filters on top of database configuration with nullable predicate and filter parameter values in case to avoid ordering issues with optional parameters.
But we are getting NPE on ShortcutConfigurable.ShortcutType#GATHER_LIST_TAIL_FLAG when trying to construct from our configuration. Exception is coming from equalsIgnoreCase on lastValue comparsion, because parameter value is null.
GATHER_LIST_TAIL_FLAG {
	@Override
	public Map<String, Object> normalize(Map<String, String> args, ShortcutConfigurable shortcutConf,
			SpelExpressionParser parser, BeanFactory beanFactory) {
		Map<String, Object> map = new HashMap<>();
		// field order should be of size 1
		List<String> fieldOrder = shortcutConf.shortcutFieldOrder();
		Assert.isTrue(fieldOrder != null && fieldOrder.size() == 2,
				"Shortcut Configuration Type GATHER_LIST_HEAD must have shortcutFieldOrder of size 2");
		List<String> values = new ArrayList<>(args.values());
		if (!values.isEmpty()) {
			// strip boolean flag if last entry is true or false
			int lastIdx = values.size() - 1;
			String lastValue = values.get(lastIdx);
			if (lastValue.equalsIgnoreCase("true") || lastValue.equalsIgnoreCase("false")) {

A simple solution would be just flip equals to support null values coming from configuration?

Followed by a PR #3049

closing in favor of #3049

authors: muchnik spencergibb

repo: spring-cloud/spring-cloud-gateway


text:
Polyglot support

I Wonder how do gateway support polyglot apps?
I use Sidecar before. But I Want to change Zuul 1.x to Spring Cloud Gateway.
So I Wonder whether do we have some components like Sidecar .

@spencergibb @ryanjbaxter

Sorry, I didn't recognize that.
I wish you have a goog holiday.


text:
Datastore discrimination ref docs and sample

fixes #1475
refdoc and sample update for discrimination

Codecov Report

Merging #1496 into master will decrease coverage by 0.37%.
The diff coverage is 0%.

@@             Coverage Diff              @@
##             master    #1496      +/-   ##
============================================
- Coverage     69.99%   69.61%   -0.38%
+ Complexity     1616     1611       -5
============================================
  Files           221      222       +1
  Lines          6155     6158       +3
  Branches        639      639
============================================
- Hits           4308     4287      -21
- Misses         1572     1599      +27
+ Partials        275      272       -3

Flag
Coverage Δ
Complexity Δ

#integration
?
?

#unittests
69.61% <0%> (-0.38%)
1611 <0> (-5)

Impacted Files
Coverage Δ
Complexity Δ

...tastore-sample/src/main/java/com/example/Band.java
0% <ø> (ø)
0 <0> (ø)
:arrow_down:

...ample/src/main/java/com/example/BluegrassBand.java
0% <0%> (ø)
0 <0> (?)

...n/java/com/example/DatastoreRepositoryExample.java
0% <0%> (ø)
0 <0> (ø)
:arrow_down:

...gure/trace/sleuth/StackdriverHttpClientParser.java
4.76% <0%> (-80.96%)
1% <0%> (-3%)

...gure/trace/sleuth/StackdriverHttpServerParser.java
37.5% <0%> (-50%)
1% <0%> (-2%)

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update dad692b...7307283. Read the comment docs.

@ChengyuanZhao @dmitry-s Can we please change @DiscriminationField and @DiscriminationValue to @DiscriminatorField and @DiscriminatorValue more in line with how these annotations are called in JPA?

authors: ChengyuanZhao codecov-io meltsufin

repo: spring-cloud/spring-cloud-gcp


text:
Clarify Secret Manager sample property class

Add a comment to clarify the @Autowiring of the MyAppProperties in the Secret Manager sample.
Fixes #2299.

Fractal clarification requested :)

authors: dzou elefeint


text:
Feign @RequestParam value is null product exception

feign client
@RequestMapping(value="/demo/test", method = RequestMethod.POST)
public String levelPay(@RequestParam("siteId") String siteId, @RequestParam("bankType") Integer bankType);

if siteId is null ,product
"status":400,"error":"Bad Request","message":"Required Integer parameter 'siteId' is not present"

Try
@RequestMapping(value="/demo/test", method = RequestMethod.POST)
public String levelPay(@RequestParam(name="siteId", required=false) String siteId, @RequestParam("bankType") Integer bankType);

it's ok,but why not user null

What do you mean user null?

ok,my don't think well

authors: YangAnLin ryanjbaxter

repo: spring-cloud/spring-cloud-netflix