1

我的设置包括

  • Documentum Content Server 7.3 (dctm-cs) 在 docker 容器中运行(来自 EMC)
  • Documentum REST Services 7.3 (dctm-rest) 在 docker 容器中运行(来自 EMC)

我完全可以通过对 dctm 运行查询来从 dctm 中获取信息iapi,例如:

API> ?,c,select user_name from dm_user enable (return_top 5)
user_name
---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
docu
ubuntudb
dm_superusers
dm_superusers_dynamic
dm_browse_all
(5 rows affected)

我还可以$ curl http://localhost:8080/dctm-rest/repositories.json从 dctm-rest 容器及其主机容器中获取结果:

{"id":"http://localhost:8080/dctm-rest/repositories","title":"Repositories","author":[{"name":"EMC Documentum"}],"updated":"2017-08-16T21:42:44.177+00:00","page":1,"items-per-page":1000,"total":1,"links":[{"rel":"self","href":"http://localhost:8080/dctm-rest/repositories.json"}],"entries":[{"id":"http://localhost:8080/dctm-rest/repositories/ubuntudb","title":"ubuntudb","summary":"ubuntudb","updated":"2017-08-16T21:42:44.178+00:00","published":"2017-08-16T21:42:44.178+00:00","links":[{"rel":"edit","href":"http://localhost:8080/dctm-rest/repositories/ubuntudb.json"}],"content":{"type":"application/json","src":"http://localhost:8080/dctm-rest/repositories/ubuntudb.json"}}]}

尝试$ curl http://localhost:8080/dctm-rest/repositories/ubuntudb.json,但是无限期挂起。

我尝试通过基本 HTTP 身份验证提供默认用户名和密码,结果也相同。

dfc.propertiesdctm-cs中的文件内容:

dfc.data.dir=/opt/dctm
dfc.tokenstorage.dir=/opt/dctm/apptoken
dfc.tokenstorage.enable=false
dfc.docbroker.host[0]=ubuntustateless
dfc.docbroker.port[0]=1489
dfc.crypto.repository=ubuntudb
dfc.session.secure_connect_default=try_secure_first
dfc.globalregistry.repository=ubuntudb
dfc.globalregistry.username=dm_bof_registry
dfc.globalregistry.password=AAAAEL9wp8c6k3K2UTQJwTYO5kMnE3rDrHJVDL+LijAg+zLk

dfc.propertiesdctm-rest中的文件内容:

dfc.docbroker.host[0]=172.18.0.1
dfc.docbroker.port[0]=1489
#Add the global registry repository name to the following key.
dfc.globalregistry.repository=ubuntudb
#Add the username of the global registry user to the following key.
dfc.globalregistry.username=dmadmin
#Add an encrypted password value for the following key.
dfc.globalregistry.password=password
dfc.exception.include_id=false
dfc.exception.include_decoration=false

我试图将 的值更改dfc.globalregistry.username为与 dctm-cs 中的值相同,但无济于事,并且应请求同样挂起。

我还尝试dfc.globalregistry.password在 dctm-cs 和 dctm-rest 中同时使用加密和解密值,但也没有成功。

4

0 回答 0