-
Notifications
You must be signed in to change notification settings - Fork 37
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
Smoke test for the Oracle WebLogic #30
Conversation
…to create needed images for testing.
smoke-tests/src/test/java/com/splunk/opentelemetry/SpringBootSmokeTest.java
Outdated
Show resolved
Hide resolved
smoke-tests/src/test/java/com/splunk/opentelemetry/WebLogicSmokeTest.java
Outdated
Show resolved
Hide resolved
@@ -0,0 +1,50 @@ | |||
import os |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
All these files in this directory, where are they from? Who is the original author and what is their license?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I wrote them based on examples in https://github.com/oracle/docker-images/tree/master/OracleWebLogic/dockerfiles/12.2.1.4/container-scripts and other relevant subprojects.
smoke-tests/src/test/java/com/splunk/opentelemetry/SmokeTest.java
Outdated
Show resolved
Hide resolved
smoke-tests/src/test/java/com/splunk/opentelemetry/SpringBootSmokeTest.java
Outdated
Show resolved
Hide resolved
Co-authored-by: Nikita Salnikov-Tarnovski <gnikem@gmail.com>
Spring boot smoke tests are currently failing because of this: open-telemetry/opentelemetry-java-instrumentation#1546 |
* add configuration changes to migration * correct config changes Co-authored-by: Nikita Salnikov-Tarnovski <nsalnikovtarnovski@splunk.com>
…k for trace in headers.
# Conflicts: # custom/src/main/java/com/splunk/opentelemetry/InstrumentationLibrarySpanProcessor.java # custom/src/test/java/com/splunk/opentelemetry/InstrumentationLibrarySpanProcessorTest.java # smoke-tests/src/test/java/com/splunk/opentelemetry/SpringBootSmokeTest.java
Smoke test is built using same concepts as existing smoke tests in this repo and in
opentelemetry-java-instrumentation
. It covers officially supported WebLogic versions - WLS 12 on Java 8 and WLS 14 on Java 8 and 11.Because of yet unclear (work in progress) legal arrangements for building and publishing shared images with WebLogic (which could be used in GitHub actions and environments alike), test is expecting local WebLogic images. If there are no images, then test is ignored. To build local development images of Oracle WebLogic one has to follow the instructions in
src/weblogic/README.md
and download some files from Oracle, while agreeing to its development license terms.Because the smoke test for WLS has one more dimension in addition to just
jdk
,SmokeTest
andSpringBootTest
were updated to provide a supplier function for the image name lookup instead of an abstract method takingjdk
as an input argument. This part sort of redoes PR #25 while solving the issue #20