当前位置:主页 > 云通信 > 正文

大带宽_企业邮箱域名怎么写_优惠券

时间:2021-05-03 22:06 来源:埃里克云 编辑:埃里克云

核心提示

Something has been bothering me for the last several weeks.  I’ve learned that when I get this itchy feeling, it’s best to pursue it to it’s end so that I can remove it from my consciousness and move on to other things. Such is the...

Something has been bothering me for the last several weeks.  I’ve learned that when I get this itchy feeling, it’s best to pursue it to it’s end so that I can remove it from my consciousness and move on to other things.

Such is the case of the headless chrome-man.

I’ve been working on a series of blog posts with accompanying project that demonstrates what a successful partner provided SaaS offering with multitenancy should look like.  You can follow my story here:

If you look at the topic of multitant application development, you quickly realize that there is a needed interaction with the supporting platform.  The way multitenant applications work is integrated with the concept of subaccounts existing within a global account on a particular landscape.   The multitenant application account itself is deployed into a provider subaccount and registers itself with the system such that client subaccounts under the same global account can subscribe themselves to it.

Each subaccount currently must be created manually through the SAP Cloud Platform Cockpit user interface prior to it being subscribed to the multitenant app running in the provider subaccount(again within the same global account).

This poses a dilemma.  What if I want my prospect clients to be able to sign up for my SaaS offering without any manual intervention?  I don’t want to have to have a human in the workflow slowing things down.  I want my clients to immediately start benefitting from my offering.

Currently there is no public API for programmatically managing the lifecycle of subaccounts.  The manual process for creating a new subaccount looks like this.

Log into the SAP Cloud Platform Cockpit as a user with administrative rights to the global account.

This goes through an SSO authentication process that eventually lands you on the main page for the region in which the global account is hosted.

Select your global account.

Pick on the subaccounts link in the Info section or on the left-side menu bar.

This is the current url.

https://account.us1.hana.ondemand.com/cockpit/#/globalaccount//subaccounts

Notice it is at this point you can create a new subaccount with the "New Subaccount" button.

We can effectively start with this as our starting url and if we aren’t authorized in our current browser session, we’ll be relocated to our SSO sign-in screen and then relocated back to this screen.

What’s important to understand is that in an authorized mode, the browser contains cookies that allow further actions with the server because it’s maintaining a session context with the server.  If you loose(or have never established) a session, you’ll get an unauthorized response.  This is why you can’t just use curl and basic-auth to simulate these steps.

Just to show you what the next step looks like, we’ll click on the button and we get presented with the following popover dialog box.  There are a few mandatory text fields you need to enter and a few combobox fields that allow you to select the environment, provider, and region.  Depending on your choices, the dialog changes to allow for specifying a mandatory subdomain field.  As long as the subdomain is unique to the landscape, clicking the "Create" button with result in a successfully created new subaccount.

Easy right?  Now how would you go about automating that set of actions in a browser???

My first inclination is to bring out the SAP toolbox and see what I can wield to accomplish the task.

Intelligent Robotic Process Automation(iRPA) seems like it might fit the bill nicely.

iRPA does its work by controlling Windows based applications(including browsers) by understanding those applications structure and using windows system provided mechanisms to replicate user actions.  Once a set of tasks is defined, it’s uploaded to a SAP Cloud Platform side component to manage and schedule the jobs(tasks).

In addition, it can work in a user-centric way that guides a windows user to automate portions of their work and assist with hints and desktop integration with AI agents.

While I think iRPA can be used to accomplish my needs, it seems like a lot to have to set up a whole Windows desktop environment and to keep it available 24/7 in order to do something as simple as creating a subaccount.  Also, as of the time of this writing there is no API for triggering a iRPA job programmatically but that I’m told that this is a feature of an upcoming release.  Be sure to check with the iRPA roadmap to see if this has come to pass.  Stay tuned as I may revisit this with a future blog post.

But wait, since we’re talking about a process that happens in a browser and don’t most modern web app use a framework that relies on some sort of RESTful interface to the backend anyway?  Why can’t we just inspect the POST and replicate it with our application?

  • 企业网站_新白娘子传奇百度云_折扣 企业网站_新白娘子传奇百度云_折扣

    你好,社区, BSI TaxFactory和TaxFactory SaaS发布版本11.0可用。 在我们的合作伙伴BSI将其产品/产品BSI TaxFactory 10.0的维护延长至2021年4月30日之后。SAP还决定在2021年4月30日之前为BSI TaxFactor...

  • 消息队列_华云服务器_限量秒杀 消息队列_华云服务器_限量秒杀

    啊。我已经很久没在这里写博客了-对不起? 但这是一个很好的机会让我重新上马,这是我与SAP TechEd Barcelona的SAP社区负责人Craig Cmehil的"无采访视图"(无采访视图就像一次真正的采访...

  • <strong>域名备案_查看数据库密码_怎么样</strong> 域名备案_查看数据库密码_怎么样

    在本文中,我们将看到如何在sapcloudfoundry环境中为Spring启动应用程序配置OAuth2授权。但是在这样做之前,让我们先熟悉一下这个实现中涉及的几个重要概念。 简介 OAuth2–是一个授权框...

  • <strong>MySQL数据库_网站cdn_多少钱</strong> MySQL数据库_网站cdn_多少钱

    您已经听说了SAP Graph在SAP TechEd Las Vegas 2019发布的消息。微软Graph也非常棒,非常相似(哲学上+技术上),它不仅非常有用,而且我会给你一个微软Graph的工作示例/教程,让你了解它,...

  • 京东云_网站建设中页面_学生机 京东云_网站建设中页面_学生机

    在可预见的未来,向S/4HANA过渡的公司特定规划已将每个SAP客户列入其议程。S/4HANA实施项目越来越近了,因此也有一个问题:在技术和开发层面必须做哪些准备?正是这个主题是"S/4H...

  • <strong>天翼云_网站服务器失去响应怎么回事_代</strong> 天翼云_网站服务器失去响应怎么回事_代

    大家好, 欢迎来到一个关于用户浏览器没有启用JavaScript的用户体验主题的简短博客。 考虑到1%的设计理念,如果我们考虑那些禁用或不可用JavaScript的浏览器的用户(出于"天知道为什...

  • <strong>对象存储_网站建设外贸_速度快</strong> 对象存储_网站建设外贸_速度快

    在本文中,我将展示如何通过负载平衡器为我们的生产数据库构建一个具有高可用性的HANA驾驶舱。我建议您开始阅读SAP指南HowTo:High Availability for SAP HANA cockpit using SAP HANA system replicat...

  • <strong>中间件_重庆网站建设策划_促销</strong> 中间件_重庆网站建设策划_促销

    SAP Customer Data Cloud在9月份推出了许多功能。如果你错过了这些,下面是我们9月份发布的几个亮点。 与苹果公司登录:苹果公司已经发布了使用苹果ID登录应用程序的选项。他们甚至规...

  • 消息队列_马云御任阿里巴巴_年度促销 消息队列_马云御任阿里巴巴_年度促销

    本周在拉斯维加斯TechEd看到的创新给我留下了非常深刻的印象。今年似乎出现了比过去更多的业务倾斜。主要的宣布是我们可以通过业务技术平台扩展SAP应用程序 HANA云服务(HCS)是业...