Microsoft Teams notifications via springboot app - spring-boot

Currently, slack channel is used in our spring boot application to post any updates/ notifications for a file processed successfully or not . The version I could see in pom.xml for the artifact “SimpleSlackApi” is “1.2.0”.
The requirement is to post the same notifications to “ Microsoft teams channel“ instead of Slack channel.
I am in search of a similar teamsApi which can serve the purpose . Need to implement this in my spring boot application and remove slack notification from the same .
I have created a teams channel and added the webhook URL in the application.yml file for my spring boot project .But unable to figure out the corresponding package/ library / maven plugin to be included in my pom.xml to add the dependency like that of slack api . Refer attached screenshot from my pom.xml - enter image description here

Related

HDFC payment gateway integration - JSP Spring boot

I need to integrate hdfc payment gateway with Springboot application.i have received the kit from hdfc which contains JSP pages and jar file. If anyone help with code integration and steps that would be great.
I have imported the JSP files and jar changed the access key and all. When I try to hit datafrom.html it's not working

jHipster microservice Swagger-UI not available in registry / control center API tab

Microservice local project based on jHipster 7.8.1
Generated:
registry
control center
API Gateway
test microservice
Test microservice has classs with #RestController #RequestMapping("/api") #GetMapping("/cars") annotations.
Authorization with JWT Token. Base64-secret was updated, same value in every app.
I can see my test app and api gateway in control center and registry, but they are not visible in API tab.
I would like to see my test microservice app swagger visible via registry/control center API tab. What should i do to achieve that?
IMHO it's related to replacement springfox to springdoc - https://www.jhipster.tech/2022/01/02/jhipster-release-7.5.0.html. It looks that control-center hasn't been applied to this change.

what is service url in spring starter project? Alternatives for default service url https://start.spring.io

I am new to Spring boot.
While creating a New Spring Starter project in STS there is a Service URL dropdown defaults to https://start.spring.io as given below.
I searched in stack overflow but didn't find any information about it.
What is the use of specifying this? Why it has been given as editable? Is there any alternative available instead of https://start.spring.io?
I noticed that tried with any other URL, it tries to parse as json and gives exception given below.
JSONException: A JSONObject text must begin with '{' at character 3
Need clarification, what is happening in background?
It is a simple client server architecture which various UI clients such as Spring Boot CLI , IDE or official web UI talk to the same backend HTTP API that actually generates the spring starter project.
The service URL is the URL of this HTTP API. Spring Team already deploy an official one at https://start.spring.io which you can simply use it.
But in case if you want to build your own customised version , you can checkout its source codes , modify according to your needs and deployed to your own server. Then change the service URL to your API server 's URL in order to use it.

Spring Cloud Hystrix Dashboard not working with OAuth

I am trying to run a simple Spring app with Hystrix Dashboard. I have also enabled Spring security on this app, as the hystrix.streams I want to monitor are security enabled.
When I access the dashboard url, I get redirected to a login page as expected to get my token, and then after login, I see the dashboard page. I then paste in the url of a hystrix.stream that I wish to monitor and press monitor, however, the next page simply has "Loading..." for both Circuit and Thread pools. I am running this in a PCF environment :
I can see in the Gradle Dependencies for the project that the version of Hystrix that Spring Cloud Starter is including is 1.4.0-RC6. I download the war for hystrix-dashboard 1.4.0-RC6 from here, and ran that, and noticed that even though I pasted in a correct token in the Authorization window, the effect was the same as the Spring Cloud Hystrix Dashboard - stuck in "Loading..."
When I ran hystrix-dashboard wars versions 1.4.3 and higher, there was no issue.
Perhaps the version of hystrix in Spring Cloud Hystrix needs to be updated?
For gradle we recommend using dependency-management-plugin as the gradle policies for resolving dependencies can cause problems.

Spring Rest Data Application in Google Appengine

I've a Spring rest service Application with spring Data Repositories,which I want to deploy to Google APP engine.
But when i try to activate the Google AppEngine settings in my Project properties it comes to an error as soon as i enter a value for Applications ID. cannot set application ID(appengine-web.XML)
I want to put a appegine-web.XML into WEB-INF folder, but WEB-INF folder does not exist in my project.

Resources