Hi Apache Syncope guys.

What version of Apache Syncope are you running?
I’m trying to run the Apache Syncope 2.0.16 on Tomcat 9.0.39.
I’m able run the Apache Syncope Core and I also enabled Swagger extension like 
described 
here<https://syncope.apache.org/docs/2.1/reference-guide.html#customization-core>,
 but when I’m accessing swagger I’m having an error:

Uncaught SyntaxError: Invalid regular expression: 
/[A-Za-z\xAA\xB5\xBA\xC0-\xD6\xD8-\xF6\xF8-Ë�ˆ-Ë‘Ë 
-ˤˬˮͰ-ʹͶͷͺ-ͽͿΆΈ-ΊΌΎ-ΡΣ-ϵϷ-Ò�ÒŠ-Ô¯Ô±-Õ–Õ™Õ¡-Ö‡×�-תװ-×²Ø 
-يٮٯٱ-Û“Û•Û¥Û¦Û®Û¯Ûº-Û¼Û¿Ü�Ü’-ܯÝ�-ޥޱߊ-ßªß´ßµßºà €-à •à šà ¤à ¨à¡€-ࡘࢠ
-ࢴऄ-हऽà¥�क़-ॡॱ-ঀঅ-ঌà¦�à¦�ও-নপ-রলশ-হঽৎড়à§�à§Ÿ-ৡৰৱਅ-ਊà¨�à¨�ਓ-ਨਪ-ਰਲਲ਼ਵਸ਼ਸਹਖ਼-ੜਫ਼ੲ-ੴઅ-àª�àª�-ઑઓ-નપ-રલળવ-હઽà«�à«
 
ૡૹଅ-ଌà¬�à¬�ଓ-ନପ-ରଲଳଵ-ହଽଡ଼à­�à­Ÿ-ୡୱஃஅ-ஊஎ-à®�à®’-கஙசஜஞடணதந-பம-ஹà¯�à°…-ఌఎ-à°�à°’-నప-హఽౘ-ౚà±
 ౡಅ-ಌಎ-�ಒ-ನಪ-ಳವ-ಹಽೞೠ
ೡೱೲഅ-ഌഎ-à´�à´’-ഺഽൎൟ-ൡൺ-ൿඅ-à¶–à¶š-නඳ-රලව-à·†à¸�-ะาำเ-ๆàº�ຂຄງຈຊàº�ດ-ທນ-ຟມ-ຣລວສຫອ-ະາຳຽເ-ໄໆໜ-ໟༀཀ-ཇཉ-ཬྈ-ྌက-ဪဿá��-á�•á�š-á��á�¡á�¥á�¦á�®-á�°á�µ-á‚�ႎá‚
 -ჅჇ��-ჺჼ-ቈቊ-��-ቖቘቚ-�በ
-ኈኊ-��-ኰኲ-ኵኸ-ኾዀዂ-ዅወ-ዖዘ-�ጒ-ጕጘ-�ᎀ-�Ꭰ
-á�µá�¸-á�½á��-ᙬᙯ-ᙿáš�-áššáš -ᛪᛱ-ᛸᜀ-ᜌᜎ-ᜑᜠ-ᜱá�€-á�‘á� 
-á�¬á�®-á�°áž€-áž³áŸ—áŸœá  
-ᡷᢀ-ᢨᢪᢰ-ᣵᤀ-ᤞ�-ᥭᥰ-ᥴᦀ-ᦫᦰ-ᧉᨀ-ᨖᨠ
-ᩔᪧᬅ-ᬳᭅ-ᭋᮃ-ᮠ
ᮮᮯᮺ-ᯥᰀ-ᰣ�-�ᱚ-ᱽᳩ-ᳬᳮ-ᳱᳵᳶᴀ-ᶿḀ-ἕἘ-�ἠ
-ὅὈ-á½�á½�-ὗὙὛá½�Ὗ-ώᾀ-á¾´á¾¶-ᾼιῂ-ῄῆ-ῌá¿�-á¿“á¿–-á¿›á¿
 
-Ῥῲ-á¿´á¿¶-ῼâ�±â�¿â‚�-ₜℂℇℊ-â„“â„•â„™-â„�ℤΩℨK-ℭℯ-ℹℼ-â„¿â……-ⅉⅎↃↄⰀ-Ⱞⰰ-ⱞâ±
 -ⳤⳫ-ⳮⳲⳳⴀ-ⴥⴧⴭⴰ-ⵧⵯⶀ-ⶖⶠ
-ⶦⶨ-ⶮⶰ-ⶶⶸ-ⶾⷀ-ⷆⷈ-â·Žâ·�-â·–â·˜-ⷞⸯ々〆〱-〵〻〼ã��-ã‚–ã‚�-ゟァ-ヺー-ヿㄅ-ㄭㄱ-ㆎã†
 -ㆺㇰ-ㇿã�€-䶵一-鿕ꀀ-ê’Œê“�-ꓽꔀ-ꘌê˜�-ꘟꘪꘫꙀ-ꙮꙿ-êš�êš 
-ꛥꜗ-ꜟꜢ-ꞈꞋ-êž­êž°-ꞷꟷ-ê �ê ƒ-ê …ê ‡-ê Šê Œ-ê 
¢ê¡€-ꡳꢂ-ꢳꣲ-ꣷꣻꣽꤊ-ꤥꤰ-ê¥†ê¥ -ꥼꦄ-ꦲê§�ê§ 
-ꧤꧦ-ꧯꧺ-ꧾꨀ-ꨨꩀ-ê©‚ê©„-ê©‹ê© 
-ꩶꩺꩾ-ꪯꪱꪵꪶꪹ-ꪽꫀꫂꫛ-ê«�ê« 
-ꫪꫲ-ê«´ê¬�-ꬆꬉ-ꬎꬑ-ê¬–ê¬ 
-ꬦꬨ-ꬮꬰ-ê­šê­œ-ꭥꭰ-ꯢ가-힣ힰ-ퟆퟋ-ퟻ豈-ï©­ï©°-龎ff-stﬓ-ﬗï¬�ײַ-ﬨשׁ-זּטּ-לּמּנּï­�ףּפּצּ-ﮱﯓ-ï´½ïµ�-ï¶�ï¶’-ﷇﷰ-ﷻﹰ-ï¹´ï¹¶-ﻼA-Zï½�-zヲ-하-ᅦᅧ-ï¿�ï¿’-ᅲᅳ-ᅵ0-9Ù
 
-Ù©Û°-۹߀-߉०-९০-৯੦-੯૦-૯୦-୯௦-௯౦-౯೦-೯൦-൯෦-à·¯à¹�-๙à»�-à»™à¼
 -༩á�€-á�‰á‚�-႙០-៩á �-á 
™á¥†-á¥�á§�-᧙᪀-᪉áª�-᪙á­�-᭙᮰-᮹᱀-᱉á±�-á±™ê˜ 
-꘩ê£�-꣙꤀-꤉ê§�-꧙꧰-ê§¹ê©�-꩙꯰-꯹ï¼�-ï¼™.\-]*[A-Za-z\xAA\xB5\xBA\xC0-\xD6\xD8-\xF6\xF8-Ë�ˆ-Ë‘Ë
 -ˤˬˮͰ-ʹͶͷͺ-ͽͿΆΈ-ΊΌΎ-ΡΣ-ϵϷ-Ò�ÒŠ-Ô¯Ô±-Õ–Õ™Õ¡-Ö‡×�-תװ-×²Ø 
-يٮٯٱ-Û“Û•Û¥Û¦Û®Û¯Ûº-Û¼Û¿Ü�Ü’-ܯÝ�-ޥޱߊ-ßªß´ßµßºà €-à •à šà ¤à ¨à¡€-ࡘࢠ
-ࢴऄ-हऽà¥�क़-ॡॱ-ঀঅ-ঌà¦�à¦�ও-নপ-রলশ-হঽৎড়à§�à§Ÿ-ৡৰৱਅ-ਊà¨�à¨�ਓ-ਨਪ-ਰਲਲ਼ਵਸ਼ਸਹਖ਼-ੜਫ਼ੲ-ੴઅ-àª�àª�-ઑઓ-નપ-રલળવ-હઽà«�à«
 
ૡૹଅ-ଌà¬�à¬�ଓ-ନପ-ରଲଳଵ-ହଽଡ଼à­�à­Ÿ-ୡୱஃஅ-ஊஎ-à®�à®’-கஙசஜஞடணதந-பம-ஹà¯�à°…-ఌఎ-à°�à°’-నప-హఽౘ-ౚà±
 ౡಅ-ಌಎ-�ಒ-ನಪ-ಳವ-ಹಽೞೠ
ೡೱೲഅ-ഌഎ-à´�à´’-ഺഽൎൟ-ൡൺ-ൿඅ-à¶–à¶š-නඳ-රලව-à·†à¸�-ะาำเ-ๆàº�ຂຄງຈຊàº�ດ-ທນ-ຟມ-ຣລວສຫອ-ະາຳຽເ-ໄໆໜ-ໟༀཀ-ཇཉ-ཬྈ-ྌက-ဪဿá��-á�•á�š-á��á�¡á�¥á�¦á�®-á�°á�µ-á‚�ႎá‚
 -ჅჇ��-ჺჼ-ቈቊ-��-ቖቘቚ-�በ
-ኈኊ-��-ኰኲ-ኵኸ-ኾዀዂ-ዅወ-ዖዘ-�ጒ-ጕጘ-�ᎀ-�Ꭰ
-á�µá�¸-á�½á��-ᙬᙯ-ᙿáš�-áššáš -ᛪᛱ-ᛸᜀ-ᜌᜎ-ᜑᜠ-ᜱá�€-á�‘á� 
-á�¬á�®-á�°áž€-áž³áŸ—áŸœá  
-ᡷᢀ-ᢨᢪᢰ-ᣵᤀ-ᤞ�-ᥭᥰ-ᥴᦀ-ᦫᦰ-ᧉᨀ-ᨖᨠ
-ᩔᪧᬅ-ᬳᭅ-ᭋᮃ-ᮠ
ᮮᮯᮺ-ᯥᰀ-ᰣ�-�ᱚ-ᱽᳩ-ᳬᳮ-ᳱᳵᳶᴀ-ᶿḀ-ἕἘ-�ἠ
-ὅὈ-á½�á½�-ὗὙὛá½�Ὗ-ώᾀ-á¾´á¾¶-ᾼιῂ-ῄῆ-ῌá¿�-á¿“á¿–-á¿›á¿
 
-Ῥῲ-á¿´á¿¶-ῼâ�±â�¿â‚�-ₜℂℇℊ-â„“â„•â„™-â„�ℤΩℨK-ℭℯ-ℹℼ-â„¿â……-ⅉⅎↃↄⰀ-Ⱞⰰ-ⱞâ±
 -ⳤⳫ-ⳮⳲⳳⴀ-ⴥⴧⴭⴰ-ⵧⵯⶀ-ⶖⶠ
-ⶦⶨ-ⶮⶰ-ⶶⶸ-ⶾⷀ-ⷆⷈ-â·Žâ·�-â·–â·˜-ⷞⸯ々〆〱-〵〻〼ã��-ã‚–ã‚�-ゟァ-ヺー-ヿㄅ-ㄭㄱ-ㆎã†
 -ㆺㇰ-ㇿã�€-䶵一-鿕ꀀ-ê’Œê“�-ꓽꔀ-ꘌê˜�-ꘟꘪꘫꙀ-ꙮꙿ-êš�êš 
-ꛥꜗ-ꜟꜢ-ꞈꞋ-êž­êž°-ꞷꟷ-ê �ê ƒ-ê …ê ‡-ê Šê Œ-ê 
¢ê¡€-ꡳꢂ-ꢳꣲ-ꣷꣻꣽꤊ-ꤥꤰ-ê¥†ê¥ -ꥼꦄ-ꦲê§�ê§ 
-ꧤꧦ-ꧯꧺ-ꧾꨀ-ꨨꩀ-ê©‚ê©„-ê©‹ê© 
-ꩶꩺꩾ-ꪯꪱꪵꪶꪹ-ꪽꫀꫂꫛ-ê«�ê« 
-ꫪꫲ-ê«´ê¬�-ꬆꬉ-ꬎꬑ-ê¬–ê¬ 
-ꬦꬨ-ꬮꬰ-ê­šê­œ-ꭥꭰ-ꯢ가-힣ힰ-ퟆퟋ-ퟻ豈-ï©­ï©°-龎ff-stﬓ-ﬗï¬�ײַ-ﬨשׁ-זּטּ-לּמּנּï­�ףּפּצּ-ﮱﯓ-ï´½ïµ�-ï¶�ï¶’-ﷇﷰ-ﷻﹰ-ï¹´ï¹¶-ﻼA-Zï½�-zヲ-하-ᅦᅧ-ï¿�ï¿’-ᅲᅳ-ᅵ0-9Ù
 
-Ù©Û°-۹߀-߉०-९০-৯੦-੯૦-૯୦-୯௦-௯౦-౯೦-೯൦-൯෦-à·¯à¹�-๙à»�-à»™à¼
 -༩á�€-á�‰á‚�-႙០-៩á �-á 
™á¥†-á¥�á§�-᧙᪀-᪉áª�-᪙á­�-᭙᮰-᮹᱀-᱉á±�-á±™ê˜ 
-꘩�-꣙꤀-꤉�-꧙꧰-꧹�-꩙꯰-꯹�-9\-]/: Range out of order 
in character class
    at new RegExp (<anonymous>)
    at Object.r (Autolinker.js:1384)
    at Object.<anonymous> (swagger-ui-bundle.js:133)
    at n (bootstrap:19)
    at Object.<anonymous> (linkify.js:11)
    at n (bootstrap:19)
    at Object.<anonymous> (parser_core.js:22)
    at n (bootstrap:19)
    at Object.<anonymous> (index.js:9)
    at n (bootstrap:19)
