【文件属性】:
文件名称:play-cedar-services-examples:使用 Play 框架实现的 CEDAR 服务示例
文件大小:67KB
文件格式:ZIP
更新时间:2021-06-07 22:20:36
雪松服务示例
这是一个项目,其中包含一些使用在 Java 中实现的 Web 服务示例。 该项目的多模块结构基于模板 ,它允许将 Maven 构建系统与 Play 一起使用。
该项目包含两个子目录:
cedar-services-examples-core:服务核心逻辑。
cedar-services-examples-play:服务的基于播放的功能。
版本
Java:1.8
播放框架:2.3.8
MongoDB:3.0.0
入门
克隆项目:
$ git clone https://github.com/metadatacenter/play-cedar-services-examples.git
安装 MongoDB:
$ brew install mongodb
启动MongoDB服务器:
$ mongod
运行测试
转到项目根文件夹并执行Maven“test”目标
【文件预览】:
play-cedar-services-examples-master
----project()
--------build.properties(19B)
--------Pom.scala(1KB)
--------Build.scala(945B)
--------plugins.sbt(298B)
----cedar-services-examples-core()
--------src()
--------pom.xml(3KB)
----build.sbt(0B)
----cedar-services-examples-play()
--------conf()
--------public()
--------test()
--------pom.xml(5KB)
--------app()
----README.md(1KB)
----pom.xml(2KB)
----.gitignore(140B)