portal

Apollo多环境切换

ⅰ亾dé卋堺 提交于 2019-12-02 15:08:27
在初学Apollo的时候,一直有一个问题没想通,就是Apollo多个环境是怎么创建和切换的。刚突然想通了,先记录一下,后续待验证测试。 创建多个环境 看官方文档时,Apollo有一个很便利的特点,就是portal可以管理多个环境,如env=dev(fat,uat,pro…),所以第一,我们需要有这多个环境。根据官方文档,每一个环境需要独立部署一套Config Service、Admin Service和ApolloConfigDB,所以第一步需要在不同的服务器安装这些环境。(portal和ApolloPortalDB可以共用)。 将多个环境配置到portal中 向portal添加环境其实很简单,只需要修改portal的配置文件就好(apollo-env.properties这里有多种方式,可以去查看官网文档,我这里只写集群部署的配置文档)。 文档基本内容如下: local.meta=http://localhost:8080 dev.meta=http://localhost:8080 fat.meta=http://fill-in-fat-meta-server:8080 uat.meta=http://fill-in-uat-meta-server:8080 lpt.meta=${lpt_meta} pro.meta=http://fill-in-pro-meta-server

Usage of PortalDelegateServlet in Liferay

这一生的挚爱 提交于 2019-12-02 08:17:47
问题 I'm trying to create a servlet which shares liferay session contents with my application.So I need to use PortalDelegateServlet .But I can not find in how to import this library to my project.I can not find any .jar files or something. How can I import liferay java library to my project? 回答1: PortalDelegateServlet is in portal-service.jar which is a required part of the Liferay container. If you grabbed a bundle (which in comment you mention the Tomcat bundle), then it is provided for you.

Usage of PortalDelegateServlet in Liferay

半腔热情 提交于 2019-12-02 06:21:33
I'm trying to create a servlet which shares liferay session contents with my application.So I need to use PortalDelegateServlet .But I can not find in how to import this library to my project.I can not find any .jar files or something. How can I import liferay java library to my project? PortalDelegateServlet is in portal-service.jar which is a required part of the Liferay container. If you grabbed a bundle (which in comment you mention the Tomcat bundle), then it is provided for you. All you should need to do is configure your web.xml : <servlet> <!-- http://issues.liferay.com/browse/LEP-2297

Is it possible to create dynamically pluggable GWT widgets/portlets in separate war files?

社会主义新天地 提交于 2019-12-01 17:53:41
Is it possible to create widgets / portlets in GWT that can be dynamically loaded and added to a GWT web application, and where the GWT widgets can reside in a separate war files? To clarify my question: JSR168/JSR286 compliant portals make it possible to create portlets in separate projects (war files) and to dynamically load these into a portal page. Suppose you want to do something similar in a GWT application. So suppose we made a portal using only GWT for the GUI (no JSP or alike) and we want to dynamically add a "portlet" written in pure GWT. Would that be possible? I can imagine that it

配置中心-Apollo

[亡魂溺海] 提交于 2019-12-01 02:33:47
配置中心-Apollo 2019/10/01 Chenxin 配置服务主要有 携程Apollo、百度Disconf、阿里ACM,目前以Apollo用户量最大.适用场景,多用于微服务,与K8S结合好. 携程Apollo https://github.com/ctripcorp/apollo Apollo - A reliable configuration management system. Apollo(阿波罗)是携程框架部门研发的分布式配置中心,能够集中化管理应用不同环境、不同集群的配置,配置修改后能够实时推送到应用端,并且具备规范的权限、流程治理等特性,适用于微服务配置管理场景。服务端基于Spring Boot和Spring Cloud开发,打包后可以直接运行,不需要额外安装Tomcat等应用容器。 Java客户端不依赖任何框架,能够运行于所有Java运行时环境,同时对Spring/Spring Boot环境也有较好的支持。 .Net客户端不依赖任何框架,能够运行于所有.Net运行时环境。 百度Disconf https://github.com/knightliao/disconf Disconf - Distributed Configuration Management Platform(分布式配置管理平台).

定制Dynamics 365 Portal 界面

一个人想着一个人 提交于 2019-11-30 10:28:43
1、通过Portal Designer直接进行定制 以管理员用户登录Portal后会出现Portal Designer,可以进行对homepage的部分元素及Navigation直接进行定制 2、通过修改Web template修改页面内容 例如,如果不喜欢Homepage上的Forum Section,需要隐藏,可以直接找到 Portal/Web template/Home,然后在页面的标签代码中使用{%comment %} {%endcomment %}将Forum部分注释掉 3,通过Custom Script定制页面 Entity List和Entity Form等页面都是支持Custom Script 的,可以通过这个功能实现类型于CRM SDK JS的逻辑 添加按钮的效果如下: 来源: https://www.cnblogs.com/liaochifei/p/11578812.html

