Approval workflows in Azure API Manager - azure-api-management

I have 2 questions related to $subject.
1) Can I configure and approval process for API product publishing task?
2) Can I configure an approval process for user sign ups in developer portal?
Thanks.

This can be done outside of APIM utilizing its Git support, some more information here: https://github.com/Azure/azure-api-management-devops-resource-kit. Basic idea is to organize approval process for developers to merge into master branch. And then deploy APIM config from there.
See Delegation: https://learn.microsoft.com/en-us/azure/api-management/api-management-howto-setup-delegation

Related

Publishing Azure APIM Portal Does Not Work

I am trying to publish the Azure APIM developer portal - it is enabled for user/pass - authentication. We haven't customized it and are just trying to get it to work.
When I click publish and go to view the portal in a different browser I get the following message
"This is a home page of the Developer portal - an automatically generated, fully customizable website for publishing your API documentation where consumers can discover APIs, learn how to use them, request access, and try them out.
The content hasn't been published yet. You can do so in "Developer portal" section of your API Management Service in the Azure portal. Learn more."
When I go back to the Portal publish page, it resets to show "Publish" as if nothing has happened?
Are there any logs or anything I can test to get this to work?
BTW - the Legacy portal works 100%.
Thank you.
I have Created the APIM instance and added the HTTP Trigger API from Function App and published the developer portal by enabling the CORS option also.
Next, I have created the user and given all APIs Level access in the APIM Instance and opened both deprecated and legacy portal in different browser, logged in with the non-administrative user:
You can see logs of all activities in the Activity log of APIM Instance:
To see the Function App API imported in the APIM Instance, you have to add that API to the products subscribed by that user:
Published the developer portal again with new changes:
Activity Logs:
Result:
You can check each log activity from the Activity log to see complete details whether the operation publish or other is succeeded and how much time it took to complete.

Manifest V3 Policy Question - Is this loading a configuration or building an interpreter?

The newest Manifest V3 policy for Google Chrome states the following:
Building an interpreter to run complex commands fetched from a remote
source, even if those commands are fetched as data
I am building a Google Chrome plug in that helps automate logging in for our enterprise users. Sometimes, the websites we support change their layouts or their login flows. When we detect this scenario, I want to be able to send an updated configuration to our extension from our servers so that our extension is aware of the new steps to execute to login.
Would this general flow be a violation of the above policy?
Appreciate any feedback on this!
Best,
Cerby Extensions

How to perform Google Add-on automated deployment/publishing?

My team is trying to apply modern software engineer techniques in developing an editor add-on for Google Spreadsheet.
With clasp, typescript, jest, git, GCP and CircleCI we were able to achieve:
local development with our preferred source code management;
unit testing/tdd on our domain rules;
manage add-on versions by clasp;
observability with Stackdriver on GCP;
with CircleCi, we create a pipeline that executes unit-tests, makes clasp push and versions the add-on with the commit hash as a description.
In addition, through Google Marketplace SDK, the add-on has been distributed privately in our domain, therefore it doesn't need Google approval.
The point is: we're looking for a way to add a step in our pipeline to, programmatically, update and manage our published add-on.
e.g.: after the generation of a new version with clasp, how to put it in the App Configuration on GCP?
gcp app configuration page
In the documentation there are only manual steps.
Thank you all =)
At some time in the future, it may be possible to use the:
G Suite Add-ons Cloud API
to automatically "deploy" an add-on.
https://developers.google.com/gsuite/add-ons/guides/alternate-runtimes-overview
But I'm not sure what a "deployment" includes.
I'm not sure if there is a way to do this through the Google Cloud Deployment Manager:
https://cloud.google.com/sdk/gcloud/reference/deployment-manager
https://cloud.google.com/deployment-manager/docs
I don't see a gcloud command category for the G Suite Marketplace.
The G Suite Marketplace SDK is solely a Web Based UI tool. And even though there is a G Suite Marketplace API, it has no capability to create or update an editor add-on listing.
https://developers.google.com/gsuite/marketplace/reference/rest?hl=en_US
There are aspects of the Cloud Project that the editor add-on is attached to, that can be programmatically managed through gcloud commands, using the G Cloud Projects tool. For example, you can set and update whether a user has permission to do certain things with the Cloud Project. But all of those things are in a different category than publishing a G Suite Marketplace editor add-on.
https://cloud.google.com/sdk/gcloud/reference/projects
The Cloud Project that the G Suite Marketplace SDK is associated with doesn't directly control the G Suite Marketplace SDK.
I would look at the Google Cloud Deployment Manager to see if there is a way to do this. Other than the Google Cloud Deployment Manager, I haven't discovered any other leads that look hopeful.

Run API test in CI (Jenkins)

What is the best way to run an API test that was created via the IBM API Connect Test and Monitor ?
I published a test and I would like my CI sever (jenkins or azure devops) to run it?
Many thanks,
Assaf
Great question Assaf. It is currently not possible in the product, however, is on the roadmap and is coming soon.
We will have APIs and Webhooks to help execute tests as part of your CI/CD processes. Meaning, the same tests you generated using the test composer and run in production can be recycled to ensure your deployments are error free.
As well, Jenkins is an industry standard so we will be providing a plugin to help facilitate the API testing processes via GUI. More details to come, will update this space when it does.
Alternatively keep your eye out here: http://ibm.biz/apitest

jira update ticket using script

Is there any way update Jira ticket using scripts?
Basically I will have a build from hudson/jenkins and if I get the Jira ID in all changes then corresponding ID should be updated to release version in Jira? Can any one help me? I am bit new to Jira admin.
It's a bit difficult to understand the question but there is a Jira plugin for jenkins that does what I think you're asking:
Here is a link to the Jenkins JIRA plugin, you'll need to make sure the web service API for JIRA is enabled in the JIRA admin interface.
JIRA has a SOAP (and in some version REST) web service that would allow you to make an HTTP request to JIRA to make changes to a ticket. If the Jenkins plugin that Mike K suggested does not work for you, then you can look at writing a script that would make the request that you need.