Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Move mapping json files to personium-core. #24

Open
SawamiWataru opened this issue Feb 26, 2019 · 1 comment
Open

Move mapping json files to personium-core. #24

SawamiWataru opened this issue Feb 26, 2019 · 1 comment

Comments

@SawamiWataru
Copy link
Contributor

SawamiWataru commented Feb 26, 2019

The schema definition of elasticsearch should switch according to the version of personium-core.
Move mapping json in lib-es-adapter to core.


elasticsearchのスキーマ定義はcoreのバージョンに応じて変更が入るものだが、現状はlib-es-adapterを修正しなければならない。
coreの修正のみで済むように構造の変更が必要。

elasticsearchのスキーマを定義しているjson群
https://github.com/personium/personium-lib-es-adapter/tree/master/src/main/resources/es/mapping
これをcoreに移動する。

@yoh1496
Copy link
Contributor

yoh1496 commented Apr 28, 2022

Codes calling EsIndex.create are scattered in personium-core.

How about calling EsIndex.create only when unituser is created,
and calling api when index is not created throws exception?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants