Skip to content
This repository was archived by the owner on May 14, 2025. It is now read-only.

Add support for running Oracle locally on Apple ARM64#5540

Merged
onobc merged 3 commits intospring-attic:mainfrom
onobc:cbono-add-oracle-m1-support
Nov 8, 2023
Merged

Add support for running Oracle locally on Apple ARM64#5540
onobc merged 3 commits intospring-attic:mainfrom
onobc:cbono-add-oracle-m1-support

Conversation

@onobc
Copy link
Contributor

@onobc onobc commented Nov 7, 2023

  • Adds local-dev-oracle Maven profile that can be used to build a server jar that includes the Oracle database driver for local testing only.

  • Introduces SystemStubsExtension for setting testcontainers required env vars when running tests on Mac M

  • Decorates the OracleSmokeTest with the above which serves as an example of how to conditionally run an Oracle testcontainers test on Mac M.

  • In tandem, a new page was added to thw Wiki https://github.com/spring-cloud/spring-cloud-dataflow/wiki/Oracle-on-Mac-ARM64

Resolves #5539

* Adds `local-dev-oracle` Maven profile that can be used to build a server jar
that includes the Oracle database driver for local testing only.

* Introduces SystemStubsExtension for setting testcontainers required env vars
when running tests on Mac M

* Decorates the OracleSmokeTest with the above which serves as an example of how
 to conditionally run an Oracle testcontainers test on Mac M.

* In tandem, a new page was added to thw Wiki https://github.com/spring-cloud/spring-cloud-dataflow/wiki/Oracle-on-Mac-ARM64

Resolves spring-attic#5539
@onobc onobc requested a review from cppwfs November 7, 2023 19:37
</pluginRepositories>
</profile>
<profile>
<id>local-dev-oracle</id>
Copy link
Contributor Author

Choose a reason for hiding this comment

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

We already have a precedent for this technique in PRO for H2 dependency.

@onobc onobc merged commit 6b5ea6b into spring-attic:main Nov 8, 2023
@onobc onobc deleted the cbono-add-oracle-m1-support branch November 8, 2023 15:47
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Development

Successfully merging this pull request may close these issues.

As a developer I need to run Oracle locally on my Mac ARM64

1 participant