GitLab Confluence display pipeline status - gitlab-ci

How can I display the pipeline status in a Confluence page, with the colour of pass of failure?
I know there is an API you can call which returns all the project information. I'm sure I have seen this where it is possible to do.

Related

how to select the branch using teamcity API

I am trying to run a teamcity pipeline through the api, but I do not know how to send in the body the stream I want to sync to, should it be sent inside properties or inside changes tag, if so what would the exact syntax would be like? I have gone through the documentation and I have not been able to find how to do this. This is the screenshot of how I do it through the GUI

Shopify app for altering the default checkout procedure

I need to create a solution for altering the checkout process.
Better said, I need to add some functionality to it with a remote app (I am not sure if this is the right way to do it).
Mainly, what is needed represents a process that calls an external API, using a private API key from a delivery company, that registers a pick-up from the buyers house and sends the product to our headquarters.The process should be started when the user completes the entire checkout system from shopify, after payment.
After that, some AWB should be returned to the users checkout page, or some response regarding the creation of the pick up.
My question is, let's say, using some language like javascript with node and Koa or express, how one can achieve that? I can't find any tutorials or something that would help me do this.

Shopify - how to extend a checkout page in app?

I would like to create a Shopify app that adds an additional section to the checkout page - a possibility to select the delivery time window. I know that such apps already exist but I want to use my own application server to generate the values that can be selected.
What is the best way to approach this? I've spent last 2 days browsing shopify documentation and following various tutorials but I'm still confused. I thought that application bridge would be the way to go but after playing with it a bit it seems that it only allows to embed application frame in the admin panel, not on the checkout page.
Should my app send a script tag that would call my server and add the whole slot selection UI in javascript? Or should I maybe modify the templates somehow? Can I even make AJAX requests to third party servers from templates?
I would appreciate any advice.
Shopify revealed that there will be a Checkout Apps support soon, but that time isn't now.
So at the moment the Checkout page is standalone and you can't use the ScriptTag API in it.
If you are on a Shopify Plus account and you contacted Shopify to allow you to modify the checkout.liquid file you will be able to add your section manually.
With some additional JS logic you can pass the delivery time to the cart.attributes so that it will be present in the order info. But that's pretty much what you can do and only if you have a PLUS account.
If you plan to make larger modifications you will have to create an App that will have a custom checkout process... which will be a huge overkill for adding a single section, but that's a solution as well.

Active Collab API doesn't show all reports

I'm fetching all the open reports tagged as CHECKPOINT using the collab API and it's working fine. Although, when I run a custom report for the tasks, at Active Collab website, I get more and different results than what I fetched.
What I need is to get exactly the same results shown when running a custom report. Does anyone know how can I fix it or if it's a problem with the API itself?
Open browser console and see which requests ActiveCollab's web interface is making when making fetching data to build a report. Compre this with requests that you are making and see where the differences are.
Web interface gets served by the same API as your app is, so both can be made to work the same. As long as they are making the same requests, as same users.
Solution by OP.
By creating a data filter, it shows all the reports if "include_all_projects": true! Simple is that

Serenity BDD JVM How do i do action if the showl scenario fails or pass?

I build this framework with serenityBDD and JVM. I need to write results in test rail with an api that if my scenario fails, then to trigger this api. I cant add it in the scenario steps becuase if it fails before it might not get to that api. Is there a way for me to trigger this endpoint if the whole scenario fails? I also need to trigger it if it passes.
Example: If i cant get past putting in my credentials below, then i need to trigger api.
Scenario:Verify that i land on home page
Given I navigate to website
When I log in using my credentials
When I click on home page
Then I verify I am at home page