{"id":2773,"date":"2015-12-14T17:51:00","date_gmt":"2015-12-14T16:51:00","guid":{"rendered":"http:\/\/iamwcew.fr.oracle.com\/blog\/?p=2773"},"modified":"2015-12-14T17:51:00","modified_gmt":"2015-12-14T16:51:00","slug":"sites-cloud-service-apps","status":"publish","type":"post","link":"https:\/\/gpmfactory.com\/index.php\/2015\/12\/14\/sites-cloud-service-apps\/","title":{"rendered":"Sites Cloud Service &#8211; Apps"},"content":{"rendered":"<p>Lorsqu&rsquo;on enregistre une nouvelle application (App) dans SCS, il faut savoir que l&rsquo;URL sera appel\u00e9e par SCS avec des param\u00e8tres.<\/p>\n<p>Selon qu&rsquo;il s&rsquo;agit de l&rsquo;url de <em>rendering<\/em> ou de <em>settings<\/em>, les <a href=\"https:\/\/docs.oracle.com\/cloud\/latest\/sitescs_gs\/SCSDV\/GUID-3FDBAC6D-7B2E-44FC-BB88-416200863018.htm#SCSDV-GUID-3FDBAC6D-7B2E-44FC-BB88-416200863018\">param\u00e8tres <\/a>seront l\u00e9g\u00e8rement diff\u00e9rents.<!--more--><a href=\"http:\/\/iamwcew.fr.oracle.com\/blog\/wp-content\/uploads\/2015\/12\/snap01661.jpg\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-2779\" src=\"http:\/\/iamwcew.fr.oracle.com\/blog\/wp-content\/uploads\/2015\/12\/snap01661.jpg\" alt=\"snap01661\" width=\"895\" height=\"581\" \/><\/a><\/p>\n<p>Voici les valeurs de param\u00e8tre qui ont \u00e9t\u00e9 pass\u00e9es \u00e0 un <a href=\"https:\/\/docs.oracle.com\/cloud\/latest\/sitescs_gs\/SCSDV\/GUID-9BE74113-0379-43F3-A078-8EE0F2B6F4B7.htm#SCSDV-GUID-9BE74113-0379-43F3-A078-8EE0F2B6F4B7\">service Node.js<\/a> qui ne faisait rien de plus que renvoyer la liste des param\u00e8tres qu&rsquo;il avait re\u00e7us:<\/p>\n<h4>Appel principal :<\/h4>\n<ul>\n<li>id=26e45e21-dbb6-4877-9886-482b37213d2f<\/li>\n<li>instance=eyJpbnN0YW5jZWlkIjoiQTI0NUNFNUNFNjA5MjE1REZBRTA2RTQyRjExOThBNThFNzc4RDc5NzFDMkIiLCJzaWduZGF0ZSI6IjE0NTAxMDg1MDU3MzEiLCJzaXRlZG9tYWluIjoiZG9jdW1lbnRzLWZyZ21mYWN0b3J5dHJpYWwuc2l0ZXMudXMyLm9yYWNsZWNsb3VkLmNvbSIsInBlcm1pc3Npb25zIjpudWxsLCJlbnRpdGxlbWVudHMiOiIifQ%3D%3D.nnzuo3PtOvuCG1yM3qreNGkzwSfaIRaGqcR54tsP1h8%3D<\/li>\n<li>cacheBuster=603206034<\/li>\n<li>width=300px<\/li>\n<li>height=515px<\/li>\n<li>viewMode=navigate<\/li>\n<li>locale=fr<\/li>\n<li>settingsId=<\/li>\n<li>customSettingsData=%7B%7D<\/li>\n<\/ul>\n<h4>Appel settings :<\/h4>\n<ul>\n<li>id=settings-26e45e21-dbb6-4877-9886-482b37213d2f<\/li>\n<li>instance=eyJpbnN0YW5jZWlkIjoiQTI0NUNFNUNFNjA5MjE1REZBRTA2RTQyRjExOThBNThFNzc4RDc5NzFDMkIiLCJzaWduZGF0ZSI6IjE0NTAxMDg1NjQ4NzAiLCJzaXRlZG9tYWluIjoiZG9jdW1lbnRzLWZyZ21mYWN0b3J5dHJpYWwuc2l0ZXMudXMyLm9yYWNsZWNsb3VkLmNvbSIsInBlcm1pc3Npb25zIjoiU0lURV9PV05FUiIsImVudGl0bGVtZW50cyI6IiJ9.aMC6XtXcpExqgWjOPvZqb3yOFdGXIYmzy1XFx9hKUCI%3D<\/li>\n<li>currCompId=26e45e21-dbb6-4877-9886-482b37213d2f<\/li>\n<li>width=300<\/li>\n<li>locale=fr<\/li>\n<li>origSettingsId=<\/li>\n<li>settingsId=9271b3c5-fba5-4d0f-afd9-c8e6d1b2aa74<\/li>\n<li>customSettingsData=%7B%7D<\/li>\n<\/ul>\n<p>La valeur Key:\u00a0a2ee237c-90e5-473d-a51e-7630c50a945b<br \/>\nest utilis\u00e9e pour <a href=\"https:\/\/docs.oracle.com\/cloud\/latest\/sitescs_gs\/SCSDV\/GUID-BFD2764B-3D80-4B0C-82AF-E4ACAEE4C0BE.htm#SCSDV-GUID-BFD2764B-3D80-4B0C-82AF-E4ACAEE4C0BE\">\u00e9viter que n&rsquo;importe qui appelle l&rsquo;application en dehors de SCS<\/a>.<\/p>\n<p>cf liste des <a href=\"https:\/\/docs.oracle.com\/cloud\/latest\/sitescs_gs\/SCSDV\/GUID-3FDBAC6D-7B2E-44FC-BB88-416200863018.htm#SCSDV-GUID-3FDBAC6D-7B2E-44FC-BB88-416200863018\">param\u00e8tres dans la documentation de SCS<\/a>.<\/p>\n<h4>Contenu du fichier appinfo.json:<\/h4>\n<p>{\u00ab\u00a0iconUrl\u00a0\u00bb:\u00a0\u00bb\/_sitescloud\/sitebuilder\/components\/images\/icon\/app.svg\u00a0\u00bb,\u00a0\u00bbappName\u00a0\u00bb:\u00a0\u00bbappelConsole\u00a0\u00bb,\u00a0\u00bbappDescription\u00a0\u00bb:\u00a0\u00bb\u00a0\u00bb,\u00a0\u00bbappGUID\u00a0\u00bb:\u00a0\u00bb4fed0cdf-8174-4cc8-b6c3-f517ae348ae6&Prime;,\u00a0\u00bbendpoints\u00a0\u00bb:{\u00ab\u00a0widget\u00a0\u00bb:{\u00ab\u00a0url\u00a0\u00bb:\u00a0\u00bbhttps:\/\/xxxxxxxx:7777&Prime;,\u00a0\u00bbheight\u00a0\u00bb:300,\u00a0\u00bbwidth\u00a0\u00bb:300},\u00a0\u00bbsettings\u00a0\u00bb:{\u00ab\u00a0url\u00a0\u00bb:\u00a0\u00bbhttps:\/\/xxxxxxxxx:7777&Prime;,\u00a0\u00bbheight\u00a0\u00bb:400,\u00a0\u00bbwidth\u00a0\u00bb:300}},\u00a0\u00bbsupportInfo\u00a0\u00bb:{\u00ab\u00a0supportUrl\u00a0\u00bb:\u00a0\u00bb\u00a0\u00bb,\u00a0\u00bbsupportEmail\u00a0\u00bb:\u00a0\u00bb\u00a0\u00bb,\u00a0\u00bbsupportPhone\u00a0\u00bb:\u00a0\u00bb\u00a0\u00bb},\u00a0\u00bbcompany\u00a0\u00bb:\u00a0\u00bb\u00a0\u00bb}<\/p>\n<p><strong>4fed0cdf-8174-4cc8-b6c3-f517ae348ae6<\/strong>: C&rsquo;est \u00e9galement le nom\u00a0du r\u00e9pertoire contenant les informations de l&rsquo;application<\/p>\n<h4>Plateforme ayant \u00e9t\u00e9 utilis\u00e9e pour\u00a0ce test:<\/h4>\n<ul>\n<li>Une instance de SCS sur un Identity Domain A<\/li>\n<li>Une instance JCS sur un Identity Domain B\n<ul>\n<li>Installation de Node.js<\/li>\n<li>Ajout d&rsquo;un serveur sur le port 7777<\/li>\n<\/ul>\n<\/li>\n<\/ul>\n<p>&nbsp;<\/p>\n<p>&nbsp;<\/p>\n<p>&nbsp;<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Lorsqu&rsquo;on enregistre une nouvelle application (App) dans SCS, il faut savoir que l&rsquo;URL sera appel\u00e9e par SCS avec des param\u00e8tres. Selon qu&rsquo;il s&rsquo;agit de&#8230;<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[18],"tags":[],"ppma_author":[150],"class_list":["post-2773","post","type-post","status-publish","format-standard","hentry","category-uncategorized"],"authors":[{"term_id":150,"user_id":1,"is_guest":0,"slug":"admin8700","display_name":"Patrick","avatar_url":"https:\/\/secure.gravatar.com\/avatar\/209d5ed69b74d288390621ab4c1d3773?s=96&d=mm&r=g","0":null,"1":"","2":"","3":"","4":"","5":"","6":"","7":"","8":""}],"_links":{"self":[{"href":"https:\/\/gpmfactory.com\/index.php\/wp-json\/wp\/v2\/posts\/2773","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/gpmfactory.com\/index.php\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/gpmfactory.com\/index.php\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/gpmfactory.com\/index.php\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/gpmfactory.com\/index.php\/wp-json\/wp\/v2\/comments?post=2773"}],"version-history":[{"count":0,"href":"https:\/\/gpmfactory.com\/index.php\/wp-json\/wp\/v2\/posts\/2773\/revisions"}],"wp:attachment":[{"href":"https:\/\/gpmfactory.com\/index.php\/wp-json\/wp\/v2\/media?parent=2773"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/gpmfactory.com\/index.php\/wp-json\/wp\/v2\/categories?post=2773"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/gpmfactory.com\/index.php\/wp-json\/wp\/v2\/tags?post=2773"},{"taxonomy":"author","embeddable":true,"href":"https:\/\/gpmfactory.com\/index.php\/wp-json\/wp\/v2\/ppma_author?post=2773"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}