Пример #1
0
 public void saveNamespace(String name, Map<String, List> desc) throws Exception {
   StoreDesc sdesc = StoreDesc.getGlobalData();
   m_gitService.putContent(
       sdesc.getRepository(),
       format(NAMESPACE_PATH, name),
       NAMESPACE_TYPE,
       m_js.deepSerialize(desc));
 }
Пример #2
0
 public void saveBranding(Map<String, String> desc) throws Exception {
   StoreDesc sdesc = StoreDesc.getGlobalData();
   m_gitService.putContent(
       sdesc.getRepository(), BRANDING_PATH, "sw.setting", m_js.deepSerialize(desc));
 }