kandi X-RAY | middleman-heroku Summary
kandi X-RAY | middleman-heroku Summary
middleman-heroku is an example on how to use Middleman and Heroku together. Following the installation you should have Middleman precompiling when pushed to Heroku, then served statically via Puma. The only expectation is that middleman build will generate your site into ./build which is where Rack::TryStatic will look.
Top functions reviewed by kandi - BETA
middleman-heroku Key Features
middleman-heroku Examples and Code Snippets
Trending Discussions on Platform As A Service
I have an application running on Azure PaaS (Tomcat) using Java, JSP and Azure SQL Database.
Users login to the application using a Web Browser and can then run a report, which involves using java to (i) extract data from the database, (ii) process it (iii) create an Excel file using Apache POI.
How is it possible to automate this process on a daily process from the backend?
Here are my ideas so far.
I discount using Azure Logic Apps as a complete solution as I need access to the java code in my application that creates the report.
I could copy and paste the report-generating code into an Azure Function and then automate this code using an Azure Logic App, but having duplicated code is obviously messy.
I could use some kind of automated testing tool (such as Selenium, or write my own) running on a separate machine to login to the system and extract the report, but this is also not so reliable, and requires a separate machine. I would prefer to do this on the backend.
Creating a servlet in the Java to execute the report without logging in, and then calling it via a Azure Logic App. (And blocking the servlet from public Internet access)
Does anyone have a neat solution?...
ANSWERAnswered 2022-Mar-30 at 18:34
Use a scheduler like quartz library. If your starting writing the app now I would say use spring boot. (Has multiple advantages, using it in 5 weapons that are in Prod, all running well. Optimizations were done in Persistence and network layers)
Spring uses quartz too. Anyway there are many ways to use quartz, but basically a method of your code will be called by it on the designated date/time/ frequency. Like once a day at 8am. That function can trigger out the tasks to create your report, ftp, email it and other backend tasks.
Don't use selenium ...not the right tool for this requirement.
We have installed Telegraf add-on for almost all the nodes in Jelastic paas environment. But for couple nodes we get the following message when we are trying to install the add-on:
We have read the documentation of Jelastic but could not find why we are getting this message. We have tested with a basic hello world manifest but even that was not possible to install, we do get the same message.
We have this problem for the following nodes:
Does anyone have experience with this message an how to resolve it?...
ANSWERAnswered 2022-Jan-03 at 13:34
Your Jelastic provider doesn't allow Telegraf to be installed on this type of node. You can ask them to allow that. Thanks
Is there anyway we can get notified in case of Azure PaaS service is down? example Storage account or Load balancer etc?...
ANSWERAnswered 2021-Dec-09 at 06:27
Thank you rickvdbosch. Posting your suggestion as an answer to help other community members.
- You can set Health alerts. "Azure Service Health notifies you about Azure service incidents and planned maintenance so you can take action to mitigate downtime. Configure customizable cloud alerts and use your personalized dashboard to analyze health issues, monitor the impact to your cloud resources, get guidance and support, and share details and updates."
can we add specific service in the service health?
In Service Health, choose the Potential impact tab to see the specific list of resources you own that might be impacted by the issue. You can download a CSV list of these resources to share with your team.
We are currently using Azure PaaS services like Azure Data Factory, Azure Databricks, Azure Storage Account, Azure Synapse Analytics, Power BI. Is it possible to run these PaaS services on container service - Azure Kubernetes Service[AKS] so that entire data pipeline can run as containers?...
ANSWERAnswered 2021-Dec-01 at 06:35
No. If you want an entirely containerized solution, you'll need to find or build containerized alternatives to these Azure services.
How to connect on premise from Azure PaaS Service?
What connectivity will be best suited in terms of security and performance?...
ANSWERAnswered 2021-Apr-06 at 07:38
You can use private link to do this. In terms of performance it depends on your IaaS Architecture and in what KPI you define. Here is a link to a good Microsoft document: zero-trust-part-1-networking
Most answers I've found here are a couple years old and thus the services on Heroku.com barely match with the answers here as things keep changing and it's driving me nuts.
I looked up and researched but all of them don't seem to work and looks like I'm not the only one having this issue.
How to stop an app on Heroku?
How to stop a heroku server?
Heroku dyno keeps rebooting constantly
I did turn on maintenance mode with
heroku maintenance:on and web to 0 with
heroku ps:scale web=0 as described here but my app still keeps using up my free dynos.
My app's resources are also off (I use to run the node worker)
Worker: node myapp.js
Despite all settings made above my used up dynos still keep increasing daily even though it says
No dynos on myapp. I always check it via CLI:
ANSWERAnswered 2021-Jan-25 at 11:10
Like I said in the comments, it's been fixed for some reason after a while but I didn't do anything different than before except that I've changed maintenance mode through the website - not via CLI. I performed the following changes.
- Turn on maintenance mode through website
- Entered this in the CLI:
heroku ps:scale web=0 -a myapp
- Resources are all offline
I provided these settings in case people got similar issues.
When an Azure PaaS service (ex:App Service) makes a call to another PaaS service in the same region, say SQL Database, is that traffic routed through Public Internet or routed entirely through Azure backbone network (like: for DNS resolution and other subsequent network hops). Is there any difference in the way this traffic is routed if the services are in different regions?...
ANSWERAnswered 2020-Aug-08 at 15:27
I got the answer, so I thought it will help the community if someone has the same question.
The PaaS - PaaS traffic stays entirely within Azure backbone network. Link here
I am trying to login in Azure SQL active password authentication using cloudhsell below is the error I am facing mentioned in the screen shot.I am not able to understand is this the authentication issue or syntax issue in my script.
$cxn.open will open the connection but before that only I am facing issue.
After that I need to exectue the below commands...
ANSWERAnswered 2020-May-10 at 04:58
I'm not sure if this will fix all your issues, but there is a syntax error there. In your connection string you put authentication="Azure Active Directory"" that is a syntax error because your double quote actually ends the string... get rid of the "" around the azure active directory. like. authentication=Azure Active Directory"; that would at least get rid of the syntax error.
I am trying to execute below command in azure devops to set the AD group as setsqlserveradmin....
ANSWERAnswered 2020-May-11 at 02:54
I can reproduce your issue, first, make sure the group is in the same tenant of your service connection.
Then navigate to the Azure portal ->
Azure Active Directory ->
App registrations -> find the AD App Registration related to your service connection, follow the steps below to add the Application permission
Azure Active Directory Graph(not
Microsoft Graph), don't forget to click the
Grant admin consent for xxx button at last.
After adding the permission, there is some delay(30m - 1h), then test the command, it works.
There is one task which is simple and easily achieved using cloud shell, I need to give access to my
Datafactory get, set in access policies commands
ANSWERAnswered 2020-May-07 at 02:12
To run the command
Set-AzKeyVaultAccessPolicy, it will call the Azure AD Graph to validate the
$objectid you passed. In could shell, it uses the credential of your user account, it works means your user account has the permission. In devops, the service principal has no permission to do that by default.
To solve the issue, the easiest way is to use the
-BypassObjectIdValidation parameter like below, then it will work fine.
No vulnerabilities reported
Reuse Trending Solutions
Subscribe to our newsletter for trending solutions and developer bootcamps
Share this Page