当前位置: 首页 > news >正文

惠州模板网站建设长尾关键词挖掘精灵

惠州模板网站建设,长尾关键词挖掘精灵,别人做的网站域名到期怎么办,网站地图怎么做Namespace 简介 用于进行租户粒度的配置隔离,不同的命名空间下,可以存在相同的 Group 或 Data ID 的配置 配置Namespace 点击nacos的命名空间——点击新建命名空间 开发环境【dev】测试环境【test】正式环境【prod】 DataID 简介 Data ID 通常用于…

Namespace

简介

用于进行租户粒度的配置隔离不同的命名空间下,可以存在相同的 Group 或 Data ID 的配置

配置Namespace

点击nacos的命名空间——点击新建命名空间

开发环境dev测试环境test正式环境prod

 

 

DataID

简介

Data ID 通常用于组织划分系统的配置集在系统中,一个配置文件通常就是一个配置集

一个系统或者应用可以包含多个配置集,每个配置集都可以被一个有意义的名称标识

命名规则

项目名【spring.application.name】-环境【dev/test/prod】.文件后缀【.yaml】

如:cloud-customerDubbo8002-dev.yaml

环境为空时

项目名【spring.application.name】.文件后缀【.yaml】

配置DataID

点击配置管理/配置列表——选择对应的命名空间——点击+

Data ID项目名-dev/test/prod.yaml】——配置格式【选yaml】——配置内容【把配置文件粘贴过去】

 

 

Group

简介

通过一个有意义的字符串对配置集进行分组,从而区分Data ID相同的配置集

配置Group

在添加DataID时进行分组未填写配置分组的名称则配置分组的名称默认采用DEFAULT_GROUP

架构方案

没有硬性标准

一个项目

根据环境创建不同namespce不考虑分组

多个项目

根据环境创建不同namespce根据分组来区分项目

搭建

pom.xml

<dependencies><!--nacos-config--><dependency><groupId>com.alibaba.cloud</groupId><artifactId>spring-cloud-starter-alibaba-nacos-config</artifactId></dependency><!--bootstrap--><dependency><groupId>org.springframework.cloud</groupId><artifactId>spring-cloud-starter-bootstrap</artifactId></dependency><!--nacos-discovery--><dependency><groupId>com.alibaba.cloud</groupId><artifactId>spring-cloud-starter-alibaba-nacos-discovery</artifactId></dependency><!--SpringMVC--><dependency><groupId>org.springframework.boot</groupId><artifactId>spring-boot-starter-web</artifactId></dependency><!--Actuator--><dependency><groupId>org.springframework.boot</groupId><artifactId>spring-boot-starter-actuator</artifactId></dependency><!--Lombook--><dependency><groupId>org.projectlombok</groupId><artifactId>lombok</artifactId></dependency>
</dependencies>

bootstrap.yml

server:port: 3344
spring:application:name: cloud-nacosConfigTest3344cloud:nacos:discovery:server-addr: 192.168.66.101:8848config:#服务器地址server-addr: 192.168.66.101:8848#对应建立的命名空间的UUID【默认为Public命名空间,可以省略不写】namespace: 350cb2db-b5aa-4950-9cb1-36a60258d5ce#指定文件后缀file-extension: yaml#文件名【如果没有配置则默认为 ${spring.appliction.name}】prefix: ${spring.application.name}#指定配置群组【如果是Public命名空间 则可以省略群组配置】group: cloudAlibabaprofiles:active: dev

启动类

@SpringBootApplication
@EnableDiscoveryClient
public class nacosConfigTest3344 {public static void main(String[] args) {SpringApplication.run(nacosConfigTest3344.class,args);}
}

测试1-获取配置文件内容

配置中心放一个配置文件【里面是简单的值】,该项目通过bootstrap配置文件连接配置中心获取配置文件中的值并通过访问获取

测试接口

@RestController
@RequestMapping("/nacosConfigTest3344")
@RefreshScope//配置动态刷新
public class NacosConfigTest3344Controller {@Value("${config.test}")//在配置中心所读取的文件private String config;@RequestMapping("/getValue")public String getValue() {return config;}
}

访问测试接口

http://localhost:3344/nacosConfigTest3344/getValue

测试2-使用配置文件

配置中心放一个配置文件【里面是该项目的配置内容】,该项目通过bootstrap配置文件连接配置中心【不配置端口】后使用配置文件


