Skip to content
This repository was archived by the owner on Jul 9, 2022. It is now read-only.

Initial commit for WASB MVP#177

Open
kdunn-pivotal wants to merge 17 commits intospring-attic:mainfrom
kdunn-pivotal:master
Open

Initial commit for WASB MVP#177
kdunn-pivotal wants to merge 17 commits intospring-attic:mainfrom
kdunn-pivotal:master

Conversation

@kdunn-pivotal
Copy link
Copy Markdown

Azure isn't currently implemented in Spring Integration so this is wildly different than how the S3 sink looks (with very limited functionality). I basically just implemented the "hello world" from the MS reference and tested two variations of SCDF streams, as shown in the README.

Mainly looking to provide a template to iterate on and get feedback on best practices for these types of modules.

Thanks,
Kyle

Comment thread azure-storage/pom.xml

<parent>
<groupId>org.springframework.cloud.stream.app</groupId>
<artifactId>spring-cloud-stream-app-starters</artifactId>
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Shoud use starter-parent as the parent, at least at the time of writing

Copy link
Copy Markdown
Author

Choose a reason for hiding this comment

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

This conflicts with how the aws-s3 parent is defined - I used this as a template. Please advise, as I get build errors trying to make it starter-parent

@artembilan
Copy link
Copy Markdown
Contributor

Hello @kdunn-pivotal !

Sorry for such a big delay and really thank you for the effort in the Azure direction 😄 .

I'm not familiar with that yet, but hope to study something together with you reviewing your PRs or so.
But... I'm familiar with Spring Integration and can help you to raise Azure extension. 😄

We can finish this Blob storage application and then move the code for adapter into Spring Integration Azure project. Or can do that right now and have some divided work.
We have this JIRA on the matter https://jira.spring.io/browse/INTEXT-183 already.
There is something like this https://jira.spring.io/browse/INTEXT-49, but as you know we already have AWS S3 adapters and may just end up with an Azure extension with a particular solution in their style.

Let me know what works for you better!

A general comment: it is much better to make changes in the top level branch, not master.
Otherwise it is enough hard to catch up changes in the upstream.

Consider to do that now and close this PR in favor of proper one against correct branch.

@sabbyanandan , do we need a GH-issue story for this or just PR is enough?
At least I heard like that from Boot guys.
Thanks

P.S. Big thanks to @ericbottard for review in SCSt style. I would definitely miss those cases 😉

<repository>
<id>maven2-repository.dev.java.net</id>
<name>Java.net repository</name>
<url>http://download.java.net/maven/2</url>
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Why do we need this extra repository?
If it is for Azure, I think it is there in the Central already: http://search.maven.org/#search%7Cga%7C1%7Ca%3A%22azure-storage%22

Copy link
Copy Markdown
Author

Choose a reason for hiding this comment

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

Great question. I'm not much of a Java wonk so I didn't try to scrub the poms to be minimal...

@artembilan
Copy link
Copy Markdown
Contributor

You have done something wrong, my friend, in the latest commit.
Right now in the PR we have only one file changed. 😢


<properties>
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
<java.version>1.8</java.version>
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

I'm not that we have moved to Java 8 already here...
I assume that we fully rely on the Spring Boot options from the top-level parent.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

Development

Successfully merging this pull request may close these issues.

4 participants