Uh oh!
There was an error while loading. Please reload this page.
- Notifications
You must be signed in to change notification settings - Fork 4.6k
JmsIO yaml#39818
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
Uh oh!
There was an error while loading. Please reload this page.
JmsIO yaml #39818
Changes from all commits
File filter
Filter by extension
Conversations
Uh oh!
There was an error while loading. Please reload this page.
Jump to
Uh oh!
There was an error while loading. Please reload this page.
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,62 @@ | ||
| # | ||
| # Licensed to the Apache Software Foundation (ASF) under one or more | ||
| # contributor license agreements. See the NOTICE file distributed with | ||
| # this work for additional information regarding copyright ownership. | ||
| # The ASF licenses this file to You under the Apache License, Version 2.0 | ||
| # (the "License"); you may not use this file except in compliance with | ||
| # the License. You may obtain a copy of the License at | ||
| # | ||
| # http://www.apache.org/licenses/LICENSE-2.0 | ||
| # | ||
| # Unless required by applicable law or agreed to in writing, software | ||
| # distributed under the License is distributed on an "AS IS" BASIS, | ||
| # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. | ||
| # See the License for the specific language governing permissions and | ||
| # limitations under the License. | ||
| # | ||
| fixtures: | ||
| - name: IBM_MQ | ||
| type: apache_beam.yaml.integration_tests.temp_ibm_mq_server | ||
| pipelines: | ||
| - pipeline: | ||
| type: chain | ||
| transforms: | ||
| - type: Create | ||
| config: | ||
| elements: | ||
| - payload: message-1 | ||
| - payload: message-2 | ||
| - payload: message-3 | ||
| - type: WriteToIbmMQ | ||
| config: | ||
| connection_configuration: | ||
| server_uri: "{IBM_MQ[SERVER_URI]}" | ||
| connection_factory_class_name: | ||
| "{IBM_MQ[CONNECTION_FACTORY_CLASS_NAME]}" | ||
| username: "{IBM_MQ[USERNAME]}" | ||
| password: "{IBM_MQ[PASSWORD]}" | ||
| queue: "{IBM_MQ[SOURCE_QUEUE]}" | ||
| - pipeline: | ||
| type: chain | ||
| transforms: | ||
| - type: ReadFromIbmMQ | ||
| config: | ||
| connection_configuration: | ||
| server_uri: "{IBM_MQ[SERVER_URI]}" | ||
| connection_factory_class_name: | ||
| "{IBM_MQ[CONNECTION_FACTORY_CLASS_NAME]}" | ||
| username: "{IBM_MQ[USERNAME]}" | ||
| password: "{IBM_MQ[PASSWORD]}" | ||
| queue: "{IBM_MQ[SOURCE_QUEUE]}" | ||
| max_num_records: 3 | ||
| - type: AssertEqual | ||
| config: | ||
| elements: | ||
| - payload: message-1 | ||
| - payload: message-2 | ||
| - payload: message-3 |
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,56 @@ | ||
| # | ||
| # Licensed to the Apache Software Foundation (ASF) under one or more | ||
| # contributor license agreements. See the NOTICE file distributed with | ||
| # this work for additional information regarding copyright ownership. | ||
| # The ASF licenses this file to You under the Apache License, Version 2.0 | ||
| # (the "License"); you may not use this file except in compliance with | ||
| # the License. You may obtain a copy of the License at | ||
| # | ||
| # http://www.apache.org/licenses/LICENSE-2.0 | ||
| # | ||
| # Unless required by applicable law or agreed to in writing, software | ||
| # distributed under the License is distributed on an "AS IS" BASIS, | ||
| # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. | ||
| # See the License for the specific language governing permissions and | ||
| # limitations under the License. | ||
| # | ||
| fixtures: | ||
| - name: JMS | ||
| type: "apache_beam.yaml.integration_tests.temp_jms_activemq_server" | ||
| pipelines: | ||
| - pipeline: | ||
| type: chain | ||
| transforms: | ||
| - type: Create | ||
| config: | ||
| elements: | ||
| - payload: message-1 | ||
| - payload: message-2 | ||
| - payload: message-3 | ||
| - type: WriteToJms | ||
| config: | ||
| connection_configuration: | ||
| server_uri: "{JMS[SERVER_URI]}" | ||
| connection_factory_class_name: "{JMS[CONNECTION_FACTORY_CLASS_NAME]}" | ||
| queue: yaml-jms-test | ||
| - pipeline: | ||
| type: chain | ||
| transforms: | ||
| - type: ReadFromJms | ||
| config: | ||
| connection_configuration: | ||
| server_uri: "{JMS[SERVER_URI]}" | ||
| connection_factory_class_name: "{JMS[CONNECTION_FACTORY_CLASS_NAME]}" | ||
| queue: yaml-jms-test | ||
| max_num_records: 3 | ||
| - type: AssertEqual | ||
| config: | ||
| elements: | ||
| - payload: message-1 | ||
| - payload: message-2 | ||
| - payload: message-3 |
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -152,6 +152,7 @@ tasks.register("yamlIntegrationTests") { | ||
| dependsOn ":sdks:java:io:expansion-service:build" | ||
| dependsOn ":sdks:java:io:google-cloud-platform:expansion-service:build" | ||
| dependsOn ":sdks:java:io:debezium:expansion-service:shadowJar" | ||
| dependsOn ":sdks:java:io:messaging-expansion-service:shadowJar" | ||
Contributor There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Consider move this to postCommitYamlIntegrationTests. The test only need to be exercised on postsubmit time. The PreCommit becomes heavier as we are adding more expansion services (and test container). Same apply to Snowflake / Kenesis / debezium | ||
| doLast { | ||
| exec { | ||
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.