Skip to content

Commit ae4228e

Browse files
committed
Refactor generate extension data for mok ws test
1 parent 1893038 commit ae4228e

14 files changed

+491
-437
lines changed

Dependency-Graph/DependencyGraphANJ.permissionset.al

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,5 +26,7 @@ permissionset 80800 DependencyGraph_ANJ
2626
codeunit DependencyGraphFacade_ANJ = X,
2727
page MarkdownFactbox_ANJ = X,
2828
page MarkdownViewerFull_ANJ = X,
29-
codeunit CleanTemporaryTables_ANJ = X;
29+
codeunit CleanTemporaryTables_ANJ = X,
30+
codeunit JSONMethods_ANJ = X,
31+
codeunit WSAndMDInfoImp_ANJ = X;
3032
}

Dependency-Graph/Translations/Dependency-Graph.es-ES.g.xlf

Lines changed: 78 additions & 72 deletions
Original file line numberDiff line numberDiff line change
@@ -224,66 +224,16 @@
224224
<note from="Developer" annotates="general" priority="2"/>
225225
<note from="Xliff Generator" annotates="general" priority="3">Codeunit CircleIMP_ANJ - NamedType FigureLbl</note>
226226
</trans-unit>
227-
<trans-unit id="Codeunit 927581418 - NamedType 3824428447" size-unit="char" translate="yes" xml:space="preserve">
228-
<source>access_token</source>
229-
<note from="Developer" annotates="general" priority="2"/>
230-
<note from="Xliff Generator" annotates="general" priority="3">Codeunit GenerateExtensionTable_ANJ - NamedType AccessTokenLbl</note>
231-
</trans-unit>
232-
<trans-unit id="Codeunit 927581418 - NamedType 4248989274" size-unit="char" translate="yes" xml:space="preserve">
233-
<source>https://login.microsoftonline.com/%1/oauth2/v2.0/token</source>
234-
<note from="Developer" annotates="general" priority="2"/>
235-
<note from="Xliff Generator" annotates="general" priority="3">Codeunit GenerateExtensionTable_ANJ - NamedType AccessTokenUrlLbl</note>
236-
</trans-unit>
237-
<trans-unit id="Codeunit 927581418 - NamedType 736812907" size-unit="char" translate="yes" xml:space="preserve">
238-
<source>Authorization</source>
239-
<note from="Developer" annotates="general" priority="2"/>
240-
<note from="Xliff Generator" annotates="general" priority="3">Codeunit GenerateExtensionTable_ANJ - NamedType AuthorizationLbl</note>
241-
</trans-unit>
242-
<trans-unit id="Codeunit 927581418 - NamedType 472661878" size-unit="char" translate="yes" xml:space="preserve">
243-
<source>Bearer %1</source>
244-
<note from="Developer" annotates="general" priority="2"/>
245-
<note from="Xliff Generator" annotates="general" priority="3">Codeunit GenerateExtensionTable_ANJ - NamedType AuthorizationValueLbl</note>
246-
</trans-unit>
247-
<trans-unit id="Codeunit 927581418 - NamedType 366675938" size-unit="char" translate="yes" xml:space="preserve">
248-
<source>&amp;client_id=%1</source>
249-
<note from="Developer" annotates="general" priority="2"/>
250-
<note from="Xliff Generator" annotates="general" priority="3">Codeunit GenerateExtensionTable_ANJ - NamedType ClientIdLbl</note>
251-
</trans-unit>
252-
<trans-unit id="Codeunit 927581418 - NamedType 792247639" size-unit="char" translate="yes" xml:space="preserve">
253-
<source>&amp;client_secret=%1</source>
254-
<note from="Developer" annotates="general" priority="2"/>
255-
<note from="Xliff Generator" annotates="general" priority="3">Codeunit GenerateExtensionTable_ANJ - NamedType ClientSecretLbl</note>
256-
</trans-unit>
257-
<trans-unit id="Codeunit 927581418 - NamedType 2725329485" size-unit="char" translate="yes" xml:space="preserve">
258-
<source>Content-Type</source>
259-
<note from="Developer" annotates="general" priority="2"/>
260-
<note from="Xliff Generator" annotates="general" priority="3">Codeunit GenerateExtensionTable_ANJ - NamedType ContentTypeLbl</note>
261-
</trans-unit>
262227
<trans-unit id="Codeunit 927581418 - NamedType 4198159985" size-unit="char" translate="yes" xml:space="preserve">
263228
<source>displayName</source>
264229
<note from="Developer" annotates="general" priority="2"/>
265230
<note from="Xliff Generator" annotates="general" priority="3">Codeunit GenerateExtensionTable_ANJ - NamedType DisplayNameLbl</note>
266231
</trans-unit>
267-
<trans-unit id="Codeunit 927581418 - NamedType 1549459477" size-unit="char" translate="yes" xml:space="preserve">
268-
<source>https://api.businesscentral.dynamics.com/v2.0/%1/api/microsoft/automation/v2.0/companies(%2)/extensions</source>
269-
<note from="Developer" annotates="general" priority="2"/>
270-
<note from="Xliff Generator" annotates="general" priority="3">Codeunit GenerateExtensionTable_ANJ - NamedType ExtensionsUrlLbl</note>
271-
</trans-unit>
272232
<trans-unit id="Codeunit 927581418 - NamedType 3346049993" size-unit="char" translate="yes" xml:space="preserve">
273233
<source>false</source>
274234
<note from="Developer" annotates="general" priority="2"/>
275235
<note from="Xliff Generator" annotates="general" priority="3">Codeunit GenerateExtensionTable_ANJ - NamedType FalseLbl</note>
276236
</trans-unit>
277-
<trans-unit id="Codeunit 927581418 - NamedType 154798154" size-unit="char" translate="yes" xml:space="preserve">
278-
<source>?$filter=publisher ne </source>
279-
<note from="Developer" annotates="general" priority="2"/>
280-
<note from="Xliff Generator" annotates="general" priority="3">Codeunit GenerateExtensionTable_ANJ - NamedType FilterMSAppsLbl</note>
281-
</trans-unit>
282-
<trans-unit id="Codeunit 927581418 - NamedType 1092220576" size-unit="char" translate="yes" xml:space="preserve">
283-
<source>grant_type=client_credentials</source>
284-
<note from="Developer" annotates="general" priority="2"/>
285-
<note from="Xliff Generator" annotates="general" priority="3">Codeunit GenerateExtensionTable_ANJ - NamedType GrantTypeLbl</note>
286-
</trans-unit>
287237
<trans-unit id="Codeunit 927581418 - NamedType 2272053225" size-unit="char" translate="yes" xml:space="preserve">
288238
<source>id</source>
289239
<note from="Developer" annotates="general" priority="2"/>
@@ -310,33 +260,11 @@
310260
<note from="Xliff Generator" annotates="general" priority="3">Codeunit GenerateExtensionTable_ANJ - NamedType ReadingJsonErr</note>
311261
<target>Error al leer la respuesta JSON.</target>
312262
</trans-unit>
313-
<trans-unit id="Codeunit 927581418 - NamedType 1618117332" size-unit="char" translate="yes" xml:space="preserve">
314-
<source>&amp;scope=https://api.businesscentral.dynamics.com/.default</source>
315-
<note from="Developer" annotates="general" priority="2"/>
316-
<note from="Xliff Generator" annotates="general" priority="3">Codeunit GenerateExtensionTable_ANJ - NamedType ScopeLbl</note>
317-
</trans-unit>
318-
<trans-unit id="Codeunit 927581418 - NamedType 752839706" size-unit="char" translate="yes" xml:space="preserve">
319-
<source>Unable to communicate with the web service.</source>
320-
<note from="Developer" annotates="general" priority="2">ESP="No se puede comunicar con el servicio web."</note>
321-
<note from="Xliff Generator" annotates="general" priority="3">Codeunit GenerateExtensionTable_ANJ - NamedType UnableToCommunicateWSErr</note>
322-
<target>No se puede comunicar con el servicio web.</target>
323-
</trans-unit>
324-
<trans-unit id="Codeunit 927581418 - NamedType 243597245" size-unit="char" translate="yes" xml:space="preserve">
325-
<source>application/x-www-form-urlencoded</source>
326-
<note from="Developer" annotates="general" priority="2"/>
327-
<note from="Xliff Generator" annotates="general" priority="3">Codeunit GenerateExtensionTable_ANJ - NamedType UrlencodedLbl</note>
328-
</trans-unit>
329263
<trans-unit id="Codeunit 927581418 - NamedType 2124516411" size-unit="char" translate="yes" xml:space="preserve">
330264
<source>value</source>
331265
<note from="Developer" annotates="general" priority="2"/>
332266
<note from="Xliff Generator" annotates="general" priority="3">Codeunit GenerateExtensionTable_ANJ - NamedType ValueJsonArryLbl</note>
333267
</trans-unit>
334-
<trans-unit id="Codeunit 927581418 - NamedType 3182686404" size-unit="char" translate="yes" xml:space="preserve">
335-
<source>Error - Status code: %1 Description: %2</source>
336-
<note from="Developer" annotates="general" priority="2">ESP="Error - Código: %1 Descripción: %2"</note>
337-
<note from="Xliff Generator" annotates="general" priority="3">Codeunit GenerateExtensionTable_ANJ - NamedType WSStatusCodeErr</note>
338-
<target>Error - Código: %1 Descripción: %2</target>
339-
</trans-unit>
340268
<trans-unit id="Codeunit 2841349168 - NamedType 750120336" size-unit="char" translate="yes" xml:space="preserve">
341269
<source>When generating the tables again, custom data will be deleted, do you want to continue?</source>
342270
<note from="Developer" annotates="general" priority="2">ESP="Al generar de nuevo las tablas se eliminaran datos personalizados, ¿Desea continuar?"</note>
@@ -349,6 +277,12 @@
349277
<note from="Xliff Generator" annotates="general" priority="3">Codeunit GenerateTables_ANJ - NamedType ProcessFinishMsg</note>
350278
<target>Las tablas se han actualizado correctamente.</target>
351279
</trans-unit>
280+
<trans-unit id="Codeunit 872690394 - NamedType 4072018929" size-unit="char" translate="yes" xml:space="preserve">
281+
<source>Error reading JSON response.</source>
282+
<note from="Developer" annotates="general" priority="2">ESP="Error al leer la respuesta JSON."</note>
283+
<note from="Xliff Generator" annotates="general" priority="3">Codeunit JSONMethods_ANJ - NamedType ReadingJsonErr</note>
284+
<target>Error al leer la respuesta JSON.</target>
285+
</trans-unit>
352286
<trans-unit id="Codeunit 740515698 - NamedType 2810835173" size-unit="char" translate="yes" xml:space="preserve">
353287
<source> --&gt; </source>
354288
<note from="Developer" annotates="general" priority="2"/>
@@ -404,6 +338,78 @@
404338
<note from="Developer" annotates="general" priority="2"/>
405339
<note from="Xliff Generator" annotates="general" priority="3">Codeunit SquareRectangleIMP_ANJ - NamedType FigureLbl</note>
406340
</trans-unit>
341+
<trans-unit id="Codeunit 3451087242 - NamedType 3824428447" size-unit="char" translate="yes" xml:space="preserve">
342+
<source>access_token</source>
343+
<note from="Developer" annotates="general" priority="2"/>
344+
<note from="Xliff Generator" annotates="general" priority="3">Codeunit WSAndMDInfoImp_ANJ - NamedType AccessTokenLbl</note>
345+
</trans-unit>
346+
<trans-unit id="Codeunit 3451087242 - NamedType 4248989274" size-unit="char" translate="yes" xml:space="preserve">
347+
<source>https://login.microsoftonline.com/%1/oauth2/v2.0/token</source>
348+
<note from="Developer" annotates="general" priority="2"/>
349+
<note from="Xliff Generator" annotates="general" priority="3">Codeunit WSAndMDInfoImp_ANJ - NamedType AccessTokenUrlLbl</note>
350+
</trans-unit>
351+
<trans-unit id="Codeunit 3451087242 - NamedType 736812907" size-unit="char" translate="yes" xml:space="preserve">
352+
<source>Authorization</source>
353+
<note from="Developer" annotates="general" priority="2"/>
354+
<note from="Xliff Generator" annotates="general" priority="3">Codeunit WSAndMDInfoImp_ANJ - NamedType AuthorizationLbl</note>
355+
</trans-unit>
356+
<trans-unit id="Codeunit 3451087242 - NamedType 472661878" size-unit="char" translate="yes" xml:space="preserve">
357+
<source>Bearer %1</source>
358+
<note from="Developer" annotates="general" priority="2"/>
359+
<note from="Xliff Generator" annotates="general" priority="3">Codeunit WSAndMDInfoImp_ANJ - NamedType AuthorizationValueLbl</note>
360+
</trans-unit>
361+
<trans-unit id="Codeunit 3451087242 - NamedType 366675938" size-unit="char" translate="yes" xml:space="preserve">
362+
<source>&amp;client_id=%1</source>
363+
<note from="Developer" annotates="general" priority="2"/>
364+
<note from="Xliff Generator" annotates="general" priority="3">Codeunit WSAndMDInfoImp_ANJ - NamedType ClientIdLbl</note>
365+
</trans-unit>
366+
<trans-unit id="Codeunit 3451087242 - NamedType 792247639" size-unit="char" translate="yes" xml:space="preserve">
367+
<source>&amp;client_secret=%1</source>
368+
<note from="Developer" annotates="general" priority="2"/>
369+
<note from="Xliff Generator" annotates="general" priority="3">Codeunit WSAndMDInfoImp_ANJ - NamedType ClientSecretLbl</note>
370+
</trans-unit>
371+
<trans-unit id="Codeunit 3451087242 - NamedType 2725329485" size-unit="char" translate="yes" xml:space="preserve">
372+
<source>Content-Type</source>
373+
<note from="Developer" annotates="general" priority="2"/>
374+
<note from="Xliff Generator" annotates="general" priority="3">Codeunit WSAndMDInfoImp_ANJ - NamedType ContentTypeLbl</note>
375+
</trans-unit>
376+
<trans-unit id="Codeunit 3451087242 - NamedType 1549459477" size-unit="char" translate="yes" xml:space="preserve">
377+
<source>https://api.businesscentral.dynamics.com/v2.0/%1/api/microsoft/automation/v2.0/companies(%2)/extensions</source>
378+
<note from="Developer" annotates="general" priority="2"/>
379+
<note from="Xliff Generator" annotates="general" priority="3">Codeunit WSAndMDInfoImp_ANJ - NamedType ExtensionsUrlLbl</note>
380+
</trans-unit>
381+
<trans-unit id="Codeunit 3451087242 - NamedType 154798154" size-unit="char" translate="yes" xml:space="preserve">
382+
<source>?$filter=publisher ne </source>
383+
<note from="Developer" annotates="general" priority="2"/>
384+
<note from="Xliff Generator" annotates="general" priority="3">Codeunit WSAndMDInfoImp_ANJ - NamedType FilterMSAppsLbl</note>
385+
</trans-unit>
386+
<trans-unit id="Codeunit 3451087242 - NamedType 1092220576" size-unit="char" translate="yes" xml:space="preserve">
387+
<source>grant_type=client_credentials</source>
388+
<note from="Developer" annotates="general" priority="2"/>
389+
<note from="Xliff Generator" annotates="general" priority="3">Codeunit WSAndMDInfoImp_ANJ - NamedType GrantTypeLbl</note>
390+
</trans-unit>
391+
<trans-unit id="Codeunit 3451087242 - NamedType 1618117332" size-unit="char" translate="yes" xml:space="preserve">
392+
<source>&amp;scope=https://api.businesscentral.dynamics.com/.default</source>
393+
<note from="Developer" annotates="general" priority="2"/>
394+
<note from="Xliff Generator" annotates="general" priority="3">Codeunit WSAndMDInfoImp_ANJ - NamedType ScopeLbl</note>
395+
</trans-unit>
396+
<trans-unit id="Codeunit 3451087242 - NamedType 752839706" size-unit="char" translate="yes" xml:space="preserve">
397+
<source>Unable to communicate with the web service.</source>
398+
<note from="Developer" annotates="general" priority="2">ESP="No se puede comunicar con el servicio web."</note>
399+
<note from="Xliff Generator" annotates="general" priority="3">Codeunit WSAndMDInfoImp_ANJ - NamedType UnableToCommunicateWSErr</note>
400+
<target>No se puede comunicar con el servicio web.</target>
401+
</trans-unit>
402+
<trans-unit id="Codeunit 3451087242 - NamedType 243597245" size-unit="char" translate="yes" xml:space="preserve">
403+
<source>application/x-www-form-urlencoded</source>
404+
<note from="Developer" annotates="general" priority="2"/>
405+
<note from="Xliff Generator" annotates="general" priority="3">Codeunit WSAndMDInfoImp_ANJ - NamedType UrlencodedLbl</note>
406+
</trans-unit>
407+
<trans-unit id="Codeunit 3451087242 - NamedType 3182686404" size-unit="char" translate="yes" xml:space="preserve">
408+
<source>Error - Status code: %1 Description: %2</source>
409+
<note from="Developer" annotates="general" priority="2">ESP="Error - Código: %1 Descripción: %2"</note>
410+
<note from="Xliff Generator" annotates="general" priority="3">Codeunit WSAndMDInfoImp_ANJ - NamedType WSStatusCodeErr</note>
411+
<target>Error - Código: %1 Descripción: %2</target>
412+
</trans-unit>
407413
<trans-unit id="Page 2186239794 - Property 2879900210" size-unit="char" translate="yes" xml:space="preserve">
408414
<source>Dependency Graph Setup</source>
409415
<note from="Developer" annotates="general" priority="2">ESP="Configuración del gráfico de dependencia"</note>

0 commit comments

Comments
 (0)