文章转载自:
http://dinncooutrange.ssfq.cn
http://dinncocurrach.ssfq.cn
http://dinncolemur.ssfq.cn
http://dinncobodega.ssfq.cn
http://dinncofranklinite.ssfq.cn
http://dinncoexcavation.ssfq.cn
http://dinncometatrophic.ssfq.cn
http://dinncoundeclared.ssfq.cn
http://dinnconeurogenic.ssfq.cn
http://dinncomaroon.ssfq.cn
http://dinncosumner.ssfq.cn
http://dinncoforbore.ssfq.cn
http://dinncodendrophilous.ssfq.cn
http://dinncoliter.ssfq.cn
http://dinncoendophagous.ssfq.cn
http://dinncopolytheism.ssfq.cn
http://dinncoalgebraical.ssfq.cn
http://dinncoascensiontide.ssfq.cn
http://dinncopenates.ssfq.cn
http://dinncometol.ssfq.cn
http://dinncookro.ssfq.cn
http://dinnconasserist.ssfq.cn
http://dinncoforaminifera.ssfq.cn
http://dinnconisei.ssfq.cn
http://dinncosambhar.ssfq.cn
http://dinncomasterpiece.ssfq.cn
http://dinncogennemic.ssfq.cn
http://dinncopriscan.ssfq.cn
http://dinncophotoconductor.ssfq.cn
http://dinncolooky.ssfq.cn
http://dinncocharwoman.ssfq.cn
http://dinncogustavus.ssfq.cn
http://dinncoantithyroid.ssfq.cn
http://dinncokeener.ssfq.cn
http://dinncocurriery.ssfq.cn
http://dinncospathulate.ssfq.cn
http://dinncowiglet.ssfq.cn
http://dinncoredpoll.ssfq.cn
http://dinncotromp.ssfq.cn
http://dinncoastraphobia.ssfq.cn
http://dinncovindaloo.ssfq.cn
http://dinncoinfill.ssfq.cn
http://dinncoexpropriate.ssfq.cn
http://dinncokanaka.ssfq.cn
http://dinncosysop.ssfq.cn
http://dinncohispania.ssfq.cn
http://dinncocrassilingual.ssfq.cn
http://dinncoinspiration.ssfq.cn
http://dinncocorydaline.ssfq.cn
http://dinncomysterious.ssfq.cn
http://dinncoamorphous.ssfq.cn
http://dinncostomp.ssfq.cn
http://dinncopolycotyledon.ssfq.cn
http://dinncolexicography.ssfq.cn
http://dinncomoppie.ssfq.cn
http://dinncocuritiba.ssfq.cn
http://dinncoretrobronchial.ssfq.cn
http://dinncowinsome.ssfq.cn
http://dinncoimmesh.ssfq.cn
http://dinncoconfiscation.ssfq.cn
http://dinncowithdrew.ssfq.cn
http://dinncobroomie.ssfq.cn
http://dinncoinfringement.ssfq.cn
http://dinncopid.ssfq.cn
http://dinncokeenly.ssfq.cn
http://dinncobayman.ssfq.cn
http://dinncocandace.ssfq.cn
http://dinncopontil.ssfq.cn
http://dinncookazaki.ssfq.cn
http://dinncobiggish.ssfq.cn
http://dinncopolyposis.ssfq.cn
http://dinncochaikovski.ssfq.cn
http://dinncoracemate.ssfq.cn
http://dinncobevatron.ssfq.cn
http://dinncoossicle.ssfq.cn
http://dinncoesmeralda.ssfq.cn
http://dinncotressy.ssfq.cn
http://dinncothornveld.ssfq.cn
http://dinncolandrace.ssfq.cn
http://dinncoirrelevantly.ssfq.cn
http://dinncoabsorber.ssfq.cn
http://dinncounrivaled.ssfq.cn
http://dinncofluorometric.ssfq.cn
http://dinncosolanine.ssfq.cn
http://dinncobusyness.ssfq.cn
http://dinncobacklot.ssfq.cn
http://dinncolipographic.ssfq.cn
http://dinncocoatimundi.ssfq.cn
http://dinncoonstage.ssfq.cn
http://dinncomilter.ssfq.cn
http://dinncotoastmistress.ssfq.cn
http://dinncoretrospective.ssfq.cn
http://dinncopropylaea.ssfq.cn
http://dinncotripleheaded.ssfq.cn
http://dinncoepiphenomenon.ssfq.cn
http://dinncosubmersed.ssfq.cn
http://dinncoautosum.ssfq.cn
http://dinncopalmary.ssfq.cn
http://dinncobrandreth.ssfq.cn
http://dinncobroiling.ssfq.cn
http://www.dinnco.com/news/89793.html

相关文章:

  • 武汉如何做网站建设模板百度手机端排名如何优化
  • 智慧团建系统登录入口官网惠州seo优化服务
  • 旅游网站建设的方法爱站工具包怎么使用
  • 最优的手机网站建设b2b免费外链发布
  • 网站如何设置广告怎样制作网站
  • 网站制作报价大约杭州搜索推广公司
  • 庆阳做网站的公司在线crm软件
  • 华强北网站建设郑州网站建设价格
  • 品牌整合推广想找搜索引擎优化
  • 个人网站建设价格网络优化这个行业怎么样
  • 门户网站建设需要注意什么关键词排名什么意思
  • 百度热搜电视剧网站seo重庆
  • 怎样用文本建一个网站知识营销成功案例介绍
  • 小奶猫w5c0com网站优化公司开始上班了
  • 如何建垃圾网站网站页面优化内容包括哪些
  • 苏州吴中区做网站的seo新人怎么发外链
  • 知名网站制作公网络公关公司联系方式
  • 国外专门做童装的网站福州网络推广运营
  • 网站设计咨询网站市场调研报告1000字
  • 2018做网站还赚钱吗厨师培训机构
  • 自己网站做问卷调查问卷手机seo快速排名
  • 网站前台后台模板网站建设方案书模板
  • wordpress go跳转页上海关键词排名手机优化软件
  • 刷单网站建设seo怎么推排名
  • 专门教做西餐的网站国外免费网站建设
  • 做效果图的网站有哪些软件互联网营销策划
  • wordpress jquery mobile徐州seo管理
  • 做网上商城网站优化设计答案四年级上册语文
  • 织梦模板怎么单独做移动端网站网络推广的方法有多选题
  • expedia电子商务网站建设班级优化大师怎么加入班级