(index):1 Unchecked runtime.lastError: Could not establish connection. 
Receiving end does not exist.
(index):61 Uncaught ReferenceError: SwaggerUIBundle is not defined
    at window.onload ((index):61)


Mapping for Swagger is working for me[protocol]://[host]:[port]/syncope/swagger/
But Swagger’s functionality doesn’t work.
I’m still trying to figure out where is an issue.

Any ideas why this happens? Haven’t you faced with such an error?

Kind Regards,
Dmitriy Brashevets

From: Andrea Patricelli <andreapatrice...@apache.org>
Sent: Thursday, June 25, 2020 12:33 PM
To: user@syncope.apache.org
Subject: Re: Fwd: How to generate swagger documentation


Sorry, my bad.
The correct swagger url is

[protocol]://[host]:[port]/syncope/swagger/

Best regards,
Andrea
Il 25/06/20 11:30, Andrea Patricelli ha scritto:

Hi Anmol
Il 24/06/20 18:22, Anmol Sharma ha scritto:
Hi,

I'm a new user exploring the Maven project workflow for Apache Syncope. I tried 
to use the `syncope-ext-swagger-ui` to generate the swagger documentation.

When I run mvn clean package in the core module, I do not see swagger-ui docs 
or config generated. I also ran the build with the `all` profile but it did not 
notice any difference.

I'm wondering if you could point me to some documentation on how to enable / 
generate swagger docs for a standalone deployment of the core module?
Her you can find some docs about building Syncope in general [1]. To enable the 
swagger extension please follow [2], "Enable the Swagger extension" section. 
You can find swagger docs available at 
[protocol]://[host]:[port]/syncope-swagger/


Thanks
anmol

HTH,
Andrea

[1] https://syncope.apache.org/building

[2] https://syncope.apache.org/docs/2.1/reference-guide.html#customization-core



--
- Anmol

--

Dott. Andrea Patricelli

Tel. +39 3204524292



Engineer @ Tirasa S.r.l.

Viale Vittoria Colonna 97 - 65127 Pescara

Tel +39 0859116307 / FAX +39 0859111173

http://www.tirasa.net



Apache Syncope PMC Member

--

Dott. Andrea Patricelli

Tel. +39 3204524292



Engineer @ Tirasa S.r.l.

Viale Vittoria Colonna 97 - 65127 Pescara

Tel +39 0859116307 / FAX +39 0859111173

http://www.tirasa.net



Apache Syncope PMC Member

Attachment: smime.p7s
Description: S/MIME cryptographic signature

Reply via email to