Python核心技术与实战 笔记

人盡茶涼 提交于 2019-11-30 03:26:27
基础篇 Jupyter Notebook 优点 整合所有的资源 交互性编程体验 零成本重现结果 实践站点 Jupyter 官方 Google Research 提供的 Colab 环境 安装 运行 列表与元组 列表和元组,都是 一个可以放置任意数据类型的有序集合 。 l = [1, 2, 'hello', 'world'] # 列表中同时含有 int 和 string 类型的元素 l [1, 2, 'hello', 'world'] tup = ('jason', 22) # 元组中同时含有 int 和 string 类型的元素 tup ('jason', 22) 列表是动态的,长度大小不固定,可以随意地增加、删减或者改变元素 (mutable) 元组是静态的,场地大小固定,无法增加删除或者改变 (immutable) 都支持负数索引; 都支持切片操作; 都可以随意嵌套; 两者可以通过 list() 和 tuple() 函数相互转换; 列表和元组存储方式的差异 由于列表是动态的,所以它需要存储指针,来指向对应的元素。增加/删除的时间复杂度均为 O(1)。 l = [] l.__sizeof__() // 空列表的存储空间为 40 字节 40 l.append(1) l.__sizeof__() 72 // 加入了元素 1 之后,列表为其分配了可以存储 4 个元素的空间 (72 -

Out of Memory error starting JBoss with Portal from Eclipse

此生再无相见时 提交于 2019-11-29 23:31:16
问题 I cannot get JBoss Portal to start from Eclipse, though the AS alone starts fine, and the Portal starts correctly as well, when started from the command line as opposed to from within Eclipse. I'm running in Windows, with 3GB. Suggestions? Thank you. 回答1: I've spend hours to discover this, and almost gave up and started to use JBoss out of Eclipse. In order to increase your JBoss vmargs when starting it from Eclipse you have to change JBoss launch configuration. If you change standalone.conf,

Windows单机环境下ArcGIS Enterprise 10.7.1的安装教程-以Windows Server 2012 R2操作系统为例

Deadly 提交于 2019-11-29 19:38:22
Windows单机环境下ArcGIS Enterprise 10.7.1的安装教程-以Windows Server 2012 R2操作系统为例 目录 1、安装前的准备 1.1 系统要求 1.2 计算机名的修改 1.3 安装和配置IIS 1.3.1 安装IIS 1.3.2 创建和配置自签名证书 1.3.3 对IIS启用https 1.4 准备ArcGIS Enterprise安装所需的安装包 2、安装与配置ArcGIS Server 2.1 安装ArcGIS Server软件 2.2 创建站点 3、安装和配置ArcGIS Data Store 3.1 安装ArcGIS Data Store 3.2 为ArcGIS Data Store配置ArcGIS Server站点 4、安装和配置Portal for ArcGIS 4.1 安装Portal for ArcGIS 4.2 配置 Portal for ArcGIS 5、安装和配置webadaptor(IIS版) 5.1 安装Web Adaptor 5.2 用名为server的Web Adaptor配置ArcGIS Server 5.3 用名为portal的Web Adaptor配置Portal for ArcGIS 6、实现Portal for ArcGIS和server的联合托管 1、安装前的准备 1.1 系统要求

【开发者portal在线开发插件系列一】profile和基本上下行消息

蹲街弑〆低调 提交于 2019-11-29 18:32:44
前言: 开发者portal支持在线开发profile(即设备建模)、在线开发插件、模拟应用管理设备、模拟设备上报数据接收命令、支持离线开发的profile和插件的上传部署,是合作伙伴快速集成设备、对接联调的神器。 以上功能除了插件相关功能只支持NB-IoT场景,其他功能通用(NB-IoT、智慧家庭、车联网等) 话不多说,开始今天的演(表)示(演) 场景说明: 假设有一款烟感设备(NB设备),具有烟雾报警功能和温度上报功能,也支持远程控制命令(远程打开报警功能,比如某大楼某房间着火,可以根据火势及火灾现场温度远程打开其他房间的烟雾报警,提醒住户疏散) profile开发: 登录开发者portal,进入Profile开发->Profile在线开发->自定义产品->创建全新产品 这样,profile就开发完毕了。如果有保存按钮,记得点保存哦~ 在线插件开发: 登录开发者portal,进入插件开发->插件开发->添加插件->新建插件->选择对应的profile->点击确定。 可以在右边看到profile的内容: 点击新增消息: 添加一条数据上报消息: 为消息添加字段: 添加第一个字段,表示上报的火灾等级(1个字节就够用了): 添加第二个字段,表示温度(需要2个字节): 把右边profile的 属性一一 拖曳过来与字段关联起来: 请务必仔细看图 再点击左侧边上的新增消息按钮: