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

Master dl korean #837

Open
wants to merge 179 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
179 commits
Select commit Hold shift + click to select a range
840b4bb
Add api and code to use deep learning
Jan 20, 2020
a3b3b7a
Add api and code to use deep learning
Jan 20, 2020
22b408a
Add api and code to use deep learning
Jan 20, 2020
c96f2b4
change project version 1.0.0
Jan 21, 2020
0eda589
add brightics-deeplearning#1(source)
Jan 21, 2020
0b9489f
add brightics-deeplearning#2(resources)
krazyeom Jan 22, 2020
e68c1c2
remove duplicate code in brightics-server-library
Jan 22, 2020
4f4a9b0
merge brightics-server-library
Jan 22, 2020
8f95f35
Merge branch 'brtc-issue-723' of https://github.com/brightics/studio …
Jan 22, 2020
95bdf0a
add stream message for merge deeplearning server
Jan 22, 2020
ffe0b87
add stream message for merge deeplearning server
Jan 22, 2020
88e626e
change brightics-deeplearning's pom.xml
Jan 22, 2020
05b3047
change authentication method
Jan 22, 2020
0c8dd8e
Merge branch 'brtc-issue-723' of https://github.com/brightics/studio …
Jan 22, 2020
cba42c1
change common task execute rest api version v2 to v3
Jan 22, 2020
c44e4b4
add workspace path env and download api method for deeplearning.
Jan 22, 2020
85f8d8d
remove legacy code about brightics legacy deeplearning.
Jan 23, 2020
6d7f6b1
remove trustedAppHeader
Feb 4, 2020
ca03d23
fix bug
Feb 4, 2020
995e144
fix bug
Feb 6, 2020
cc4927d
refactor DL script builder
Feb 7, 2020
1adc927
Merge branch 'brtc-issue-723' of https://github.com/brightics/studio …
Feb 7, 2020
31fd699
fix bug
Feb 7, 2020
d8e915c
Convert a string into a raw string
Feb 10, 2020
0f0e6c7
update start/stop script
Feb 10, 2020
92e6db1
update getActionType method
Feb 10, 2020
0b1d531
test
Feb 12, 2020
b0e7645
dl api spec change
gyu77hs Feb 13, 2020
3259a1f
Add deeplearning engine module (1)
gyu77hs Feb 13, 2020
58eab27
Add deeplearning engine module (2)
gyu77hs Feb 13, 2020
5f211a8
Add deeplearning engine module (3)
gyu77hs Feb 13, 2020
fa25459
Add deeplearning engine module (4)
gyu77hs Feb 13, 2020
dc48270
Add deeplearning engine module (5)
gyu77hs Feb 13, 2020
6973527
deeplearning ui change for studio
gyu77hs Feb 13, 2020
1584386
cpu count is changed from logical to physical for dl runner
gyu77hs Feb 13, 2020
fba59a8
workspace and log path change
gyu77hs Feb 14, 2020
d896597
cp949 codec error bug fix
gyu77hs Feb 14, 2020
4d2ddb8
update DL-UI(index.html)
impodracer Feb 27, 2020
ae3123e
studio dl bug fix - device set / clone bug
gyu77hs Mar 9, 2020
e2d008e
fix MAC os and forced stop job problem
gyu77hs Mar 11, 2020
311fd4b
modify gpu option to allocate device
gyu77hs Mar 25, 2020
3c16276
add intra / inter op parallelism_threads option
gyu77hs Mar 25, 2020
97cf3f1
studio test bug fix
gyu77hs Apr 10, 2020
41cca41
change labels of inter_op, intra_op
shovsj Apr 13, 2020
430a8b6
delete dataflow runner, and instead, add support for dataset prefetch
shovsj Apr 13, 2020
19cedfa
start-server shell 수정
gyu77hs Apr 13, 2020
3e7df7c
Inter Op Parallelism Threads
shovsj Apr 13, 2020
4138639
Merge branch 'brtc-issue-723' of https://github.com/brightics/studio …
shovsj Apr 13, 2020
bce0cae
resolve conflict
parkjh80 Apr 27, 2020
c43814c
modify linux version dl build / sh / config file
gyu77hs Apr 27, 2020
7ecfb03
Merge branch 'master' into brtc-issue-723
parkjh80 Apr 28, 2020
356a569
add double quote at linux version sh file
gyu77hs Apr 28, 2020
d2fed0c
Merge branch 'master' into brtc-issue-723
parkjh80 Apr 28, 2020
1811754
Merge branch 'brtc-issue-723' of https://github.com/brightics/studio …
parkjh80 Apr 28, 2020
5484989
remove double quote in start-server.sh
gyu77hs Apr 28, 2020
721012a
Fix grammatical problem
May 7, 2020
48f3e18
fix documentation grammatical issue
May 11, 2020
584745e
fix description issue
May 11, 2020
83da79d
fix GaussNoise description issue
May 15, 2020
9d9c6c1
fix GridDistortion documentation issue
May 15, 2020
c3a21a6
fix JPEGCompression documentation issue
May 18, 2020
5a7ae88
added descriptions for parameters in JPEGCompression and Lambda
May 18, 2020
3172ada
fix NoOp description issue
May 18, 2020
eae3954
fix OpticalDistortion and PadIfNeeded description issues
May 18, 2020
b7424ba
fix RandomFog description issues
May 18, 2020
adbb624
fix RandomRain description issue
May 18, 2020
5369fd5
fix RandomRain parameter description issue
May 18, 2020
8768580
fix RandomScale parameter description issue
May 18, 2020
e4ca983
fix RandomShadow description and parameter description issues
May 18, 2020
cafd3b3
fix RandomShadow description issue
May 18, 2020
88647ee
fix RandomSunFlare description issue
May 18, 2020
e156a37
fix RandomSunFlare description issue
May 18, 2020
06d3eab
fix SmallestMaxSize description issue
May 18, 2020
0c25b49
fix ToGray description issue
May 18, 2020
9af5e27
fix ImageClassificationDTD description issue
May 18, 2020
53a077c
fix networks' description issues
May 19, 2020
2b9bcc5
fix networks' description issues
May 19, 2020
00f076a
fix networks' description issues
May 19, 2020
34d586d
revert JpegCompression name back to original
May 19, 2020
c3176e5
update PadIfNeeded description
May 19, 2020
aed73fe
update GridDistortion description
May 19, 2020
69a65ca
update Lambda image parameter description
May 19, 2020
b94a86c
added missing ToGray description
May 19, 2020
e1c2d73
update FromFloat description
May 20, 2020
9e5524d
Job Detail 화면 Auto Refresh 자동 켜짐 / Augmenter 등 Parameter Default Valu…
gyu77hs May 20, 2020
a033e65
fix True, False, quotation for consistency
May 20, 2020
8ad9c1a
remove 'we' to change to third person writing style
May 21, 2020
2caf512
change l2 to L2 in VGG_16 and VGG_19 descriptions
May 21, 2020
74ba8f4
update VGG_16 and VGG_19 descriptions
May 21, 2020
514315f
update descriptions for accuracy and top k accuracy
May 21, 2020
7bc80cd
fix Adagrad description issue
May 21, 2020
586b92e
fix Exponential Decay description issue
May 21, 2020
e2dd44e
update Polynomial Decay description
May 21, 2020
ee7d959
update Sigmoid Cross Entropy and Softmax Cross Entropy descriptions
May 22, 2020
eeb3363
update ImageClassificationFake description
May 22, 2020
3a69142
update ImageClassificationFromCSV description
May 22, 2020
6fa1211
update ImageClassificationFromCSV and common basic settings descriptions
May 22, 2020
de737f6
update ImageClassificationFromCSV and common basic setting descriptions
May 22, 2020
9217665
update Classification from CSV, common basic setting, split data desc…
May 22, 2020
6d6e08e
Merge branch 'brtc-issue-723' into master-dl
parkjh80 May 26, 2020
26f440c
Merge remote-tracking branch 'origin/brtc-issue-723' into master-dl
parkjh80 May 26, 2020
c57e1fe
resolve mac os compatible issue
gyu77hs May 26, 2020
87362fd
Merge branch 'master' into master-dl
parkjh80 May 27, 2020
7db4a5b
Merge branch 'master' into master-dl
parkjh80 Jul 20, 2020
00a855f
Merge branch 'master' into master-dl
parkjh80 Jul 20, 2020
926c303
Merge branch 'master' into master-dl
parkjh80 Jul 21, 2020
501e840
Create .travis.yml
krazyeom Jul 24, 2020
8026b73
Update README.md
krazyeom Jul 24, 2020
9e60556
Update README.md
krazyeom Jul 24, 2020
3c0a66d
[issue-794] add column filter in persist false table data
Jul 29, 2020
f042539
[issue-794] add column filter in persist false table data
Jul 29, 2020
fac56d9
Fixed bug to parquet select columns. And add 'column count' variables
Jul 28, 2020
c863993
[issue-794] add column filter in persist false table data (remove dev…
Aug 6, 2020
a11f21f
Merge pull request #797 from brightics/brtc-issue-794-dl
krazyeom Aug 6, 2020
ee087a0
Update README.md
krazyeom Sep 25, 2020
2406e50
add exclusions
krazyeom Oct 8, 2020
876ff1d
Update package.json
krazyeom Oct 8, 2020
1688e2d
Merge branch 'master-dl' into sungwook-patch-1
krazyeom Oct 8, 2020
af47ade
Merge pull request #1 from brightics/sungwook-patch-1
krazyeom Oct 8, 2020
36dc063
pom 파일 수정
Dec 3, 2020
c83d8d6
pom 파일 수정
Dec 3, 2020
0103b9c
va일부 최신화, 한글화
Dec 3, 2020
a49f737
sample data 추가
Dec 3, 2020
8b5c21a
dddd 오타수정
Dec 3, 2020
4ec4464
Merge remote-tracking branch 'origin/master-dl-korean' into master-dl…
Dec 3, 2020
8d260b8
Merge remote-tracking branch 'origin/master-dl-korean' into master-dl…
Dec 3, 2020
1584ade
pom 파일 수정
Dec 4, 2020
a483e6c
pom 파일 수정
Dec 4, 2020
11c073c
timeseries function 제거
Dec 4, 2020
157b741
Update brightics-va-functions.min.js
Dec 4, 2020
6346288
한글 summary 업데이트
Dec 8, 2020
a642528
1. workflow 에디터 상단 네비게이터 한글화
Dec 8, 2020
9a98c1d
한글 tags 업데이트
Dec 9, 2020
7ac69f9
한글 tags 업데이트
Dec 9, 2020
5216acb
va 한글화 진행중
Dec 9, 2020
5bebebb
va 한글화 진행중 (변수)
Dec 9, 2020
761d09f
워드 클라우드 추가
Dec 17, 2020
f366532
pdf.ejs 에 한글화 위해 적용된 .js 추가
Dec 17, 2020
2ec7118
package에 sqlite3 수정
Dec 18, 2020
b0d0a80
work cloud 차트 추가
Dec 18, 2020
550e36c
core 오타수정
Dec 18, 2020
3fff1ee
데이터 프로파일 함수 추가
Jan 19, 2021
f53e62e
데이터 프로파일 json 파일 수정
Jan 20, 2021
a03ef4c
Merge pull request #5 from brightics/master-dl-korean-dataprofile
Jan 20, 2021
c6de099
help 에서 note 영역 안나오도록 수정
Jan 22, 2021
65c8029
함수 도움말 문구 수정
Jan 22, 2021
4395b76
함수도움말 메인 페이지 버그 수정
Jan 25, 2021
1297a26
함수 도움말 빈 스트링 수정
Jan 25, 2021
2729e1e
[19072-R] 교과서 버전 오픈소스 취약점 조치 (brightics-server) (#6)
Feb 2, 2021
861e03c
function-오픈소스 취약점 조치
Feb 4, 2021
3c4a391
Bump opensource versions for security
Feb 8, 2021
bdc131d
Remove sqlite3 temporary (will be added in build package)
Feb 8, 2021
f24c6d6
Bump bootstrap to 3.4.1 for opensource security
Feb 8, 2021
b5582d1
Bump serve-favicon to 2.4.5
Feb 8, 2021
c32d1f6
Restore host setting
Feb 8, 2021
11d81e5
Revert "Bump bootstrap to 3.4.1 for opensource security"
Feb 8, 2021
34db9a6
Bump bootstrap to 3.4.1 for opensource security
Feb 8, 2021
d632c4b
Restore wordcloud path
Feb 8, 2021
4d40e9c
Merge pull request #7 from brightics/feature-BRTCDEV-19422-R
Feb 8, 2021
145bfe7
Merge pull request #8 from brightics/master-dl-korean-function
Feb 9, 2021
1d94d1d
QT 취약점 조치
Feb 9, 2021
d430041
QT 취약점 조치
Feb 9, 2021
633a9a8
Merge pull request #9 from brightics/master-dl-korean-graphviz
Feb 9, 2021
e2af9eb
필터 함수 한글화
Feb 9, 2021
c4d736e
함수 label 이름 오류 수정
Feb 9, 2021
6afe992
Merge pull request #10 from brightics/master-dl-korean-function
Feb 9, 2021
a5be0d2
형태소 분석 (한글) Extractin 파라미터 일부 옵션 제거
Feb 19, 2021
824c8aa
형태소 분석 (한글) Extraction 파라미터 일부 옵션 제거
Feb 19, 2021
c821522
형태소 분석 (한글) Help 수정,
Feb 22, 2021
ba2c9e8
형태소 분석 (한글) Help 수정
Feb 22, 2021
03a9c43
urlparse 취약점 조치
Feb 22, 2021
44c3bdf
Merge pull request #11 from brightics/master-dl-korean-urlparse
Feb 23, 2021
2f6c0d2
[21640-MD]python script 파라미터 공유 버그 수정
ng1123 Aug 12, 2021
8ae8338
[21640-MD]python script 파라미터 공유 버그 수정
ng1123 Aug 30, 2021
7235b1e
2021.08-fixes
hyoxt121 Sep 1, 2021
0026276
Merge pull request #16 from brightics/master-dl-korean-2021-08-fixes
Sep 1, 2021
eb9cf1e
Merge pull request #13 from brightics/feature-BRTCDEV-21640-MD
gyu77hs Sep 2, 2021
838f43f
help update
hyoxt121 Sep 8, 2021
ff2d429
Merge pull request #23 from brightics/master-dl-korean-2021-08-fixes
Sep 8, 2021
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
2 changes: 1 addition & 1 deletion .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -29,4 +29,4 @@ deploy:
on:
repo: brightics/studio
branche: master
tags: true
tags: true
63 changes: 0 additions & 63 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,64 +1,3 @@
If you have downloaded Brightics Studio windows version v1.1 2020.07,
please use the following steps to handle infected files of Brightics Studio.

Brightics Studio 사용자께 안내 말씀드립니다.
BrighticsStudio-v1.1-2020.07-windows.exe에 악성코드 감염이 발견되어 조치 방법을 안내해 드립니다.

### [For V3 Antivirus program user] <br>
### [V3 백신 프로그램 사용자]
1. Update the antivirus program. <br>
백신 업데이트 <br>
2. Run Detailed Scan. <br>
정밀검사 수행

### [How to remove if not using V3 Antivirus program]
### [V3 백신을 사용하지 않을시 삭제방법]


1. Remove brightics-studio folder. (Default installation path is `C:\brightics-studio`) <br>
설치한 `brightics-studio` 폴더 전체를 삭제해주세요. (기본 설치 경로는 `C:\brightics-studio` 입니다.)
![1](img/1_e.png)

2. Open File Explorer and type `%userprofile%` in the address bar. <br>
파일 탐색기를 열고 주소 표시창에 `%userprofile%` 을 입력해주세요.
![2](img/2_e.png)

3. If you find `Brightics Studio Updater.exe` file, delete this file. <br>
If you don't, go to step 4. <br>
`Brightics Studio Updater.exe` 파일이 존재하면 삭제해주시고 없다면 다음 단계로 넘어가 주세요.

4. If you find `msvcp140_3.dll` file, delete this file. <br>
If you don't, go to step 5. <br>
`msvcp140_3.dll` 파일이 존재하면 삭제해주시고 없다면 다음 단계로 넘어가 주세요.
![4](img/4_e.png)

5. Open File Explorer and type `%temp%` in the address bar. <br>
파일 탐색기를 열고 주소 표시창에 `%temp%` 를 입력해주세요.
![5](img/5_e.png)

6. If you find `STL.vbs` file, delete this file. <br>
`STL.vbs` 파일이 존재하면 삭제해주시고 없다면 다음 단계로 넘어가 주세요. <br>
If you don't, go to step 7
![6](img/6_e.png)

7. Open Window Run window. (Press `Window Key + R`) <br>
Then type `cmd` <br>
윈도키 + R 단축키를 이용하거나 윈도 실행창에서 `cmd` 를 입력해주세요. <br>
![7](img/7_e.png)

8. When Command Prompt is open, type `SchTasks /DELETE /TN BrighticsStudioUpdater` <br>
윈도우 명령어 창이 열리면 `SchTasks /DELETE /TN BrighticsStudioUpdater` 를 입력해주세요.
![8](img/8_e.png)

### [How to reinstall Brightics Studio]
Please, download and reinstall Brightics Studio using the download link beflow. <br>
아래 링크를 다운로드하여 재설치하시기 바랍니다. <br>
[BrighticsStudio-v1.1-2020.06-windows.exe](https://github.com/brightics/studio/releases/download/v1.1-2020.06/BrighticsStudio-v1.1-2020.06-windows.exe)

If you have any inconvenience or further questions, please contact us [email protected] . <br>
사용에 불편을 끼쳐 죄송합니다. 궁금한점이 있으면 [email protected] 로 연락주세요.


# Brightics Studio v1.1
[![Version](https://img.shields.io/github/v/release/brightics/studio)](https://github.com/brightics/studio/releases)
[![Release Date](https://img.shields.io/github/release-date/brightics/studio)](https://github.com/brightics/studio/releases)
Expand Down Expand Up @@ -197,8 +136,6 @@ We are working hard to solve these issues and soon it will be public.
This project exists thanks to all the people who contribute.
<a href="../../graphs/contributors"><img src="https://opencollective.com/brightics-studio/contributors.svg?width=890&button=false" /></a>


## Contact us
If you like to use Brightics Studio, please let us know your usage and feedback.<br>
Or you have questions while using Brightics Studio, don't hesitate and feel free to contact [email protected]

40 changes: 39 additions & 1 deletion agent/brightics-agent/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
<groupId>com.samsung.sds.brightics</groupId>
<artifactId>agent-parent</artifactId>
<relativePath>../pom.xml</relativePath>
<version>3.5.0</version>
<version>1.0.0</version>
</parent>
<artifactId>brightics-agent</artifactId>
<build>
Expand Down Expand Up @@ -75,6 +75,44 @@
<groupId>org.apache.calcite</groupId>
<artifactId>calcite-core</artifactId>
<version>1.2.0-incubating</version>
<exclusions>
<exclusion>
<artifactId>jackson-annotations</artifactId>
<groupId>com.fasterxml.jackson.core</groupId>
</exclusion>
<exclusion>
<artifactId>jackson-core</artifactId>
<groupId>com.fasterxml.jackson.core</groupId>
</exclusion>
<exclusion>
<artifactId>jackson-databind</artifactId>
<groupId>com.fasterxml.jackson.core</groupId>
</exclusion>
<exclusion>
<artifactId>guava</artifactId>
<groupId>com.google.guava</groupId>
</exclusion>
<exclusion>
<artifactId>jsr305</artifactId>
<groupId>com.google.code.findbugs</groupId>
</exclusion>
<exclusion>
<artifactId>janino</artifactId>
<groupId>org.codehaus.janino</groupId>
</exclusion>
<exclusion>
<artifactId>commons-compiler</artifactId>
<groupId>org.codehaus.janino</groupId>
</exclusion>
<exclusion>
<artifactId>hsqldb</artifactId>
<groupId>org.hsqldb</groupId>
</exclusion>
<exclusion>
<artifactId>pentaho-aggdesigner-algorithm</artifactId>
<groupId>org.pentaho</groupId>
</exclusion>
</exclusions>
</dependency>
</dependencies>
</project>
Original file line number Diff line number Diff line change
@@ -1,19 +1,19 @@
/*
Copyright 2019 Samsung SDS

Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at

http://www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
*/

/*
Copyright 2019 Samsung SDS
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
*/
package com.samsung.sds.brightics.agent.context;

import org.slf4j.Logger;
Expand All @@ -38,7 +38,7 @@ public AbstractContext(String id) {
}

// init contextRunner
abstract public void init();
abstract public void init(String contextType);

// function task run.
abstract public String runFunction(TaskMessageWrapper message) throws Exception;
Expand All @@ -58,7 +58,7 @@ public AbstractContext(String id) {
// init data container
abstract public void initDataMap();

abstract public String viewData(String key, long min, long max) throws Exception;
abstract public String viewData(String key, long min, long max, int[] columnIndex) throws Exception;

abstract public String viewSchema(String key) throws Exception;

Expand Down
Original file line number Diff line number Diff line change
@@ -1,19 +1,19 @@
/*
Copyright 2019 Samsung SDS

Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at

http://www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
*/

/*
Copyright 2019 Samsung SDS
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
*/
package com.samsung.sds.brightics.agent.context;

import java.util.Map;
Expand Down Expand Up @@ -62,16 +62,17 @@ private static class Lock {}
private static final Lock lock = new Lock();

static {

Set<Class<?>> classes;
try {
Reflections reflections = new Reflections(defaultRunnerPackage);
classes = reflections.getTypesAnnotatedWith(ScriptContext.class);
for (Class<?> clazz : classes) {
ScriptContext annotation = clazz.getAnnotation(ScriptContext.class);
if (annotation != null) {
contextClassByType.put(annotation.contextType(), (Class<? extends AbstractContext>) clazz);
logger.info("Success to regist '{}'.", clazz.getName());
for (ContextType contextType : annotation.contextType()) {
contextClassByType.put(contextType, (Class<? extends AbstractContext>) clazz);
logger.info("Success to regist type '{}', name '{}'.", contextType.name(), clazz.getName());
}
}
}
logger.info("Finish to initialize script context classes.");
Expand All @@ -97,7 +98,7 @@ public static AbstractContext getRunnerAsContext(ContextType contextType, String
logger.info("Create new {} context.", contextType);
AbstractContext someContext = contextClassByType.get(contextType).getConstructor(String.class)
.newInstance(user);
someContext.init();
someContext.init(contextType.name());
someContext.initDataMap();
userContextSession.putContext(contextType, someContext);
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -14,14 +14,14 @@
limitations under the License.
*/

package com.samsung.sds.brightics.agent.context;
import java.lang.annotation.Retention;
import java.lang.annotation.RetentionPolicy;
import com.samsung.sds.brightics.common.network.proto.ContextType;
@Retention(RetentionPolicy.RUNTIME)
public @interface ScriptContext {
ContextType contextType();
}
package com.samsung.sds.brightics.agent.context;

import java.lang.annotation.Retention;
import java.lang.annotation.RetentionPolicy;

import com.samsung.sds.brightics.common.network.proto.ContextType;

@Retention(RetentionPolicy.RUNTIME)
public @interface ScriptContext {
ContextType[] contextType();
}
Loading