Use a symbol for aliases that Yaml understands to be part of a string.

Right now we have to quote all our strings with aliases in them, because @ is some special character for Yaml.
If there is no such character, then document this issue.

Not really... See here
https://symfony.com/doc/current/components/yaml/yaml_format.html
We could also support alias.strip_test or something where the work alias
itself is special and will attempt resolution if possible
On Mon, May 28, 2018, 9:15 AM Tom Swirly<EMAIL_ADDRESS>wrote:

Right now we have to quote all our strings with aliases in them, because @
is some special character for Yaml.
If there is no such character, then document this issue.
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/ManiacalLabs/BiblioPixel/issues/836, or mute the
thread
https://github.com/notifications/unsubscribe-auth/AA6a6lxQDxq02XHOatOmV1uG02Nqftscks5t2_hygaJpZM4UQLhD
.

Strings containing any of the following characters must be quoted.

There are characters not in that list!
I just wrote a test to see how it actually works - https://github.com/rec/test/blob/master/test_yml.py  It's consistent with your document, and seems to show that we can choose between the following characters to introduce aliases:
$()+-./:;<=?\^_~

We can eliminate some of these right off the bat, because the alias occurs in an Address, where the characters ()/.=+-_\\ can potentially occur, which leaves us with
$:;<?^~

I'm going to eliminate :;< as "too confusing" so that leaves us with
$?^~

We used to have $ as the alias character, but it was annoying when using command line arguments, because $ expands inside " quotes.  However, it's quite likely no one is using those arguments.
^ has some attractiveness because you don't even have to quote it if you use it in a command line.
Honestly, I think $ is the only solution.  Everyone understands it means "expand this symbol".

100% agree. $ should be it.
On Mon, May 28, 2018 at 9:42 AM Tom Swirly<EMAIL_ADDRESS>wrote:

Strings containing any of the following characters must be quoted.
There are characters not in that list!
I just wrote a test to see how it actually works -
https://github.com/rec/test/blob/master/test_yml.py It's consistent with
your document, and seems to show that we can choose between the following
characters to introduce aliases:
$()+-./:;<=?^_~
We can eliminate some of these right off the bat, because the alias occurs
in an Address, where the characters ()/.=+-_\ can potentially occur,
which leaves us with
$:;<?^~
I'm going to eliminate :;< as "too confusing" so that leaves us with
$?^~
We used to have $ as the alias character, but it was annoying when using
command line arguments, because $ expands inside " quotes. However, it's
quite likely no one is using those arguments.
^ has some attractiveness because you don't even have to quote it if you
use it in a command line.
Honestly, I think $ is the only solution. Everyone understands it means
"expand this symbol".
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
https://github.com/ManiacalLabs/BiblioPixel/issues/836#issuecomment-392530329,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AA6a6u19nA-Px2kQaHTyWz7VC8hViv-eks5t2_7ggaJpZM4UQLhD
.


Summary output of operations does not show libraries that are up-to-date

Summary of operations on the output window does not include status for uptodate libraries. It would be a clear message if we could state the status of libraries that are uptodate. E.g.: If there are 4 libraries being restored, and 3 of them are uptodate. The output message would look like:
1 libraries restored in 6,61 seconds
Expected:
3 libraries are up to date
1 libraries restored in 6,61 seconds

PR #305 should fix that.

We don't seem to say which ones were up to date, but we do print each library that was restored.  I think that's good enough on this scenario, the user is informed of each library that was installed (even if no changes were made).


Images not generated and duplicate locales

I generate R.generated.swift like this (using version 4.0.0)
lane :r_gen do
  root_directory = "#{File.expand_path(File.dirname(__FILE__))}/../"
  sdk_path = sh("xcodebuild -version -sdk iphoneos Path")
  sh("#{root_directory}rswift generate --accessLevel public #{root_directory} -t app_name --bundleIdentifier com.app_name.ios --productModuleName app_name --xcodeproj ../app_name.xcodeproj --buildProductsDir #{root_directory} --developerDir #{root_directory} --sourceRoot #{root_directory} --sdkRoot #{sdk_path}")
end

It used to work for version 3.0 just fine but with version 4.0 and maybe adding a new language (de); I'm having this warning for all my images :
warning: [R.swift] Skipping 2 images because symbol 'map_pin' would be generated for all of these images: map_pin, map_pin

And no image entry is generated (existing ones deleted).
As for strings I'm seeing this :
warning: [R.swift] Skipping string for key duration (Localizable), format specifiers don't match for all locales: en, fr, de, en, fr, de

Notice the duplicate locales.
Am I missing something ?

Unfortunately, R.swift currently doesn't support localised resources (other than strings). That's why your localised map_pin isn't generated.
As for the second warning; It seems you're duration string doesn't use the same format specifiers in the different localisations. Therefor, R.swift can't generate a function, because it doesn't know what parameters to use.

@tomasharkema actually map_pin is NOT a localised image, as for the duration string I fixed it using the same format. thanks for your time.


npm audit reports tfx-cli has numerous vulnerable dependencies

For my projects that depend on tfx-cli, npm audit will fail due to vulnerable dependencies in tfx-cli. There doesnt appear to be anyway from my projects to resolve these. If I try to run npm audit fix --force, npm will revert back to 0.1.11 which also has vulnerabilities. Would it be possible to update the project to not have these vulnerable dependencies so those of us that depend on this dont have these cascade to our projects?
jszip  <3.7.0
Severity: moderate
Prototype Pollution - https://github.com/advisories/GHSA-jg8v-48h5-wgxg
fix available via `npm audit fix --force`
Will install<EMAIL_ADDRESS>which is a breaking change
node_modules/jszip
  tfx-cli  >=0.3.0
  Depends on vulnerable versions of azure-devops-node-api
  Depends on vulnerable versions of jszip
  node_modules/tfx-cli

underscore  1.3.2 - 1.12.0
Severity: high
Arbitrary Code Execution in underscore - https://github.com/advisories/GHSA-cf4h-3jhx-xvhq
fix available via `npm audit fix --force`
Will install<EMAIL_ADDRESS>which is a breaking change
node_modules/tfx-cli/node_modules/underscore
  azure-devops-node-api  <=10.2.1
  Depends on vulnerable versions of typed-rest-client
  Depends on vulnerable versions of underscore
  node_modules/tfx-cli/node_modules/azure-devops-node-api
    tfx-cli  >=0.3.0
    Depends on vulnerable versions of azure-devops-node-api
    Depends on vulnerable versions of jszip
    node_modules/tfx-cli
  typed-rest-client  <=1.8.3
  Depends on vulnerable versions of underscore
  node_modules/tfx-cli/node_modules/typed-rest-client

Please update all vulnerable dependencies and stop using outdated packages.
Enterprises with psycho security teams will not allow us build Azure DevOps extensions until these vulnerabilities are cleared.

Any ETA on when this will fixed? We need it to have a clean dependency audit log when building Azure DevOps extensions.

As far as I know all vulnerable dependencies updated in this PR - https://github.com/microsoft/tfs-cli/pull/410
Let me close this issue then


Section link bug in Chrome

Section links only direct you to the right section from the top of the page. From anywhere else on the page, all links just drag you incrementally further down the page. First found it in Chrome, but it happens in Firefox and IE too. Links work in Safari.

Addressed in #f2547f04

I undid some commits that happened after db7bdd676ed681807b39ee7ca0e769f788973a30,  this issue is resolved, but we lost the scroll-to effect.


[SPARK-46016][DOCS][PS] Fix pandas API support list properly

What changes were proposed in this pull request?
This PR proposes to fix a critical issue in the Supported pandas API documentation where many essential APIs such as DataFrame.max, DataFrame.min, DataFrame.mean, and DataFrame.median, etc. were incorrectly marked as not implemented - marked as "N" - as below:

The root cause of this issue was that the script used to generate the support list excluded functions inherited from parent classes. For instance, CategoricalIndex.max is actually supported by inheriting the Index class but was not directly implemented in CategoricalIndex, leading to it being marked as unsupported:

Why are the changes needed?
The current documentation inaccurately represents the state of supported pandas API, which could significantly hinder user experience and adoption. By correcting these inaccuracies, we ensure that the documentation reflects the true capabilities of Pandas API on Spark, providing users with reliable and accurate information.
Does this PR introduce any user-facing change?
No. This PR only updates the documentation to accurately reflect the current state of supported pandas API.
How was this patch tested?
Manually build documentation, and check if the supported pandas API list is correctly generated as below:

Was this patch authored or co-authored using generative AI tooling?
No.

Merged to master, brnach-3.5 and brnach-3.4.

BTW, how many APIs are affected by this fix, @itholic ?

@dongjoon-hyun Just confirmed that a total of 47 APIs that were marked as "N" have been fixed.


feat: check for valid rule names in the config file. Closes #12

:warning: Please install the  to ensure uploads and comments are reliably processed by Codecov.
Codecov Report
Attention: Patch coverage is 95.65217% with 1 line in your changes missing coverage. Please review.

Project coverage is 96.77%. Comparing base (2face78) to head (2051281).
Report is 2 commits behind head on main.

Files with missing lines
Patch %
Lines

src/utils/rules-helpers.ts
66.66%
1 Missing :warning:

:exclamation: Your organization needs to install the Codecov GitHub app to enable full functionality.
Additional details and impacted files
@@            Coverage Diff             @@
##             main      #29      +/-   ##
==========================================
- Coverage   96.85%   96.77%   -0.09%
==========================================
  Files          28       28
  Lines         382      403      +21
  Branches       70       74       +4
==========================================
+ Hits          370      390      +20
- Misses         11       12       +1
  Partials        1        1

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.


Get Image from GPUImageMovie.

Dear Brad Larson.
I have developed the iOS app that play the movie using GPUImageView.
But when start the app, it display the "static image" of movie. When play, this video will be play.
So I have tried to get the image from GPUImageMovie(I have used the GPUImageFilter, too).
But I haven't found any solution.
Please let me know.
Best Regards.

Same problem


Single char edit

Hello tchap, congratulations for your excellent job. As a suggestion I wonder if there is a single character edit function, with a large screen and large pixels... Do you think it would be usefull ?

Hi
There is no such feature at the moment, but if you think this would be useful, I'm accepting a PR for that ;)
I have not much time at the moment to dive into this personally. You could just make a few CSS changes to make the "pixels" bigger on the page though, this should work.
Best regards

Good ideia. I will try. Thanks a lot !

Good ideia. I will try. Thanks a lot !

tchapi, your idea was ALMOST successfull...  Changing CSS table tr height: to e.g 30px; and table width: to e.g 30px; we increased the pixel size accordinly. But it insist on have two table colluns (not one as desired) and I could not find a way to enable the browser horizontal scroll bar .... Could you please give me some help on that issues ? Thanks a lot

I'm not really sure I understand your point. The CSS works as expected for the table "pixels"; if you want to have less characters per line, though, you can change the column split (we use semantic-ui) by changing that lines https://github.com/tchapi/Adafruit-GFX-Font-Customiser/blob/master/index.html#L301
Instead of two, change it to four or six, to have less characters per line
Is that what you wanted to achieve ?

Great ! Thanks so much. The page is working now as I desired.

👍


Intercept response and modify its' body?

Is it possible to intercept response and modify its' body? It looks like onProxyRes allows only to change headers and write body is not working.

@chimurai thanks

proxy: {       "/your/url": {         onProxyReq: (req) => {...},         onProxyRes: (res) => {...},         bypass: (req, res) => {           if (req.url === "/your/url/new") {             res.send({               data: {                 modified: "data"               },             });           }         },       },     },


Feat/cosys incidents

name: Pull request
about: Contribute your changes to the project
title: '[pull-request]'
labels: ''
assignees: ''
Description
Create incident on error in cosys integration
Reference
Issues #40
Checklist

[x] Acceptance criteria are met
[ ] Pipeline has been run successfully
[ ] JUnit tests have been run successfully
[ ] Changelog is adjusted
[ ] Documentations are completed
[ ] Frontend is tested
[ ] Created sub-branches are deleted
[ ] Boards are updated ( Digitalisierung , Support , Zenhub )
[ ] feature process is created or extended
[ ] git-ops is customized
[ ] Openshift environments are prepared (Secrets, etc.)

@dominikhorn93 Can you do the review?

@dominikhorn93 Im done with the changes regarding ENABLEEXCEPTIONSAFTERUNHANDLEDBPMNERROR. You can continue reviewing.


undefined symbol: H5Pset_fapl_ros3

I installed scvi using conda environment (python=3.8) and found this error when loading:
Global seed set to 0
---------------------------------------------------------------------------
ImportError                               Traceback (most recent call last)
Input In [2], in <cell line: 2>()
      1 import matplotlib
----> 2 import scvi
      3 import scanpy as sc
      5 sc.set_figure_params(figsize=(4, 4))

File /opt/conda/envs/py3.8-scvi-env/lib/python3.8/site-packages/scvi/__init__.py:10, in <module>
      7 from ._settings import settings
      9 # this import needs to come after prior imports to prevent circular import
---> 10 from . import data, model, external, utils
     12 # https://github.com/python-poetry/poetry/pull/2366#issuecomment-652418094
     13 # https://github.com/python-poetry/poetry/issues/144#issuecomment-623927302
     14 try:

File /opt/conda/envs/py3.8-scvi-env/lib/python3.8/site-packages/scvi/data/__init__.py:1, in <module>
----> 1 from anndata import read_csv, read_h5ad, read_loom, read_text
      3 from ._datasets import (
      4     annotation_simulation,
      5     brainlarge_dataset,
   (...)
     22     synthetic_iid,
     23 )
     24 from ._manager import AnnDataManager

File /opt/conda/envs/py3.8-scvi-env/lib/python3.8/site-packages/anndata/__init__.py:7, in <module>
      5 if not within_flit():
      6     del within_flit
----> 7     from ._core.anndata import AnnData
      8     from ._core.merge import concat
      9     from ._core.raw import Raw

File /opt/conda/envs/py3.8-scvi-env/lib/python3.8/site-packages/anndata/_core/anndata.py:17, in <module>
     14 from typing import Iterable, Sequence, Mapping, MutableMapping  # Generic ABCs
     15 from typing import Tuple, List  # Generic
---> 17 import h5py
     18 from natsort import natsorted
     19 import numpy as np

File /opt/conda/envs/py3.8-scvi-env/lib/python3.8/site-packages/h5py/__init__.py:33, in <module>
     30     else:
     31         raise
---> 33 from . import version
     35 if version.hdf5_version_tuple != version.hdf5_built_version_tuple:
     36     _warn(("h5py is running against HDF5 {0} when it was built against {1}, "
     37            "this may cause problems").format(
     38             '{0}.{1}.{2}'.format(*version.hdf5_version_tuple),
     39             '{0}.{1}.{2}'.format(*version.hdf5_built_version_tuple)
     40     ))

File /opt/conda/envs/py3.8-scvi-env/lib/python3.8/site-packages/h5py/version.py:15, in <module>
     10 """
     11     Versioning module for h5py.
     12 """
     14 from collections import namedtuple
---> 15 from . import h5 as _h5
     16 import sys
     17 import numpy

File h5py/h5.pyx:1, in init h5py.h5()

ImportError: /opt/conda/envs/py3.8-scvi-env/lib/python3.8/site-packages/h5py/defs.cpython-38-x86_64-linux-gnu.so: undefined symbol: H5Pset_fapl_ros3

Any ideas?

Looks to be a problem with h5py when anndata gets imported internally in scvi-tools, transferring this issue to anndata


ciphers supported by openwsman server

openwsman server support by default all the ciphers which are supported by openssl
if "ssl_cipher_list" is not set in the configuration file.

Not clear what you're trying to achieve here. Your patch seem to get the cipher list, creates a string representation, and then sets the cipher list.
What is the effect of openwsman without your patch ?
What is the effect of openwsman with your patch ?

-ENORESPONSE


2021 week 31: rebase off upstream

Before the rebase, I got a failure caused by #387
thread 'rustc' panicked at 'assertion failed: rlinkage.is_none()', compiler/rustc_codegen_llvm/src/gotoc/operand.rs:337:21
note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace

error: internal compiler error: unexpected panic

note: the compiler unexpectedly panicked. this is a bug.

note: we would appreciate a bug report: https://github.com/rust-lang/rust/issues/new?labels=C-bug%2C+I-ICE%2C+T-compiler&template=ice.md

note: rustc 1.56.0-dev running on x86_64-unknown-linux-gnu

note: compiler flags: -Z force-unstable-if-unmarked -Z trim-diagnostic-paths=no -Z codegen-backend=gotoc -C embed-bitcode=no -C debuginfo=2 --crate-type rlib

note: some of the compiler flags provided by cargo are hidden

query stack during panic:
end of query stack

[RMC] current codegen item: codegen_function: sys::unix::thread_local_dtor::register_dtor

RMC unexpectedly panicked during code generation.

If you are seeing this message, please file an issue here instead of on the Rust compiler: https://github.com/model-checking/rmc/issues/new?labels=bug&template=bug_report.md
error: could not compile `std`

