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

feat(service): automate csv assignment inside enclave.json #45

Open
qascade opened this issue May 20, 2023 · 9 comments
Open

feat(service): automate csv assignment inside enclave.json #45

qascade opened this issue May 20, 2023 · 9 comments

Comments

@qascade
Copy link
Owner

qascade commented May 20, 2023

Description

CSVs can't be moved inside enclaves unless explicitly mentioned inside the enclave.json. Check files field in service/temp_enclave.json. I want that to be automated and to be picked from Yaml, not through temporary CSV's.
The enclave.json is to created/modified before ego-sign using sources specified in yaml.

How are you planning to resolve this issue?

One of the following strategies may be used. You are free to create you own strategy as well.

  1. Use basic json Writers to manipulate the file.
  2. Use some templates and use pongo2 templating engine.
@harshsingh32
Copy link

I would like to work on this issue, please assign this issue to me under GSSoC'23.

@qascade qascade changed the title feat: automate csv assignment inside enclave.json feat(service): automate csv assignment inside enclave.json May 21, 2023
@qascade
Copy link
Owner Author

qascade commented May 21, 2023

Hey, @harshsingh32 assigning this issue to you. Please rename the new branch to feat.enclave_automation. Please go through all the spec docs and guidelines of this project and stick to the conventions of this project properly.

@qascade
Copy link
Owner Author

qascade commented May 22, 2023

Hey @harshsingh32, any updates?

@prakrit55
Copy link

hello @qascade, I wd like to work on it.

@qascade
Copy link
Owner Author

qascade commented Jun 3, 2023

@prakrit55 Assigning this to you.

@prakrit55
Copy link

hey @qascade, do I need to create yaml files to automate the task ?

@qascade
Copy link
Owner Author

qascade commented Jun 3, 2023

No, currently we are embedding temp_enclave.json and copying it on the go app just before compilation. Currently we are using CSV files to take input tables, but the file paths has to be mentioned before hand inside the enclave.json in files field. Otherwise service run fails. I want you to automate the csv filling inside the json to be automatic. You need to pick the csv filenames from source.yaml of Collaborators itself.

@prakrit55
Copy link

ohh, then where can I find the yamls ?

@qascade
Copy link
Owner Author

qascade commented Jun 3, 2023

In samples folder

@prakrit55 prakrit55 mentioned this issue Jun 3, 2023
5 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants