Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Domo Integration #350

Merged
merged 14 commits into from
Jun 13, 2023
Merged

Domo Integration #350

merged 14 commits into from
Jun 13, 2023

Conversation

secretsayan
Copy link
Contributor

No description provided.

@secretsayan secretsayan marked this pull request as draft March 24, 2023 16:16
@secretsayan secretsayan force-pushed the orca-96 branch 8 times, most recently from 9a5b10c to 8fd9619 Compare March 31, 2023 11:05
@secretsayan secretsayan marked this pull request as ready for review May 31, 2023 08:40
@secretsayan secretsayan marked this pull request as draft May 31, 2023 08:40
@secretsayan secretsayan force-pushed the orca-96 branch 3 times, most recently from a0f7189 to 019e45b Compare May 31, 2023 15:02
@secretsayan secretsayan marked this pull request as ready for review May 31, 2023 15:08
@secretsayan secretsayan force-pushed the orca-96 branch 2 times, most recently from b972913 to 8788557 Compare June 1, 2023 15:12
@secretsayan secretsayan requested a review from TravisCarden June 1, 2023 15:50
@secretsayan secretsayan force-pushed the orca-96 branch 3 times, most recently from 336267d to e3e7c26 Compare June 2, 2023 12:47
@secretsayan secretsayan marked this pull request as draft June 5, 2023 12:52
@secretsayan secretsayan marked this pull request as ready for review June 6, 2023 05:50
Copy link
Contributor

@TravisCarden TravisCarden left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Just a few changes.

src/Console/Command/Ci/CiRunCommand.php Outdated Show resolved Hide resolved
src/Enum/EnvVarEnum.php Outdated Show resolved Hide resolved
Comment on lines 75 to 80
public function __construct(HttpClientInterface $http_client,
SymfonyStyle $output,
DrupalCoreVersionResolver $coreVersionResolver,
$google_api_client_id,
$google_api_client_secret,
$google_refresh_token) {
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The string arguments can be type-hinted.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please re-check this one and let me know what do you think.

src/Helper/Log/GoogleApiClient.php Outdated Show resolved Hide resolved
src/Helper/Log/GoogleApiClient.php Outdated Show resolved Hide resolved
src/Helper/Log/GoogleApiClient.php Outdated Show resolved Hide resolved
src/Helper/Log/GoogleApiClient.php Outdated Show resolved Hide resolved
Comment on lines +429 to +430
// Assigning to null as beta or later version does not exist.
$this->nextMajorLatestMinorBetaOrLater = NULL;
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

What is this for? The method name indicates that it's an assertion, which probably shouldn't have any side effects, and if this line runs it will always be immediately followed by an exception.

Copy link
Contributor Author

@secretsayan secretsayan Jun 13, 2023

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please suggest a function name instead of assertNextMajorLatestMinorBetaOrLaterExists :)

src/Helper/Log/GoogleApiClient.php Outdated Show resolved Hide resolved
secretsayan and others added 6 commits June 13, 2023 11:03
Co-authored-by: Travis Carden <travis.carden@gmail.com>
Co-authored-by: Travis Carden <travis.carden@gmail.com>
Co-authored-by: Travis Carden <travis.carden@gmail.com>
Co-authored-by: Travis Carden <travis.carden@gmail.com>
Co-authored-by: Travis Carden <travis.carden@gmail.com>
@secretsayan secretsayan merged commit 681834b into acquia:develop Jun 13, 2023
@secretsayan secretsayan changed the title ORCA-96: Domo Integration Domo Integration Jun 13, 2023
secretsayan pushed a commit to secretsayan/orca that referenced this pull request Jul 11, 2023
* Initial Working implementation

* use event dispatcher compatible with php 7.4

* Dont send data when test is skipped

* Add env variables to github action workflow

* Resolve issues

* Fix lock files

* Fix all issues

* Update src/Console/Command/Ci/CiRunCommand.php

Co-authored-by: Travis Carden <travis.carden@gmail.com>

* Update src/Enum/EnvVarEnum.php

Co-authored-by: Travis Carden <travis.carden@gmail.com>

* Update src/Helper/Log/GoogleApiClient.php

Co-authored-by: Travis Carden <travis.carden@gmail.com>

* Update src/Helper/Log/GoogleApiClient.php

Co-authored-by: Travis Carden <travis.carden@gmail.com>

* Update src/Helper/Log/GoogleApiClient.php

Co-authored-by: Travis Carden <travis.carden@gmail.com>

* PR feedback

* Changes related to Exit Early

Save

---------

Co-authored-by: Travis Carden <travis.carden@gmail.com>
@danepowell
Copy link
Contributor

@secretsayan @TravisCarden it looks like the ORCA workflow example integration was never updated to add these new secrets. Was that intentional? https://github.com/acquia/orca/blob/develop/example/.github/workflows/orca.yml

@secretsayan
Copy link
Contributor Author

@danepowell Thanks for pointing this out. PR #425 created to modify example files.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants