Slackbot
06/07/2023, 6:47 PMOr Weis
06/07/2023, 8:19 PMOr Weis
06/07/2023, 8:20 PM.*data.json
Avo Sepp
06/07/2023, 8:21 PMAvo Sepp
06/07/2023, 8:21 PMOr Weis
06/07/2023, 8:22 PMAvo Sepp
06/07/2023, 8:22 PMOr Weis
06/07/2023, 8:23 PMOr Weis
06/07/2023, 8:35 PM.*data.json
is under is used as the path in OPA (Can’t say I’m a fan)
https://github.com/permitio/opal/blob/a5ec96a11196957ee5b89d35352ec55a50b39f55/opal/common/git/bundle_maker.py#L36
and if it’s in the root folder that means it would override anything in the rootOr Weis
06/07/2023, 8:37 PMdata.json
only as a backward compatibility to vanilla OPA.
But I guess we can improve this - there should be a better way to indicate the path that data.json should go within OPA
@Asaf Cohen / @Ro'e Katz for your cosideration
For now @Avo Sepp, you can just put the file under a folderAvo Sepp
06/07/2023, 8:37 PMOr Weis
06/07/2023, 8:38 PMAvo Sepp
06/07/2023, 8:38 PMOr Weis
06/07/2023, 8:39 PMAvo Sepp
06/07/2023, 8:40 PMAvo Sepp
06/07/2023, 8:41 PMOr Weis
06/07/2023, 8:41 PMOr Weis
06/07/2023, 8:42 PMAvo Sepp
06/07/2023, 8:43 PMAvo Sepp
06/07/2023, 8:45 PMsubscriptions.json
to subscriptions/data.json
and it picked up under the path /v1/data/subscriptions
🙌🏻Or Weis
06/07/2023, 8:46 PMOr Weis
06/07/2023, 10:15 PMAvo Sepp
06/07/2023, 10:19 PMAvo Sepp
06/07/2023, 10:19 PMAvo Sepp
06/07/2023, 10:21 PMOr Weis
06/07/2023, 10:27 PM