This reinforces my belief about the stdlib regression not working well in CI (see #375)

We can avoid the failure by disabling the assertion, so we can proceed with the rebase.

No conflicts during rebase.

The regression runs fine.
Had one problem with the Firecracker regression (was working well on CI) but upgrading Rust solved it.

main-154-2021-08-06 is now the default branch.


Update python.vim

Stop overriding users' vimrc settings.

please discuss this with the maintainer of the file. Note, there exists several methods, for overriding filetype specific settings.

:help after

@chrisbra:
" Maintainer:	Johannes Zellner<EMAIL_ADDRESS>" Last Change By Johannes: Wed, 21 Apr 2004 13:13:08 CEST
It seems to me the "maintainer" has abandoned this file, since there hasn't been any activity by them in over a decade. Who then should I contact?
@vvizzo: I'm not sure how that helps. The topic found is "after-directory" which seems to be talking about that being, essentially, the last elements in vim's equivalent of $PATH... Creating a file there with set commands to overrule python.vim doesn't seem to work.

Hmm... I think workflow change is needed after all...
At least need to think ftplugins/indent plugins/etc. of abandoned maintainers. #594

@zonidjan The fact that the file hasn't been touched in a long time doesn't mean it's abandoned. It could simply mean there was nothing to change. The Python indentation or PEP-8 recommendations didn't change since then.
@tyru There's no indication that maintainer had been contacted at all in the comments above. Just the date on the file, which doesn't mean much more than the file being stable/mature.
The change proposed in this patch would affect most of the users negatively. That's probably the reason @chrisbra rejected it.
The patch creator wanted the settings from .vimrc to "win" over the plugin rules. What if the user does not set any preferences in .vimrc? The plugin must set the default sw, sts, ... in case user sets nothing. The users who activated the plugin in their .vimrc will get the standard settings automatically.
OTOH, it's very easy to override the plugin settings. You could add customizations in ~/.vim/ftplugin/python.vim, but for this it's not needed. According to the Vim docs, it can be done in .vimrc:
" File type dependent options
if has("autocmd")
    " Enable file type detection, plugins, and indentation rules.
    filetype plugin indent on
    " ... other file types here ...
    " C++, Java, Python: non-standard 2-space indent
    autocmd FileType cpp,java,python setl sw=2 sts=2 et
    " ... other content here ...
endif

I should be able to just stick "set sts=2" in my vimrc, and have it work. Not hunt through docs for hours trying to find how to set my own settings (the very name implies the program should only give defaults!). Not modify vim-provided files.
Oh, and it has nothing to do with "activating a plugin". All it takes is "syntax on" (if that). And that's commonly done by distros' default vimrc, too. (If not from source).
Regardless, the easiest solution should not be for me to add an auto-patch to my package manager to remove things from a /usr/share/* files.
The issue here is not that python.vim modifies vim's own internal defaults to a new default.
The issue is that it overrides what I have in my own vimrc (system or user).

Trying to be constructive here, please refrain from starting to flame
here. thanks.
As I said before, this needs to be discussed with the ftplugin file
maintainer.
I could imagine, that he would accept a solution, if you don't
unconditionally
delete those settings, but instead add a condition, that would not set
these
options if a certain variable has been set.
so instead of
,----
| " As suggested by PEP8.
| setlocal expandtab shiftwidth=4 softtabstop=4 tabstop=8
`----
use something like:
,----
| if !get(g:, 'python_set_pep8_options', 1)
| 	" As suggested by PEP8.
| 	setlocal expandtab shiftwidth=4 softtabstop=4 tabstop=8
`----
So you would then set this variable in your .vimrc
let g:python_set_pep8_options=0
and be done with it.
However this should be documented below
:h ft-python-plugin
But as I said, this needs to be discussed with the ftplugin maintainer.
He will
then send an updated filetype plugin for inclusion with Vim to Bram.
Regardless, you might want to read, when a ftplugin becomes active. It's
not activated
on :syntax on. And No, you don't need (and shouldn't never need) to
change
files below /usr/share/
Best,
Christian
Am 2016-07-27 07:07, schrieb John:

I should be able to just stick "set sts=2" in my vimrc, and have it
work. Not hunt through docs for hours trying to find how to set my own
settings (the very name implies the program should only give
defaults!). Not modify vim-provided files.
Oh, and it has nothing to do with "activating a plugin". All it takes
is "syntax on" (if that). And that's commonly done by distros' default
vimrc, too. (If not from source).
Regardless, the easiest solution should not be for me to add an
auto-patch to my package manager to remove things from a /usr/share/*
files.
The issue here is not that python.vim modifies vim's own internal
defaults to a new default.
The issue is that it overrides what I have in my own vimrc (system or
user).

Emailed maintainer as of July 27, no response back.


fix(tls): Pass certificate and private key files to listener method

Summary

Fixes #530
Checklist

[X] Tested and/or added tests to validate that the changes work as intended, if applicable.
[X] Updated documentation in README.md, if applicable.

Codecov Report
Patch coverage: 20.00% and project coverage change: -0.12 :warning:

Comparison is base (2f6b8f2) 81.69% compared to head (a2daac5) 81.58%.

:exclamation: Your organization is not using the GitHub App Integration. As a result you may experience degraded service beginning May 15th. Please install the Github App Integration for your organization. Read more.
Additional details and impacted files
@@            Coverage Diff             @@
##           master     #531      +/-   ##
==========================================
- Coverage   81.69%   81.58%   -0.12%
==========================================
  Files          56       56
  Lines        4349     4350       +1
==========================================
- Hits         3553     3549       -4
- Misses        615      619       +4
- Partials      181      182       +1

Impacted Files
Coverage Δ

controller/controller.go
55.55% <0.00%> (-17.18%)
:arrow_down:

config/web/web.go
93.10% <60.00%> (+11.28%)
:arrow_up:

... and 1 file with indirect coverage changes

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Do you have feedback about the report comment? Let us know in this issue.


Swift 3 compatibility

Hello,
I'm writing to know whether this framework will be available for Swift 3 or if you know a method to make it compatible.
Thanks in advance.
Santiago.

@carliskisantiago
I working on creating a Swift 3 version.
but... Code varies greatly.
https://github.com/xxxAIRINxxx/ARNTransitionAnimator/tree/2.0.0
or, please make such a fork.
https://github.com/xxxAIRINxxx/ARNTransitionAnimator/pull/7


Add more JetStream options

Signed-off-by: Tomasz Pietrek<EMAIL_ADDRESS>Description
This PR adds missing fields in JetStream Consumer configuration.
Issue reference
close #2179
Checklist
Please make sure you've completed the relevant tasks for this PR, out of the following list:

[x] Code compiles correctly
[x] Created/updated tests
[ ] Extended the documentation / Created issue in the https://github.com/dapr/docs/ repo: dapr/docs#[issue number]

Will update the docs when this passes the review.

Thanks for the contribution Tomasz. Please open a docs PR when the 1.10 branch has been created (should be very soon). Without the docs PR of course nobody will be able to discover these new options.
https://github.com/dapr/docs/issues/2884

Docs updated!
https://github.com/dapr/docs/pull/2893


Use the Posts found in './bin' instead of the root directory

change the path where the Posts are searched for, from the root directory of the project to where the assembly of the project is.
original: src/Content/**
new: src/bin/**/netX.0/Content/**
benefits: allow the user to update the Posts pragmatically before parsing them without tampering with the original files.
this also means that the .csproj file must contain the following lines:
<ItemGroup>
  <None Update="Content/**/*">
    <CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
  </None>
</ItemGroup>

Hm. Interesting.
If you would ask me before I would tell you that it is already happening (that's why the copy content is already there). But the Directory.GetFiles is really getting files from the root directory.
There is just one issue with modifying the blog files -> When you publish your app, the "bin" folder becomes the "project" root folder and the files in Content is just one. So when you change it, it will stay changed.
What is exactly the use case when you need to modify the files? Because maybe there is a better way.
Thanks for you PRs, appreciate that.

I honestly didn't think much about it, I saw that the example website already has those lines added but noticed the code doesn't make use of them.
A use case I can think of is to have the posts' read time calculated dynamically instead of having it hardcoded in the posts' front matter, or being able to upload the images in a post to a CDN while leaving the root files use the local copies for offline editing.

That sounds like a job for  opt.AfterBlogParsedAndAddedAction. For example here I am doing exactly that - changing path for the images.
The posts live in memory for a brief period of time and you can can change them however you like..

the issue with opt.AfterBlogParsedAndAddedAction is that, as the name implies, comes after the blogs were parsed which makes it hard, for example, to count the words in a blog and calculate the reading time since you'll have to parse the html and extract it's content which is extra work


Error while running on Policy

This is the I am geting while using .pt file for policy using fpt
.\fpt.exe -a run azure_subscription_access.pt param_azure_sub=$subscriptionId param_azure_tenant_id=$tenantId param_email=$emailAddress param_exclusion_tag_key="" param_azure_roles="Owner" --credentials= -k

removed Acct number and cred
[signal 0xc0000005 code=0x0 addr=0x10 pc=0xa43a08]

goroutine 1 [running]:
main.parseOptions(0xc00022a600, 0xc000094900, 0x5, 0x8, 0x1, 0x1, 0xbf51a6, 0x7, 0x0)
        C:/Users/travis/gopath/src/github.com/rightscale/policy_sdk/cmd/fpt/run.go:231 +0x848
main.policyTemplateRun(0xd07700, 0xc00001e018, 0xd150c0, 0xc00016c320, 0xc00001a400, 0x1c, 0xc000094900, 0x5, 0x8, 0xc000107530, ...)
        C:/Users/travis/gopath/src/github.com/rightscale/policy_sdk/cmd/fpt/run.go:56 +0x307
main.main()
        C:/Users/travis/gopath/src/github.com/rightscale/policy_sdk/cmd/fpt/main.go:142 +0xc62
Applying Policy with Subscription c478ebaa-4315-4eaf-95c8-273387418fd6 and Tenant: 4e9dbbfb-394a-4583-8810-53f81f819e3b Email<EMAIL_ADDRESS>Running azure_subscription_access.pt
Updated PolicyTemplate "Azure Subscription Access" (/api/governance/projects/121515/policy_templates/5e67feec6d456d00013d6609) from azure_subscription_access.pt
panic: runtime error: invalid memory address or nil pointer dereference
[signal 0xc0000005 code=0x0 addr=0x10 pc=0xa43a08]

@StrAzure123  thanks for reporting this.  We are reviewing the details and a possible solution.

Think is fixed now in 1.0.9 release. Issue was that a parameter was passed that didn't exist. It now correctly prints out the right error without the panic, thank for the bug report.


Media Extended breaks other plugins

If I have inline scripts or Java scrip and media extended is active I start getting
failed to load
failed to execute "setAttribute: on Element: (Math.trunc(Math.random() is not a valid attribute name.

Found it's another pluggin breaking Media extended.


null_resource.copy-worker Still creating... with Fedora CoreOS

Fedora CoreOS 33 has stronger crypto defaults (faq) while the Go language (and therefore Terraform plugins) hasn't yet added support for RSA SHA-2 (see https://github.com/golang/go/issues/37278).
Short/medium term, follow the Fedora CoreOS guidance. You can either use a non-RSA key (except Azure) or apply the workaround recommended by Fedora CoreOS as a snippet.
variant: fcos
version: 1.1.0
storage:
  files:
    - path: /etc/ssh/sshd_config.d/10-insecure-rsa-keysig.conf
      mode: 0600
      contents:
        inline: |
          PubkeyAcceptedKeyTypes=+ssh-rsa

This issue is not tracking any planned action on Typhoon's part. But rather anticipating users not seeing the CHANGELOG.
Symptom
You'll notice that provisioning clusters with Fedora CoreOS 33 hangs when trying to us an RSA key, because of the now stronger policies in Fedora.
module.foo.null_resource.copy-worker-secrets[0]: Still creating....
....

Bear in mind, if you are a new user, there are plenty of other reasons your SSH connections to bootstrap machines might not be working (e.g. ssh-agent, see docs).
Related: https://github.com/coreos/fedora-coreos-tracker/issues/699

Terraform is still tracking this https://github.com/hashicorp/terraform/issues/30134

Before opening a new issue, I am wondering if this is why the SSH connection does not even try using a key?
module.cluster.module.typhoon.null_resource.copy-controller-secrets[0]: Still creating... [9m30s elapsed]
2022-04-16T22:06:27.840Z [DEBUG] Connecting to some-node.some-domain.tld:22 for SSH
2022-04-16T22:06:27.862Z [DEBUG] Connection established. Handshaking for user core
2022-04-16T22:06:27.989Z [WARN]  SSH authentication failed (core@some-node.some-domain.tld:22): ssh: handshake failed: ssh: unable to authenticate, attempted methods [none], no supported methods remain
2022-04-16T22:06:27.989Z [WARN]  retryable error: SSH authentication failed (core@some-node.some-domain.tld:22): ssh: handshake failed: ssh: unable to authenticate, attempted methods [none], no supported methods remain

To be sure, I've configured my local client to be able to automatically just log in, but that seem to be ignored in this case.

Before opening a new issue, I am wondering if this is why the SSH connection does not even try using a key?

Terraform cannot (specifically https://github.com/golang/go/issues/49952) produce a valid fingerprint for RSA SHA-2 keys to be seen as valid to the SSH server, so it will not be a valid method to use.  I generated and use ed25519 keys in the meantime.

Go addressed this issue in the crypto library and Terraform v1.2+ releases have the fix. RSA SHA2 keys can be used with Fedora CoreOS again, which should address the need for a workaround (esp on Azure where ed25519 isn't allowed). https://github.com/hashicorp/terraform/issues/30134


refactor!: unify call handlers to CallHandler

One CallHandler to rule them all.
What was done:

I used the type-state pattern on the CallHandler where the states(calls) are ContractCall, ScriptCall and Vec<ContractCall for the multi-call case.

SubmitResponse got much simpler as we only have one CallHandler now.

Refactored the fuels-programs crate and added folders to split the code up.

As allays naming ideas are welcome. For example, CallHandler's call should be renamed to something else as it could be one call or multiple calls. call_or_calls sounded weird. Also the Parsable trait could be renamed.
BREAKING CHANGE:

FuelCallResponse renamed to CallResponse
ContractCallHandler removed in favor of CallHandler
ScriptCallHandler removed in favor of CallHandler
method_hash removed in favor of CallHandler::new_contract_call

Checklist

[x] I have updated the documentation.
[x] I have added tests that prove my fix is effective or that my feature works.
[x] I have added necessary labels.
[x] I have done my best to ensure that my PR adheres to the Fuel Labs Code Review Standards.
[x] I have requested a review from the relevant team or maintainers.

Works finw for me..


Feature/alias-style

Potential Resolution to #40
Closes #40
Introduces the concept of alias-style
To assist in readability, and scalability, a style with it's own criteria can specify an alias,
This overrides its own styles, and uses the specified one.
id: tcwv
alias-style: precipitable-water

criteria:
- {shortName: tcwv}
- {long_name: Total Column Water Vapour}
- {long_name: Total column vertically-integrated water vapour}

This allows for the criteria for tcwv to exist seperately, but use the precipitable water style instead.

Ready for concept review, but will need tests to ensure accurate behaviour.


Cleanup option maps

Description
After migrating to postgres, the OptionsMap is now defined with each schema.
Previously, OptionsMaps were defined within each respective service within Central.
This PR handles:

removing unused occurrences of OptionMaps
fix diverge states of OptionMaps used to use the schema defined ones (in some cases, the prefix has changed within the postgres schema).

Checklist

[ ] Investigated and inspected CI test results
[ ] Unit test and regression tests added
[ ] Evaluated and added CHANGELOG entry if required
[ ] Determined and documented upgrade steps
[ ] Documented user facing changes (create PR based on openshift/openshift-docs and merge into rhacs-docs)

If any of these don't apply, please comment below.
Testing Performed

see CI passing.

Current dependencies on/for this PR:

master

PR #7064   👈

This comment was auto-generated by Graphite.

Looks like this change broke make go-generated-srcs as we still have gen.go files such as central/imageintegration/index/gen.go that use the bleve generator binding that seem to require those options.


[Release] Verify 3.0.0 release candidate

@github-actions crossbow submit -p release=3.0.0 -p rc=1 -g verify-rc

@github-actions crossbow submit -p release=3.0.0 -p rc=1 -g verify-rc

@kou I think the xenial package must be fixed by removing libprotobuf from the xenial control file, so exclude it from ARROW_SYSTEM_DEPENDENCIES cmake variable.

@kou I think the xenial package must be fixed by removing libprotobuf from the xenial control file, so exclude it from ARROW_SYSTEM_DEPENDENCIES cmake variable.

Oh, sorry.
https://github.com/apache/arrow/pull/9251 fixes it but it's not a blocker of this RC.
Because users have a workaround: apt install -y libprotobuf-dev

Oh, sorry.
https://github.com/apache/arrow/pull/9251 fixes it but it's not a blocker of this RC.
Because users have a workaround: apt install -y libprotobuf-dev

I'm going to cut RC2 with #9244 included.

I'm going to cut RC2 with #9244 included.

@github-actions crossbow submit -p release=3.0.0 -p rc=2 verify-rc-source-*

@github-actions crossbow submit -p release=3.0.0 -p rc=2 verify-rc-source-*

@github-actions crossbow submit -p release=3.0.0 -p rc=2 verify-rc-source-*

@github-actions crossbow submit -p release=3.0.0 -p rc=2 verify-rc-source-*

@github-actions crossbow submit -p release=3.0.0 -p rc=2 verify-rc-binaries-*

@github-actions crossbow submit -p release=3.0.0 -p rc=2 verify-rc-binaries-*

@github-actions crossbow submit -p release=3.0.0 -p rc=2 verify-rc-wheels-*

@github-actions crossbow submit -p release=3.0.0 -p rc=2 verify-rc-wheels-*

It seems that https://apache.bintray.com/arrow/debian-rc/pool/buster/main/a/apache-arrow/libparquet-glib300-dbgsym_3.0.0-1_arm64.deb is broken.
It's uploaded to bintray.com (I can see it in Web UI) but it's not published.
Could you delete the debian-rc version and re-upload Debian related files?

It seems that https://apache.bintray.com/arrow/debian-rc/pool/buster/main/a/apache-arrow/libparquet-glib300-dbgsym_3.0.0-1_arm64.deb is broken.
It's uploaded to bintray.com (I can see it in Web UI) but it's not published.
Could you delete the debian-rc version and re-upload Debian related files?

Yes, I'm working on it.

Yes, I'm working on it.

I'm re-uploading ubuntu-rc as well.

I'm re-uploading ubuntu-rc as well.

Should be good now.

Should be good now.

This is not a blocker but arm64 APT packages miss gir1.2-gandiva-1.0 and gir1.2-arrow-dataset-1.0 packages: #9260 (Sorry)
It can be fixed by downloading them to local packages/build-25/XXX/ (build-25 is right?) manually:
#!/bin/sh

set -eux

for target in debian-buster ubuntu-xenial ubuntu-bionic ubuntu-focal ubuntu-groovy; do
  curl -o packages/build-25/${target}-arm64/gir1.2-arrow-dataset-1.0_3.0.0-1_arm64.deb \
       https://github.com/ursacomputing/crossbow/releases/download/build-25-travis-${target}-arm64/gir1.2-arrow-dataset-1.0_3.0.0-1_arm64.deb
  curl -o packages/build-25/${target}-arm64/gir1.2-gandiva-1.0_3.0.0-1_arm64.deb \
       https://github.com/ursacomputing/crossbow/releases/download/build-25-travis-${target}-arm64/gir1.2-gandiva-1.0_3.0.0-1_arm64.deb
done

and re-uploading Debian and Ubuntu files.
But it's not required because this is not a blocker. (I think that nobody uses them.)

This is not a blocker but arm64 APT packages miss gir1.2-gandiva-1.0 and gir1.2-arrow-dataset-1.0 packages: #9260 (Sorry)
It can be fixed by downloading them to local packages/build-25/XXX/ (build-25 is right?) manually:
#!/bin/sh

set -eux

for target in debian-buster ubuntu-xenial ubuntu-bionic ubuntu-focal ubuntu-groovy; do
  curl -o packages/build-25/${target}-arm64/gir1.2-arrow-dataset-1.0_3.0.0-1_arm64.deb \
       https://github.com/ursacomputing/crossbow/releases/download/build-25-travis-${target}-arm64/gir1.2-arrow-dataset-1.0_3.0.0-1_arm64.deb
  curl -o packages/build-25/${target}-arm64/gir1.2-gandiva-1.0_3.0.0-1_arm64.deb \
       https://github.com/ursacomputing/crossbow/releases/download/build-25-travis-${target}-arm64/gir1.2-gandiva-1.0_3.0.0-1_arm64.deb
done

and re-uploading Debian and Ubuntu files.
But it's not required because this is not a blocker. (I think that nobody uses them.)

I uploaded them, so theoretically they should be available.

I uploaded them, so theoretically they should be available.

Thanks! But it doesn't work because of my failure... Sorry...
I forget to add the -L (redirect) curl option in the above script...
Anyway, we should mark this is a known problem of 3.0.0.

Thanks! But it doesn't work because of my failure... Sorry...
I forget to add the -L (redirect) curl option in the above script...
Anyway, we should mark this is a known problem of 3.0.0.

#9273 is not a blocker but we can't use dev/release/post-06-csharp.sh. We need to upload NuGet packages manually. (I'll do.)

#9273 is not a blocker but we can't use dev/release/post-06-csharp.sh. We need to upload NuGet packages manually. (I'll do.)

Thanks! But it doesn't work because of my failure... Sorry...
I forget to add the -L (redirect) curl option in the above script...
Anyway, we should mark this is a known problem of 3.0.0.

Updated.

Thanks! But it doesn't work because of my failure... Sorry...
I forget to add the -L (redirect) curl option in the above script...
Anyway, we should mark this is a known problem of 3.0.0.

Updated.

Confirmed. Thanks!

Confirmed. Thanks!

@kszucs @kou I assume this is stale?

Yes. Thanks for notify this.
We can close this because we've released 3.0.0.


[AV-78493] overwrite API response times with plan values

Jira

AV-78493

Description
When creating an audit log export request, if zulu format is used for the start/end times this results in a state mismatch because API server returns time with offsets.
Type of Change

[X] Bug fix (non-breaking change which fixes an issue). Please, add the "bug" label to the PR.
[ ] New feature (non-breaking change which adds functionality). Please, add the "enhancement" label to the PR.
[ ] Breaking change (fix or feature that would cause existing functionality to not work as expected). Please, add the "breaking change" label to the PR.
[ ] This change requires a documentation update
[ ] Documentation fix/enhancement

Manual Testing Approach
How was this change tested and do you have evidence? (REQUIRED: Select at least 1)

[X] Manually tested
[ ] Unit tested
[ ] Acceptance tested
[ ] Unable to test / will not test (Please provide comments in section below)

Testing
validate zulu format
audit_log_export = {
    start = "2024-06-10T19:09:11Z"
    end = "2024-06-10T21:09:11Z"
}

terraform apply
╷
│ Warning: Provider development overrides are in effect
│
│ The following provider development overrides are set in the CLI configuration:
│  - couchbasecloud/couchbase-capella in /Users/$USER/GolandProjects/terraform-provider-couchbase-capella/bin
│
│ The behavior may therefore not match any released version of the provider and applying changes may cause the state to become incompatible with published releases.
╵
data.couchbase-capella_audit_log_export.existing_auditlogexport: Reading...
data.couchbase-capella_audit_log_export.existing_auditlogexport: Read complete after 0s

Terraform used the selected providers to generate the following execution plan. Resource actions are indicated with the following symbols:
  + create

Terraform will perform the following actions:

  # couchbase-capella_audit_log_export.new_auditlogexport will be created
  + resource "couchbase-capella_audit_log_export" "new_auditlogexport" {
      + audit_log_download_url = (known after apply)
      + cluster_id             = "ffffffff-aaaa-1414-eeee-000000000000"
      + created_at             = (known after apply)
      + end                    = "2024-06-10T21:09:11Z"
      + expiration             = (known after apply)
      + id                     = (known after apply)
      + organization_id        = "ffffffff-aaaa-1414-eeee-000000000000"
      + project_id             = "ffffffff-aaaa-1414-eeee-000000000000"
      + start                  = "2024-06-10T19:09:11Z"
      + status                 = (known after apply)
    }

Plan: 1 to add, 0 to change, 0 to destroy.

Changes to Outputs:
  + existing_auditlogexport = {
      + cluster_id      = "ffffffff-aaaa-1414-eeee-000000000000"
      + data            = [
          + {
              + audit_log_download_url = "https://cb-audit-logs-1234.s3.amazonaws.com/export/cluster-audit-logs-5678-from-2000-01-01-to-2000-01-02.tar.gz?X-Amz-Algorithm=X&X-Amz-Credential=XXX&X-Amz-Date=1999&X-Amz-Expires=1&X-Amz-Security-Token=XXX&X-Amz-SignedHeaders=host&X-Amz-Signature=XXX"
              + cluster_id             = "ffffffff-aaaa-1414-eeee-000000000000"
              + created_at             = "2024-06-10 21:16:50.415705947 +0000 UTC"
              + end                    = "2024-06-10 21:09:11 +0000 UTC"
              + expiration             = "2024-06-13 21:16:54.37230845 +0000 UTC"
              + id                     = "ffffffff-aaaa-1414-eeee-000000000000"
              + organization_id        = "ffffffff-aaaa-1414-eeee-000000000000"
              + project_id             = "ffffffff-aaaa-1414-eeee-000000000000"
              + start                  = "2024-06-10 20:09:11 +0000 UTC"
              + status                 = "Completed"
            },
          + {
              + audit_log_download_url = "https://cb-audit-logs-1234.s3.amazonaws.com/export/cluster-audit-logs-5678-from-2000-01-01-to-2000-01-02.tar.gz?X-Amz-Algorithm=X&X-Amz-Credential=XXX&X-Amz-Date=1999&X-Amz-Expires=1&X-Amz-Security-Token=XXX&X-Amz-SignedHeaders=host&X-Amz-Signature=XXX"
              + cluster_id             = "ffffffff-aaaa-1414-eeee-000000000000"
              + created_at             = "2024-06-10 22:51:31.526799392 +0000 UTC"
              + end                    = "2024-06-10 21:09:11 +0000 UTC"
              + expiration             = "2024-06-13 22:51:35.664051802 +0000 UTC"
              + id                     = "ffffffff-aaaa-1414-eeee-000000000000"
              + organization_id        = "ffffffff-aaaa-1414-eeee-000000000000"
              + project_id             = "ffffffff-aaaa-1414-eeee-000000000000"
              + start                  = "2024-06-10 19:09:11 +0000 UTC"
              + status                 = "Completed"
            },
          + {
              + audit_log_download_url = null
              + cluster_id             = "ffffffff-aaaa-1414-eeee-000000000000"
              + created_at             = "2024-06-10 21:03:15.896348051 +0000 UTC"
              + end                    = "2024-05-28 21:52:38 +0000 UTC"
              + expiration             = null
              + id                     = "ffffffff-aaaa-1414-eeee-000000000000"
              + organization_id        = "ffffffff-aaaa-1414-eeee-000000000000"
              + project_id             = "ffffffff-aaaa-1414-eeee-000000000000"
              + start                  = "2024-05-28 18:52:38 +0000 UTC"
              + status                 = "no audit log files exist within the requested time frame"
            },
          + {
              + audit_log_download_url = null
              + cluster_id             = "ffffffff-aaaa-1414-eeee-000000000000"
              + created_at             = "2024-06-10 21:03:50.081716726 +0000 UTC"
              + end                    = "2024-05-28 21:52:38 +0000 UTC"
              + expiration             = null
              + id                     = "ffffffff-aaaa-1414-eeee-000000000000"
              + organization_id        = "ffffffff-aaaa-1414-eeee-000000000000"
              + project_id             = "ffffffff-aaaa-1414-eeee-000000000000"
              + start                  = "2024-05-28 18:52:38 +0000 UTC"
              + status                 = "no audit log files exist within the requested time frame"
            },
          + {
              + audit_log_download_url = null
              + cluster_id             = "ffffffff-aaaa-1414-eeee-000000000000"
              + created_at             = "2024-06-10 21:12:19.656434023 +0000 UTC"
              + end                    = "2024-06-10 21:09:11 +0000 UTC"
              + expiration             = null
              + id                     = "ffffffff-aaaa-1414-eeee-000000000000"
              + organization_id        = "ffffffff-aaaa-1414-eeee-000000000000"
              + project_id             = "ffffffff-aaaa-1414-eeee-000000000000"
              + start                  = "2024-06-10 20:09:11 +0000 UTC"
              + status                 = "no audit log files exist within the requested time frame"
            },
          + {
              + audit_log_download_url = null
              + cluster_id             = "ffffffff-aaaa-1414-eeee-000000000000"
              + created_at             = "2024-06-10 21:14:28.070136553 +0000 UTC"
              + end                    = "2024-06-10 21:09:11 +0000 UTC"
              + expiration             = null
              + id                     = "ffffffff-aaaa-1414-eeee-000000000000"
              + organization_id        = "ffffffff-aaaa-1414-eeee-000000000000"
              + project_id             = "ffffffff-aaaa-1414-eeee-000000000000"
              + start                  = "2024-06-10 20:09:11 +0000 UTC"
              + status                 = "no audit log files exist within the requested time frame"
            },
        ]
      + organization_id = "ffffffff-aaaa-1414-eeee-000000000000"
      + project_id      = "ffffffff-aaaa-1414-eeee-000000000000"
    }
  + new_auditlogexport      = {
      + audit_log_download_url = (known after apply)
      + cluster_id             = "ffffffff-aaaa-1414-eeee-000000000000"
      + created_at             = (known after apply)
      + end                    = "2024-06-10T21:09:11Z"
      + expiration             = (known after apply)
      + id                     = (known after apply)
      + organization_id        = "ffffffff-aaaa-1414-eeee-000000000000"
      + project_id             = "ffffffff-aaaa-1414-eeee-000000000000"
      + start                  = "2024-06-10T19:09:11Z"
      + status                 = (known after apply)
    }

Do you want to perform these actions?
  Terraform will perform the actions described above.
  Only 'yes' will be accepted to approve.

  Enter a value: yes

couchbase-capella_audit_log_export.new_auditlogexport: Creating...
couchbase-capella_audit_log_export.new_auditlogexport: Creation complete after 1s [id=ffffffff-aaaa-1414-eeee-000000000000]

Apply complete! Resources: 1 added, 0 changed, 0 destroyed.

Outputs:

existing_auditlogexport = {
  "cluster_id" = "ffffffff-aaaa-1414-eeee-000000000000"
  "data" = toset([
    {
      "audit_log_download_url" = "https://cb-audit-logs-1234.s3.amazonaws.com/export/cluster-audit-logs-5678-from-2000-01-01-to-2000-01-02.tar.gz?X-Amz-Algorithm=X&X-Amz-Credential=XXX&X-Amz-Date=1999&X-Amz-Expires=1&X-Amz-Security-Token=XXX&X-Amz-SignedHeaders=host&X-Amz-Signature=XXX"
      "cluster_id" = "ffffffff-aaaa-1414-eeee-000000000000"
      "created_at" = "2024-06-10 21:16:50.415705947 +0000 UTC"
      "end" = "2024-06-10 21:09:11 +0000 UTC"
      "expiration" = "2024-06-13 21:16:54.37230845 +0000 UTC"
      "id" = "ffffffff-aaaa-1414-eeee-000000000000"
      "organization_id" = "ffffffff-aaaa-1414-eeee-000000000000"
      "project_id" = "ffffffff-aaaa-1414-eeee-000000000000"
      "start" = "2024-06-10 20:09:11 +0000 UTC"
      "status" = "Completed"
    },
    {
      "audit_log_download_url" = "https://cb-audit-logs-1234.s3.amazonaws.com/export/cluster-audit-logs-5678-from-2000-01-01-to-2000-01-02.tar.gz?X-Amz-Algorithm=X&X-Amz-Credential=XXX&X-Amz-Date=1999&X-Amz-Expires=1&X-Amz-Security-Token=XXX&X-Amz-SignedHeaders=host&X-Amz-Signature=XXX"
      "cluster_id" = "ffffffff-aaaa-1414-eeee-000000000000"
      "created_at" = "2024-06-10 22:51:31.526799392 +0000 UTC"
      "end" = "2024-06-10 21:09:11 +0000 UTC"
      "expiration" = "2024-06-13 22:51:35.664051802 +0000 UTC"
      "id" = "ffffffff-aaaa-1414-eeee-000000000000"
      "organization_id" = "ffffffff-aaaa-1414-eeee-000000000000"
      "project_id" = "ffffffff-aaaa-1414-eeee-000000000000"
      "start" = "2024-06-10 19:09:11 +0000 UTC"
      "status" = "Completed"
    },
    {
      "audit_log_download_url" = tostring(null)
      "cluster_id" = "ffffffff-aaaa-1414-eeee-000000000000"
      "created_at" = "2024-06-10 21:03:15.896348051 +0000 UTC"
      "end" = "2024-05-28 21:52:38 +0000 UTC"
      "expiration" = tostring(null)
      "id" = "ffffffff-aaaa-1414-eeee-000000000000"
      "organization_id" = "ffffffff-aaaa-1414-eeee-000000000000"
      "project_id" = "ffffffff-aaaa-1414-eeee-000000000000"
      "start" = "2024-05-28 18:52:38 +0000 UTC"
      "status" = "no audit log files exist within the requested time frame"
    },
    {
      "audit_log_download_url" = tostring(null)
      "cluster_id" = "ffffffff-aaaa-1414-eeee-000000000000"
      "created_at" = "2024-06-10 21:03:50.081716726 +0000 UTC"
      "end" = "2024-05-28 21:52:38 +0000 UTC"
      "expiration" = tostring(null)
      "id" = "ffffffff-aaaa-1414-eeee-000000000000"
      "organization_id" = "ffffffff-aaaa-1414-eeee-000000000000"
      "project_id" = "ffffffff-aaaa-1414-eeee-000000000000"
      "start" = "2024-05-28 18:52:38 +0000 UTC"
      "status" = "no audit log files exist within the requested time frame"
    },
    {
      "audit_log_download_url" = tostring(null)
      "cluster_id" = "ffffffff-aaaa-1414-eeee-000000000000"
      "created_at" = "2024-06-10 21:12:19.656434023 +0000 UTC"
      "end" = "2024-06-10 21:09:11 +0000 UTC"
      "expiration" = tostring(null)
      "id" = "ffffffff-aaaa-1414-eeee-000000000000"
      "organization_id" = "ffffffff-aaaa-1414-eeee-000000000000"
      "project_id" = "ffffffff-aaaa-1414-eeee-000000000000"
      "start" = "2024-06-10 20:09:11 +0000 UTC"
      "status" = "no audit log files exist within the requested time frame"
    },
    {
      "audit_log_download_url" = tostring(null)
      "cluster_id" = "ffffffff-aaaa-1414-eeee-000000000000"
      "created_at" = "2024-06-10 21:14:28.070136553 +0000 UTC"
      "end" = "2024-06-10 21:09:11 +0000 UTC"
      "expiration" = tostring(null)
      "id" = "ffffffff-aaaa-1414-eeee-000000000000"
      "organization_id" = "ffffffff-aaaa-1414-eeee-000000000000"
      "project_id" = "ffffffff-aaaa-1414-eeee-000000000000"
      "start" = "2024-06-10 20:09:11 +0000 UTC"
      "status" = "no audit log files exist within the requested time frame"
    },
  ])
  "organization_id" = "ffffffff-aaaa-1414-eeee-000000000000"
  "project_id" = "ffffffff-aaaa-1414-eeee-000000000000"
}
new_auditlogexport = {
  "audit_log_download_url" = tostring(null)
  "cluster_id" = "ffffffff-aaaa-1414-eeee-000000000000"
  "created_at" = "2024-06-10 22:57:40.510329399 +0000 UTC"
  "end" = "2024-06-10T21:09:11Z"
  "expiration" = tostring(null)
  "id" = "ffffffff-aaaa-1414-eeee-000000000000"
  "organization_id" = "ffffffff-aaaa-1414-eeee-000000000000"
  "project_id" = "ffffffff-aaaa-1414-eeee-000000000000"
  "start" = "2024-06-10T19:09:11Z"
  "status" = tostring(null)
}

validate UTC time zone
audit_log_export = {
    start = "2024-06-10T19:09:11+00:00"
    end = "2024-06-10T21:09:11+00:00"
}

terraform apply
╷
│ Warning: Provider development overrides are in effect
│
│ The following provider development overrides are set in the CLI configuration:
│  - couchbasecloud/couchbase-capella in /Users/$USER/GolandProjects/terraform-provider-couchbase-capella/bin
│
│ The behavior may therefore not match any released version of the provider and applying changes may cause the state to become incompatible with published releases.
╵
data.couchbase-capella_audit_log_export.existing_auditlogexport: Reading...
data.couchbase-capella_audit_log_export.existing_auditlogexport: Read complete after 0s

Terraform used the selected providers to generate the following execution plan. Resource actions are indicated with the following symbols:
  + create

Terraform will perform the following actions:

  # couchbase-capella_audit_log_export.new_auditlogexport will be created
  + resource "couchbase-capella_audit_log_export" "new_auditlogexport" {
      + audit_log_download_url = (known after apply)
      + cluster_id             = "ffffffff-aaaa-1414-eeee-000000000000"
      + created_at             = (known after apply)
      + end                    = "2024-06-10T21:09:11+00:00"
      + expiration             = (known after apply)
      + id                     = (known after apply)
      + organization_id        = "ffffffff-aaaa-1414-eeee-000000000000"
      + project_id             = "ffffffff-aaaa-1414-eeee-000000000000"
      + start                  = "2024-06-10T19:09:11+00:00"
      + status                 = (known after apply)
    }

Plan: 1 to add, 0 to change, 0 to destroy.

Changes to Outputs:
  + existing_auditlogexport = {
      + cluster_id      = "ffffffff-aaaa-1414-eeee-000000000000"
      + data            = [
          + {
              + audit_log_download_url = "https://cb-audit-logs-1234.s3.amazonaws.com/export/cluster-audit-logs-5678-from-2000-01-01-to-2000-01-02.tar.gz?X-Amz-Algorithm=X&X-Amz-Credential=XXX&X-Amz-Date=1999&X-Amz-Expires=1&X-Amz-Security-Token=XXX&X-Amz-SignedHeaders=host&X-Amz-Signature=XXX"
              + cluster_id             = "ffffffff-aaaa-1414-eeee-000000000000"
              + created_at             = "2024-06-10 21:16:50.415705947 +0000 UTC"
              + end                    = "2024-06-10 21:09:11 +0000 UTC"
              + expiration             = "2024-06-13 21:16:54.37230845 +0000 UTC"
              + id                     = "ffffffff-aaaa-1414-eeee-000000000000"
              + organization_id        = "ffffffff-aaaa-1414-eeee-000000000000"
              + project_id             = "ffffffff-aaaa-1414-eeee-000000000000"
              + start                  = "2024-06-10 20:09:11 +0000 UTC"
              + status                 = "Completed"
            },
          + {
              + audit_log_download_url = "https://cb-audit-logs-1234.s3.amazonaws.com/export/cluster-audit-logs-5678-from-2000-01-01-to-2000-01-02.tar.gz?X-Amz-Algorithm=X&X-Amz-Credential=XXX&X-Amz-Date=1999&X-Amz-Expires=1&X-Amz-Security-Token=XXX&X-Amz-SignedHeaders=host&X-Amz-Signature=XXX"
              + cluster_id             = "ffffffff-aaaa-1414-eeee-000000000000"
              + created_at             = "2024-06-10 22:51:31.526799392 +0000 UTC"
              + end                    = "2024-06-10 21:09:11 +0000 UTC"
              + expiration             = "2024-06-13 22:51:35.664051802 +0000 UTC"
              + id                     = "ffffffff-aaaa-1414-eeee-000000000000"
              + organization_id        = "ffffffff-aaaa-1414-eeee-000000000000"
              + project_id             = "ffffffff-aaaa-1414-eeee-000000000000"
              + start                  = "2024-06-10 19:09:11 +0000 UTC"
              + status                 = "Completed"
            },
          + {
              + audit_log_download_url = "https://cb-audit-logs-1234.s3.amazonaws.com/export/cluster-audit-logs-5678-from-2000-01-01-to-2000-01-02.tar.gz?X-Amz-Algorithm=X&X-Amz-Credential=XXX&X-Amz-Date=1999&X-Amz-Expires=1&X-Amz-Security-Token=XXX&X-Amz-SignedHeaders=host&X-Amz-Signature=XXX"
              + cluster_id             = "ffffffff-aaaa-1414-eeee-000000000000"
              + created_at             = "2024-06-10 22:57:40.510329399 +0000 UTC"
              + end                    = "2024-06-10 21:09:11 +0000 UTC"
              + expiration             = "2024-06-13 22:57:44.271446866 +0000 UTC"
              + id                     = "ffffffff-aaaa-1414-eeee-000000000000"
              + organization_id        = "ffffffff-aaaa-1414-eeee-000000000000"
              + project_id             = "ffffffff-aaaa-1414-eeee-000000000000"
              + start                  = "2024-06-10 19:09:11 +0000 UTC"
              + status                 = "Completed"
            },
          + {
              + audit_log_download_url = null
              + cluster_id             = "ffffffff-aaaa-1414-eeee-000000000000"
              + created_at             = "2024-06-10 21:03:15.896348051 +0000 UTC"
              + end                    = "2024-05-28 21:52:38 +0000 UTC"
              + expiration             = null
              + id                     = "ffffffff-aaaa-1414-eeee-000000000000"
              + organization_id        = "ffffffff-aaaa-1414-eeee-000000000000"
              + project_id             = "ffffffff-aaaa-1414-eeee-000000000000"
              + start                  = "2024-05-28 18:52:38 +0000 UTC"
              + status                 = "no audit log files exist within the requested time frame"
            },
          + {
              + audit_log_download_url = null
              + cluster_id             = "ffffffff-aaaa-1414-eeee-000000000000"
              + created_at             = "2024-06-10 21:03:50.081716726 +0000 UTC"
              + end                    = "2024-05-28 21:52:38 +0000 UTC"
              + expiration             = null
              + id                     = "ffffffff-aaaa-1414-eeee-000000000000"
              + organization_id        = "ffffffff-aaaa-1414-eeee-000000000000"
              + project_id             = "ffffffff-aaaa-1414-eeee-000000000000"
              + start                  = "2024-05-28 18:52:38 +0000 UTC"
              + status                 = "no audit log files exist within the requested time frame"
            },
          + {
              + audit_log_download_url = null
              + cluster_id             = "ffffffff-aaaa-1414-eeee-000000000000"
              + created_at             = "2024-06-10 21:12:19.656434023 +0000 UTC"
              + end                    = "2024-06-10 21:09:11 +0000 UTC"
              + expiration             = null
              + id                     = "ffffffff-aaaa-1414-eeee-000000000000"
              + organization_id        = "ffffffff-aaaa-1414-eeee-000000000000"
              + project_id             = "ffffffff-aaaa-1414-eeee-000000000000"
              + start                  = "2024-06-10 20:09:11 +0000 UTC"
              + status                 = "no audit log files exist within the requested time frame"
            },
          + {
              + audit_log_download_url = null
              + cluster_id             = "ffffffff-aaaa-1414-eeee-000000000000"
              + created_at             = "2024-06-10 21:14:28.070136553 +0000 UTC"
              + end                    = "2024-06-10 21:09:11 +0000 UTC"
              + expiration             = null
              + id                     = "ffffffff-aaaa-1414-eeee-000000000000"
              + organization_id        = "ffffffff-aaaa-1414-eeee-000000000000"
              + project_id             = "ffffffff-aaaa-1414-eeee-000000000000"
              + start                  = "2024-06-10 20:09:11 +0000 UTC"
              + status                 = "no audit log files exist within the requested time frame"
            },
        ]
      + organization_id = "ffffffff-aaaa-1414-eeee-000000000000"
      + project_id      = "ffffffff-aaaa-1414-eeee-000000000000"
    }
  + new_auditlogexport      = {
      + audit_log_download_url = (known after apply)
      + cluster_id             = "ffffffff-aaaa-1414-eeee-000000000000"
      + created_at             = (known after apply)
      + end                    = "2024-06-10T21:09:11+00:00"
      + expiration             = (known after apply)
      + id                     = (known after apply)
      + organization_id        = "ffffffff-aaaa-1414-eeee-000000000000"
      + project_id             = "ffffffff-aaaa-1414-eeee-000000000000"
      + start                  = "2024-06-10T19:09:11+00:00"
      + status                 = (known after apply)
    }

Do you want to perform these actions?
  Terraform will perform the actions described above.
  Only 'yes' will be accepted to approve.

  Enter a value: yes

couchbase-capella_audit_log_export.new_auditlogexport: Creating...
couchbase-capella_audit_log_export.new_auditlogexport: Creation complete after 0s [id=ffffffff-aaaa-1414-eeee-000000000000]

Apply complete! Resources: 1 added, 0 changed, 0 destroyed.

Outputs:

existing_auditlogexport = {
  "cluster_id" = "ffffffff-aaaa-1414-eeee-000000000000"
  "data" = toset([
    {
      "audit_log_download_url" = "https://cb-audit-logs-1234.s3.amazonaws.com/export/cluster-audit-logs-5678-from-2000-01-01-to-2000-01-02.tar.gz?X-Amz-Algorithm=X&X-Amz-Credential=XXX&X-Amz-Date=1999&X-Amz-Expires=1&X-Amz-Security-Token=XXX&X-Amz-SignedHeaders=host&X-Amz-Signature=XXX"
      "cluster_id" = "ffffffff-aaaa-1414-eeee-000000000000"
      "created_at" = "2024-06-10 21:16:50.415705947 +0000 UTC"
      "end" = "2024-06-10 21:09:11 +0000 UTC"
      "expiration" = "2024-06-13 21:16:54.37230845 +0000 UTC"
      "id" = "ffffffff-aaaa-1414-eeee-000000000000"
      "organization_id" = "ffffffff-aaaa-1414-eeee-000000000000"
      "project_id" = "ffffffff-aaaa-1414-eeee-000000000000"
      "start" = "2024-06-10 20:09:11 +0000 UTC"
      "status" = "Completed"
    },
    {
      "audit_log_download_url" = "https://cb-audit-logs-1234.s3.amazonaws.com/export/cluster-audit-logs-5678-from-2000-01-01-to-2000-01-02.tar.gz?X-Amz-Algorithm=X&X-Amz-Credential=XXX&X-Amz-Date=1999&X-Amz-Expires=1&X-Amz-Security-Token=XXX&X-Amz-SignedHeaders=host&X-Amz-Signature=XXX"
      "cluster_id" = "ffffffff-aaaa-1414-eeee-000000000000"
      "created_at" = "2024-06-10 22:51:31.526799392 +0000 UTC"
      "end" = "2024-06-10 21:09:11 +0000 UTC"
      "expiration" = "2024-06-13 22:51:35.664051802 +0000 UTC"
      "id" = "ffffffff-aaaa-1414-eeee-000000000000"
      "organization_id" = "ffffffff-aaaa-1414-eeee-000000000000"
      "project_id" = "ffffffff-aaaa-1414-eeee-000000000000"
      "start" = "2024-06-10 19:09:11 +0000 UTC"
      "status" = "Completed"
    },
    {
      "audit_log_download_url" = "https://cb-audit-logs-1234.s3.amazonaws.com/export/cluster-audit-logs-5678-from-2000-01-01-to-2000-01-02.tar.gz?X-Amz-Algorithm=X&X-Amz-Credential=XXX&X-Amz-Date=1999&X-Amz-Expires=1&X-Amz-Security-Token=XXX&X-Amz-SignedHeaders=host&X-Amz-Signature=XXX"
      "cluster_id" = "ffffffff-aaaa-1414-eeee-000000000000"
      "created_at" = "2024-06-10 22:57:40.510329399 +0000 UTC"
      "end" = "2024-06-10 21:09:11 +0000 UTC"
      "expiration" = "2024-06-13 22:57:44.271446866 +0000 UTC"
      "id" = "ffffffff-aaaa-1414-eeee-000000000000"
      "organization_id" = "ffffffff-aaaa-1414-eeee-000000000000"
      "project_id" = "ffffffff-aaaa-1414-eeee-000000000000"
      "start" = "2024-06-10 19:09:11 +0000 UTC"
      "status" = "Completed"
    },
    {
      "audit_log_download_url" = tostring(null)
      "cluster_id" = "ffffffff-aaaa-1414-eeee-000000000000"
      "created_at" = "2024-06-10 21:03:15.896348051 +0000 UTC"
      "end" = "2024-05-28 21:52:38 +0000 UTC"
      "expiration" = tostring(null)
      "id" = "ffffffff-aaaa-1414-eeee-000000000000"
      "organization_id" = "ffffffff-aaaa-1414-eeee-000000000000"
      "project_id" = "ffffffff-aaaa-1414-eeee-000000000000"
      "start" = "2024-05-28 18:52:38 +0000 UTC"
      "status" = "no audit log files exist within the requested time frame"
    },
    {
      "audit_log_download_url" = tostring(null)
      "cluster_id" = "ffffffff-aaaa-1414-eeee-000000000000"
      "created_at" = "2024-06-10 21:03:50.081716726 +0000 UTC"
      "end" = "2024-05-28 21:52:38 +0000 UTC"
      "expiration" = tostring(null)
      "id" = "ffffffff-aaaa-1414-eeee-000000000000"
      "organization_id" = "ffffffff-aaaa-1414-eeee-000000000000"
      "project_id" = "ffffffff-aaaa-1414-eeee-000000000000"
      "start" = "2024-05-28 18:52:38 +0000 UTC"
      "status" = "no audit log files exist within the requested time frame"
    },
    {
      "audit_log_download_url" = tostring(null)
      "cluster_id" = "ffffffff-aaaa-1414-eeee-000000000000"
      "created_at" = "2024-06-10 21:12:19.656434023 +0000 UTC"
      "end" = "2024-06-10 21:09:11 +0000 UTC"
      "expiration" = tostring(null)
      "id" = "ffffffff-aaaa-1414-eeee-000000000000"
      "organization_id" = "ffffffff-aaaa-1414-eeee-000000000000"
      "project_id" = "ffffffff-aaaa-1414-eeee-000000000000"
      "start" = "2024-06-10 20:09:11 +0000 UTC"
      "status" = "no audit log files exist within the requested time frame"
    },
    {
      "audit_log_download_url" = tostring(null)
      "cluster_id" = "ffffffff-aaaa-1414-eeee-000000000000"
      "created_at" = "2024-06-10 21:14:28.070136553 +0000 UTC"
      "end" = "2024-06-10 21:09:11 +0000 UTC"
      "expiration" = tostring(null)
      "id" = "ffffffff-aaaa-1414-eeee-000000000000"
      "organization_id" = "ffffffff-aaaa-1414-eeee-000000000000"
      "project_id" = "ffffffff-aaaa-1414-eeee-000000000000"
      "start" = "2024-06-10 20:09:11 +0000 UTC"
      "status" = "no audit log files exist within the requested time frame"
    },
  ])
  "organization_id" = "ffffffff-aaaa-1414-eeee-000000000000"
  "project_id" = "ffffffff-aaaa-1414-eeee-000000000000"
}
new_auditlogexport = {
  "audit_log_download_url" = tostring(null)
  "cluster_id" = "ffffffff-aaaa-1414-eeee-000000000000"
  "created_at" = "2024-06-10 23:08:34.759743452 +0000 UTC"
  "end" = "2024-06-10T21:09:11+00:00"
  "expiration" = tostring(null)
  "id" = "ffffffff-aaaa-1414-eeee-000000000000"
  "organization_id" = "ffffffff-aaaa-1414-eeee-000000000000"
  "project_id" = "ffffffff-aaaa-1414-eeee-000000000000"
  "start" = "2024-06-10T19:09:11+00:00"
  "status" = tostring(null)
}

validate pacific time zone:
audit_log_export = {
    start = "2024-06-10T12:09:11-07:00"
    end = "2024-06-10T13:09:11-07:00"
}

terraform apply
╷
│ Warning: Provider development overrides are in effect
│
│ The following provider development overrides are set in the CLI configuration:
│  - couchbasecloud/couchbase-capella in /Users/$USER/GolandProjects/terraform-provider-couchbase-capella/bin
│
│ The behavior may therefore not match any released version of the provider and applying changes may cause the state to become incompatible with published releases.
╵
data.couchbase-capella_audit_log_export.existing_auditlogexport: Reading...
data.couchbase-capella_audit_log_export.existing_auditlogexport: Read complete after 0s

Terraform used the selected providers to generate the following execution plan. Resource actions are indicated with the following symbols:
  + create

Terraform will perform the following actions:

  # couchbase-capella_audit_log_export.new_auditlogexport will be created
  + resource "couchbase-capella_audit_log_export" "new_auditlogexport" {
      + audit_log_download_url = (known after apply)
      + cluster_id             = "ffffffff-aaaa-1414-eeee-000000000000"
      + created_at             = (known after apply)
      + end                    = "2024-06-10T13:09:11-07:00"
      + expiration             = (known after apply)
      + id                     = (known after apply)
      + organization_id        = "ffffffff-aaaa-1414-eeee-000000000000"
      + project_id             = "ffffffff-aaaa-1414-eeee-000000000000"
      + start                  = "2024-06-10T12:09:11-07:00"
      + status                 = (known after apply)
    }

Plan: 1 to add, 0 to change, 0 to destroy.

Changes to Outputs:
  + existing_auditlogexport = {
      + cluster_id      = "ffffffff-aaaa-1414-eeee-000000000000"
      + data            = [
          + {
              + audit_log_download_url = "https://cb-audit-logs-1234.s3.amazonaws.com/export/cluster-audit-logs-5678-from-2000-01-01-to-2000-01-02.tar.gz?X-Amz-Algorithm=X&X-Amz-Credential=XXX&X-Amz-Date=1999&X-Amz-Expires=1&X-Amz-Security-Token=XXX&X-Amz-SignedHeaders=host&X-Amz-Signature=XXX"
              + cluster_id             = "ffffffff-aaaa-1414-eeee-000000000000"
              + created_at             = "2024-06-10 21:16:50.415705947 +0000 UTC"
              + end                    = "2024-06-10 21:09:11 +0000 UTC"
              + expiration             = "2024-06-13 21:16:54.37230845 +0000 UTC"
              + id                     = "ffffffff-aaaa-1414-eeee-000000000000"
              + organization_id        = "ffffffff-aaaa-1414-eeee-000000000000"
              + project_id             = "ffffffff-aaaa-1414-eeee-000000000000"
              + start                  = "2024-06-10 20:09:11 +0000 UTC"
              + status                 = "Completed"
            },
          + {
              + audit_log_download_url = "https://cb-audit-logs-1234.s3.amazonaws.com/export/cluster-audit-logs-5678-from-2000-01-01-to-2000-01-02.tar.gz?X-Amz-Algorithm=X&X-Amz-Credential=XXX&X-Amz-Date=1999&X-Amz-Expires=1&X-Amz-Security-Token=XXX&X-Amz-SignedHeaders=host&X-Amz-Signature=XXX"
              + cluster_id             = "ffffffff-aaaa-1414-eeee-000000000000"
              + created_at             = "2024-06-10 22:51:31.526799392 +0000 UTC"
              + end                    = "2024-06-10 21:09:11 +0000 UTC"
              + expiration             = "2024-06-13 22:51:35.664051802 +0000 UTC"
              + id                     = "ffffffff-aaaa-1414-eeee-000000000000"
              + organization_id        = "ffffffff-aaaa-1414-eeee-000000000000"
              + project_id             = "ffffffff-aaaa-1414-eeee-000000000000"
              + start                  = "2024-06-10 19:09:11 +0000 UTC"
              + status                 = "Completed"
            },
          + {
              + audit_log_download_url = "https://cb-audit-logs-1234.s3.amazonaws.com/export/cluster-audit-logs-5678-from-2000-01-01-to-2000-01-02.tar.gz?X-Amz-Algorithm=X&X-Amz-Credential=XXX&X-Amz-Date=1999&X-Amz-Expires=1&X-Amz-Security-Token=XXX&X-Amz-SignedHeaders=host&X-Amz-Signature=XXX"
              + cluster_id             = "ffffffff-aaaa-1414-eeee-000000000000"
              + created_at             = "2024-06-10 22:57:40.510329399 +0000 UTC"
              + end                    = "2024-06-10 21:09:11 +0000 UTC"
              + expiration             = "2024-06-13 22:57:44.271446866 +0000 UTC"
              + id                     = "ffffffff-aaaa-1414-eeee-000000000000"
              + organization_id        = "ffffffff-aaaa-1414-eeee-000000000000"
              + project_id             = "ffffffff-aaaa-1414-eeee-000000000000"
              + start                  = "2024-06-10 19:09:11 +0000 UTC"
              + status                 = "Completed"
            },
          + {
              + audit_log_download_url = "https://cb-audit-logs-1234.s3.amazonaws.com/export/cluster-audit-logs-5678-from-2000-01-01-to-2000-01-02.tar.gz?X-Amz-Algorithm=X&X-Amz-Credential=XXX&X-Amz-Date=1999&X-Amz-Expires=1&X-Amz-Security-Token=XXX&X-Amz-SignedHeaders=host&X-Amz-Signature=XXX"
              + cluster_id             = "ffffffff-aaaa-1414-eeee-000000000000"
              + created_at             = "2024-06-10 23:08:34.759743452 +0000 UTC"
              + end                    = "2024-06-10 21:09:11 +0000 UTC"
              + expiration             = "2024-06-13 23:08:38.8155741 +0000 UTC"
              + id                     = "ffffffff-aaaa-1414-eeee-000000000000"
              + organization_id        = "ffffffff-aaaa-1414-eeee-000000000000"
              + project_id             = "ffffffff-aaaa-1414-eeee-000000000000"
              + start                  = "2024-06-10 19:09:11 +0000 UTC"
              + status                 = "Completed"
            },
          + {
              + audit_log_download_url = null
              + cluster_id             = "ffffffff-aaaa-1414-eeee-000000000000"
              + created_at             = "2024-06-10 21:03:15.896348051 +0000 UTC"
              + end                    = "2024-05-28 21:52:38 +0000 UTC"
              + expiration             = null
              + id                     = "ffffffff-aaaa-1414-eeee-000000000000"
              + organization_id        = "ffffffff-aaaa-1414-eeee-000000000000"
              + project_id             = "ffffffff-aaaa-1414-eeee-000000000000"
              + start                  = "2024-05-28 18:52:38 +0000 UTC"
              + status                 = "no audit log files exist within the requested time frame"
            },
          + {
              + audit_log_download_url = null
              + cluster_id             = "ffffffff-aaaa-1414-eeee-000000000000"
              + created_at             = "2024-06-10 21:03:50.081716726 +0000 UTC"
              + end                    = "2024-05-28 21:52:38 +0000 UTC"
              + expiration             = null
              + id                     = "ffffffff-aaaa-1414-eeee-000000000000"
              + organization_id        = "ffffffff-aaaa-1414-eeee-000000000000"
              + project_id             = "ffffffff-aaaa-1414-eeee-000000000000"
              + start                  = "2024-05-28 18:52:38 +0000 UTC"
              + status                 = "no audit log files exist within the requested time frame"
            },
          + {
              + audit_log_download_url = null
              + cluster_id             = "ffffffff-aaaa-1414-eeee-000000000000"
              + created_at             = "2024-06-10 21:12:19.656434023 +0000 UTC"
              + end                    = "2024-06-10 21:09:11 +0000 UTC"
              + expiration             = null
              + id                     = "23b12e1a-d84d-48b6-8d09-4df2e5e6b4a7"
              + organization_id        = "ffffffff-aaaa-1414-eeee-000000000000"
              + project_id             = "ffffffff-aaaa-1414-eeee-000000000000"
              + start                  = "2024-06-10 20:09:11 +0000 UTC"
              + status                 = "no audit log files exist within the requested time frame"
            },
          + {
              + audit_log_download_url = null
              + cluster_id             = "ffffffff-aaaa-1414-eeee-000000000000"
              + created_at             = "2024-06-10 21:14:28.070136553 +0000 UTC"
              + end                    = "2024-06-10 21:09:11 +0000 UTC"
              + expiration             = null
              + id                     = "ffffffff-aaaa-1414-eeee-000000000000"
              + organization_id        = "ffffffff-aaaa-1414-eeee-000000000000"
              + project_id             = "ffffffff-aaaa-1414-eeee-000000000000"
              + start                  = "2024-06-10 20:09:11 +0000 UTC"
              + status                 = "no audit log files exist within the requested time frame"
            },
        ]
      + organization_id = "ffffffff-aaaa-1414-eeee-000000000000"
      + project_id      = "ffffffff-aaaa-1414-eeee-000000000000"
    }
  + new_auditlogexport      = {
      + audit_log_download_url = (known after apply)
      + cluster_id             = "ffffffff-aaaa-1414-eeee-000000000000"
      + created_at             = (known after apply)
      + end                    = "2024-06-10T13:09:11-07:00"
      + expiration             = (known after apply)
      + id                     = (known after apply)
      + organization_id        = "ffffffff-aaaa-1414-eeee-000000000000"
      + project_id             = "ffffffff-aaaa-1414-eeee-000000000000"
      + start                  = "2024-06-10T12:09:11-07:00"
      + status                 = (known after apply)
    }

Do you want to perform these actions?
  Terraform will perform the actions described above.
  Only 'yes' will be accepted to approve.

  Enter a value: yes

couchbase-capella_audit_log_export.new_auditlogexport: Creating...
couchbase-capella_audit_log_export.new_auditlogexport: Creation complete after 0s [id=ffffffff-aaaa-1414-eeee-000000000000]

Apply complete! Resources: 1 added, 0 changed, 0 destroyed.

Outputs:

existing_auditlogexport = {
  "cluster_id" = "ffffffff-aaaa-1414-eeee-000000000000"
  "data" = toset([
    {
      "audit_log_download_url" = "https://cb-audit-logs-1234.s3.amazonaws.com/export/cluster-audit-logs-5678-from-2000-01-01-to-2000-01-02.tar.gz?X-Amz-Algorithm=X&X-Amz-Credential=XXX&X-Amz-Date=1999&X-Amz-Expires=1&X-Amz-Security-Token=XXX&X-Amz-SignedHeaders=host&X-Amz-Signature=XXX"
      "cluster_id" = "ffffffff-aaaa-1414-eeee-000000000000"
      "created_at" = "2024-06-10 21:16:50.415705947 +0000 UTC"
      "end" = "2024-06-10 21:09:11 +0000 UTC"
      "expiration" = "2024-06-13 21:16:54.37230845 +0000 UTC"
      "id" = "ffffffff-aaaa-1414-eeee-000000000000"
      "organization_id" = "ffffffff-aaaa-1414-eeee-000000000000"
      "project_id" = "ffffffff-aaaa-1414-eeee-000000000000"
      "start" = "2024-06-10 20:09:11 +0000 UTC"
      "status" = "Completed"
    },
    {
      "audit_log_download_url" = "https://cb-audit-logs-1234.s3.amazonaws.com/export/cluster-audit-logs-5678-from-2000-01-01-to-2000-01-02.tar.gz?X-Amz-Algorithm=X&X-Amz-Credential=XXX&X-Amz-Date=1999&X-Amz-Expires=1&X-Amz-Security-Token=XXX&X-Amz-SignedHeaders=host&X-Amz-Signature=XXX"
      "created_at" = "2024-06-10 22:51:31.526799392 +0000 UTC"
      "end" = "2024-06-10 21:09:11 +0000 UTC"
      "expiration" = "2024-06-13 22:51:35.664051802 +0000 UTC"
      "id" = "ffffffff-aaaa-1414-eeee-000000000000"
      "organization_id" = "ffffffff-aaaa-1414-eeee-000000000000"
      "project_id" = "ffffffff-aaaa-1414-eeee-000000000000"
      "start" = "2024-06-10 19:09:11 +0000 UTC"
      "status" = "Completed"
    },
    {
      "audit_log_download_url" = "https://cb-audit-logs-1234.s3.amazonaws.com/export/cluster-audit-logs-5678-from-2000-01-01-to-2000-01-02.tar.gz?X-Amz-Algorithm=X&X-Amz-Credential=XXX&X-Amz-Date=1999&X-Amz-Expires=1&X-Amz-Security-Token=XXX&X-Amz-SignedHeaders=host&X-Amz-Signature=XXX"
      "created_at" = "2024-06-10 22:57:40.510329399 +0000 UTC"
      "end" = "2024-06-10 21:09:11 +0000 UTC"
      "expiration" = "2024-06-13 22:57:44.271446866 +0000 UTC"
      "id" = "ffffffff-aaaa-1414-eeee-000000000000"
      "organization_id" = "ffffffff-aaaa-1414-eeee-000000000000"
      "project_id" = "ffffffff-aaaa-1414-eeee-000000000000"
      "start" = "2024-06-10 19:09:11 +0000 UTC"
      "status" = "Completed"
    },
    {
      "audit_log_download_url" = "https://cb-audit-logs-1234.s3.amazonaws.com/export/cluster-audit-logs-5678-from-2000-01-01-to-2000-01-02.tar.gz?X-Amz-Algorithm=X&X-Amz-Credential=XXX&X-Amz-Date=1999&X-Amz-Expires=1&X-Amz-Security-Token=XXX&X-Amz-SignedHeaders=host&X-Amz-Signature=XXX"
      "cluster_id" = "ffffffff-aaaa-1414-eeee-000000000000"
      "created_at" = "2024-06-10 23:08:34.759743452 +0000 UTC"
      "end" = "2024-06-10 21:09:11 +0000 UTC"
      "expiration" = "2024-06-13 23:08:38.8155741 +0000 UTC"
      "id" = "ffffffff-aaaa-1414-eeee-000000000000"
      "organization_id" = "ffffffff-aaaa-1414-eeee-000000000000"
      "project_id" = "ffffffff-aaaa-1414-eeee-000000000000"
      "start" = "2024-06-10 19:09:11 +0000 UTC"
      "status" = "Completed"
    },
    {
      "audit_log_download_url" = tostring(null)
      "cluster_id" = "ffffffff-aaaa-1414-eeee-000000000000"
      "created_at" = "2024-06-10 21:03:15.896348051 +0000 UTC"
      "end" = "2024-05-28 21:52:38 +0000 UTC"
      "expiration" = tostring(null)
      "id" = "ffffffff-aaaa-1414-eeee-000000000000"
      "organization_id" = "ffffffff-aaaa-1414-eeee-000000000000"
      "project_id" = "ffffffff-aaaa-1414-eeee-000000000000"
      "start" = "2024-05-28 18:52:38 +0000 UTC"
      "status" = "no audit log files exist within the requested time frame"
    },
    {
      "audit_log_download_url" = tostring(null)
      "cluster_id" = "ffffffff-aaaa-1414-eeee-000000000000"
      "created_at" = "2024-06-10 21:03:50.081716726 +0000 UTC"
      "end" = "2024-05-28 21:52:38 +0000 UTC"
      "expiration" = tostring(null)
      "id" = "ffffffff-aaaa-1414-eeee-000000000000"
      "organization_id" = "ffffffff-aaaa-1414-eeee-000000000000"
      "project_id" = "ffffffff-aaaa-1414-eeee-000000000000"
      "start" = "2024-05-28 18:52:38 +0000 UTC"
      "status" = "no audit log files exist within the requested time frame"
    },
    {
      "audit_log_download_url" = tostring(null)
      "cluster_id" = "ffffffff-aaaa-1414-eeee-000000000000"
      "created_at" = "2024-06-10 21:12:19.656434023 +0000 UTC"
      "end" = "2024-06-10 21:09:11 +0000 UTC"
      "expiration" = tostring(null)
      "id" = "23b12e1a-d84d-48b6-8d09-4df2e5e6b4a7"
      "organization_id" = "ffffffff-aaaa-1414-eeee-000000000000"
      "project_id" = "ffffffff-aaaa-1414-eeee-000000000000"
      "start" = "2024-06-10 20:09:11 +0000 UTC"
      "status" = "no audit log files exist within the requested time frame"
    },
    {
      "audit_log_download_url" = tostring(null)
      "cluster_id" = "ffffffff-aaaa-1414-eeee-000000000000"
      "created_at" = "2024-06-10 21:14:28.070136553 +0000 UTC"
      "end" = "2024-06-10 21:09:11 +0000 UTC"
      "expiration" = tostring(null)
      "id" = "ffffffff-aaaa-1414-eeee-000000000000"
      "organization_id" = "ffffffff-aaaa-1414-eeee-000000000000"
      "project_id" = "ffffffff-aaaa-1414-eeee-000000000000"
      "start" = "2024-06-10 20:09:11 +0000 UTC"
      "status" = "no audit log files exist within the requested time frame"
    },
  ])
  "organization_id" = "ffffffff-aaaa-1414-eeee-000000000000"
  "project_id" = "ffffffff-aaaa-1414-eeee-000000000000"
}
new_auditlogexport = {
  "audit_log_download_url" = tostring(null)
  "cluster_id" = "ffffffff-aaaa-1414-eeee-000000000000"
  "created_at" = "2024-06-10 16:19:14.82496754 -0700 PDT"
  "end" = "2024-06-10T13:09:11-07:00"
  "expiration" = tostring(null)
  "id" = "ffffffff-aaaa-1414-eeee-000000000000"
  "organization_id" = "ffffffff-aaaa-1414-eeee-000000000000"
  "project_id" = "ffffffff-aaaa-1414-eeee-000000000000"
  "start" = "2024-06-10T12:09:11-07:00"
  "status" = tostring(null)
}

Required Checklist:

[X] I have checked that this change does not generate any credentials and that they are NOT accidentally logged anywhere.
[X] I have added tests that prove my fix is effective or that my feature works per HashiCorp requirements
[X] I have added any necessary documentation (if required)
[X] I have run make fmt and formatted my code

Further comments

Hi @hitesh
I have a few questions regarding the above PR. Are we not validating whether the response from the API matches what is provided in the config file? It seems we are directly returning what is in the request. It would be better if we first validate whether the request and response times are the same despite having different formats. If they are the same, we should return what is being sent in the request; otherwise, we should return an error.

Also, do you remember our discussion about handling errors when resource creation fails? In such cases, Terraform marks the resource as tainted, and any subsequent terraform apply attempts to delete the resource. However, the deletion fails because the delete operation is not supported. We concluded that keeping the delete function of the resource empty would allow the resource to be removed from the state file.
What is your point of view on this issue? Should we incorporate that bug fix into this ticket, or should we create a new ticket for it?

Can you please also provide the validation proof for all the formats that we can pass and that return a successful response? We currently have only one case included in the validation proof

Also, do you remember our discussion about handling errors when resource creation fails? In such cases, Terraform marks the resource as tainted, and any subsequent terraform apply attempts to delete the resource. However, the deletion fails because the delete operation is not supported. We concluded that keeping the delete function of the resource empty would allow the resource to be removed from the state file.
What is your point of view on this issue? Should we incorporate that bug fix into this ticket, or should we create a new ticket for it?

I have separate PR for this:
ffffffff-aaaa-1414-eeee-000000000000

Hi @l0n3star I have a few questions regarding the above PR. Are we not validating whether the response from the API matches what is provided in the config file? It seems we are directly returning what is in the request. It would be better if we first validate whether the request and response times are the same despite having different formats. If they are the same, we should return what is being sent in the request; otherwise, we should return an error.

Good point.  Addressed in https://github.com/couchbasecloud/terraform-provider-couchbase-capella/pull/199/commits/1c7bc529cdd7bbfc7222269d52b42dae676df2cb

Can you please also provide the validation proof for all the formats that we can pass and that return a successful response? We currently have only one case included in the validation proof

Sure.  Updated PR with more validation.


Pin Mints once RMRK is confirmed on-chain

We have noise on our IPFS account right now and there are pinned things that aren't in the gallery, so doesn't make sense hold items which isn't shown.
To solve this, we can literally upload the user's art to preserve UX till the user waits for tx confirmation from Kusama.

whatever I wanted to say I sense it's already being done in the recent production


Make SharedPreferences return failures

On Android, SharedPreferences#apply() will silently fail if there is an
issue. Using #commit() ensures we can propogate errors up the future
chain.
Also updated the example to reflect the fact that preference writes are
not instant.
Deprecated commit() as neither platform actually implements it
correctly.

Fixes https://github.com/flutter/flutter/issues/15307

Updated to return booleans instead of exceptions.

Done. I'm not sure why the CI is angry now.

@mravn-google Mikkel, why is CI failing here? The logs do not show anything meaningful. Travis is passing.

@mehmetf AFAIK, the Cirrus CI is an experiment and you should heed only Travis.

As per @mravn-google 's comments, merging this PR.


Danforth monitor final prep

Description

Motivation and Context

How Has This Been Tested?

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 change requires a change to the documentation.
[ ] I have updated the documentation accordingly.
[ ] I have read the CONTRIBUTING document.
[ ] I have added tests to cover my changes.
[ ] All new and existing tests passed.

@nfahlgren FYI. removes extractor pieces from main branch (it's in separate repo) and provides some cleanup to the Globus uploader script.


feat: Clean responses that are not JSON

Description
We were looking to clean the responses from lambda so that they do not contain unusable/unwanted objects like image blobs, strings, etc.

To see the specific tasks where the Asana app for GitHub is being used, see below:

https://app.asana.com/0/0/1202191846621943

I understand that we deal with direct lambda results, as returned by lambda handler, so is there a valid case of returning a HTTP response as a JSON string in entity as follows:

"{\"statusCode\":200,\"body\":\"{\\\"message\\\":\\\"ok\\\"}\"}"

@medikoo yes. When you return a lambda response with this format you typically have to JSON stringify the body of your response. So it looks like something like this.
{
  statusCode: 200,
  body: JSON.stringify({
    message: 'ok',
  }),
}

I am not sure this JSON.stringify step is required or not so I figured it is simple enough to handle cases where it is stringified or not 👍
Since you have to follow this format this means what we end up parsing out is in that double JSON stringified format. Here is what these look like in our opensearch db 👇

@medikoo I went ahead and updated this to the format you had suggested. Let me know what you think

@medikoo Yes that is all correct 👍 For the second one I would probably say something like
HTTP API case, where the response is an object that contains string body property that is no a JSON string.
But I am kind of assuming this is what you mean.

@Danwakeem can we add documentation on that? I think it's pretty important that's part of public documentation.

HTTP API case, where the response is an object that contains string body property that is no a JSON string.

Do you mean that we intend to strip following:
{ statusCode: 200, body: 'foo' /* non-json string */ }

but not one as as:
{ statusCode: 200, body: '{"message":"ok" }' /* JSON string */ }

?

@medikoo Exactly 👍

@medikoo I went ahead and changed the name of the function. I also went ahead and added a section in the README that mentions something about stripping this kind of data from the response.
I think it is helpful to have it in there but If you would rather me remove that until we have payloads documented just let me know 🤷

@medikoo Yeah no problem. Just rebased and left it as the same commit message as the first feat one. If you think I should change the message just let me know 😎

As technically data in all cases is JSON (plain string is also a JSON valid value)


testcaseadd exception test for hive txn

Proposed changes
Issue #31442
#32726

Further comments
If this is a relatively large or complex change, kick off the discussion at<EMAIL_ADDRESS>by explaining why you chose the solution you did and what alternatives you considered, etc...

run buildall

run buildall

run external

run p0

run external

run buildall

run feut

run feut

run buildall

run p0


Fix request assignment with reqmgr2 client

@ticoann is this client working Ok for your tests (request creation + approval + assignment in the same command)? I had issues these days where it fails to find the request_name attribute in the config instance.
It works with these changes, but AFAIK it used to work in the past :)

Hi Alan, it works ok with me create + approved + assign combined but it seems broken if I used -i option. Which is just create + approved. I had to have similar changes you have here to make it work.

Thanks, Seangchan!


Error using geopy and Google AppEngine

As an AppEngine uses urlfetch module, the validate_certificate defaults option is False, so I receive the message below:
File "/home/miani/hobsdev/hobs.api/controllers/admin.py", line 36, in test_geo
    location = geocoder.reverse("52.509669, 13.376294")
  File "/home/miani/hobsdev/hobs.api/lib/geopy/geocoders/googlev3.py", line 266, in reverse
    self._call_geocoder(url, timeout=timeout), exactly_one
  File "/home/miani/hobsdev/hobs.api/lib/geopy/geocoders/base.py", line 171, in _call_geocoder
    raise GeocoderServiceError(message)
GeocoderServiceError: Invalid and/or missing SSL certificate for URL: https://maps.googleapis.com/maps/api/geocode/json?latlng=52.509669%2C+13.376294&sensor=false

Maybe the solution is providing an option to Geocoder where the developer is able for setting the certificate validation true or false.
Best,
@armandomiani

#291 has added support for passing custom ssl_context, which might be helpful there. For example, a custom CA bundle can be specified, or TLS verification can be disabled completely.
I don't know whether this is still an issue (maybe it's already fixed on GAE side), or if the GAE's urlfetch library respects the urllib's context, so I would like someone to check this out. I'm keeping this issue open until then.

Closing. I assume this is no longer an issue or just nobody cares about this specific scenario.


opam build problem on MacOS / Xcode

On MacOS with Xcode 10.2 and apparently the gcc extension for labelling struct fields is generating a warning/error.
% opam install proj4
The following actions will be performed:

install proj4 0.9.2

<><> Gathering sources ><><><><><><><><><><><><><><><><><><><><><><><><><><><><>
[proj<IP_ADDRESS>] found in cache
<><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><>
[ERROR] The compilation of proj4 failed at "/Users/mhayden/.opam/opam-init/hooks/sandbox.sh build ocaml setup.ml -build".
#=== ERROR while compiling proj<IP_ADDRESS> ========================================#
context     2.0.3 | macos/x86_64 | ocaml-variants.4.07.1+macos10.11+flambda+no-flat-float-array | https://opam.ocaml.org/#c261c4ee
path        ~/.opam/macos.dev/.opam-switch/build/proj<IP_ADDRESS>
command     ~/.opam/opam-init/hooks/sandbox.sh build ocaml setup.ml -build
exit-code   1
env-file    ~/.opam/log/proj4-31773-05296d.env
output-file ~/.opam/log/proj4-31773-05296d.out
output
src/proj4_stubs.c:42:5: warning: use of GNU old-style field designator extension [-Wgnu-designator]
[...]
src/proj4_stubs.c:43:5: warning: use of GNU old-style field designator extension [-Wgnu-designator]
serialize: custom_serialize_default,
^~~~~~~~~~
.serialize =
src/proj4_stubs.c:44:5: warning: use of GNU old-style field designator extension [-Wgnu-designator]
deserialize: custom_deserialize_default
^~~~~~~~~~~~
.deserialize =
6 warnings and 1 error generated.
Command exited with code 2.
E: Failure("Command ''/Users/mhayden/.opam/macos.dev/bin/ocamlbuild' src/libproj4_stubs.a src/dllproj4_stubs.so src/proj4.cma src/proj4.cmxa src/proj4.a src/proj4.cmxs -tag debug' terminated with error code 10")
<><> Error report <><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><>
+- The following actions failed
| - build proj4 0.9.2
+-

No changes have been performed

Run eval opam env to update the current shell environment

Thanks for reporting this!  I won't be able to work on this code for at least a few days.  I'll probably port the project to use dune at the same time.
If you have time to work on a patch I'd happily review + accept a PR!  Otherwise I'll try to get to this next week.

Thanks for the quick response and maintaining this package.  I'm a bit slammed with other items, but will let you know if I have a chance to prepare a patch.

Hezekiah,
FYI, I caught up with my other items and last week made a push request that addressed this
thanks, Mark

On Apr 5, 2019, at 11:43 AM, Hezekiah M. Carty<EMAIL_ADDRESS>wrote:
Thanks for reporting this! I won't be able to work on this code for at least a few days. I'll probably port the project to use dune at the same time.
If you have time to work on a patch I'd happily review + accept a PR! Otherwise I'll try to get to this next week.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub https://github.com/hcarty/proj4ml/issues/5#issuecomment-480324065, or mute the thread https://github.com/notifications/unsubscribe-auth/AERANvFAJn_d-a6ZhZV-STRJjNWh1VFcks5vd28sgaJpZM4ca7Wn.

Merged #6 which should fix this - please reopen if there are still issues!

Thanks for merging this.  Can you also post a new opam version that includes the change?


Callback to custom map function

Hello,
Let's say that I have this code Flight::map('hello', function(){     echo "hello"; });
and then, how can I call this function as a callback of a route? Thank you.

Flight:route('/hello', array('Flight', 'hello'));

or
Flight:route('/hello', function(){
  Flight::hello();
});