<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:dc="http://purl.org/dc/elements/1.1/">
  <channel>
    <title>DEV Community: Omar Mohamad Abou Ghoche</title>
    <description>The latest articles on DEV Community by Omar Mohamad Abou Ghoche (@omarghoche).</description>
    <link>https://dev.to/omarghoche</link>
    <image>
      <url>https://media2.dev.to/dynamic/image/width=90,height=90,fit=cover,gravity=auto,format=auto/https:%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Fuser%2Fprofile_image%2F555784%2F210804ce-c0db-4ec7-9239-0836d64934f5.png</url>
      <title>DEV Community: Omar Mohamad Abou Ghoche</title>
      <link>https://dev.to/omarghoche</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://dev.to/feed/omarghoche"/>
    <language>en</language>
    <item>
      <title>How to Java☕ connect to Azure Cosmos DB Gremlin API via embedded code</title>
      <dc:creator>Omar Mohamad Abou Ghoche</dc:creator>
      <pubDate>Wed, 17 May 2023 18:15:35 +0000</pubDate>
      <link>https://dev.to/omarghoche/how-to-java-connect-to-azure-cosmos-db-gremlin-api-via-embedded-code-ino</link>
      <guid>https://dev.to/omarghoche/how-to-java-connect-to-azure-cosmos-db-gremlin-api-via-embedded-code-ino</guid>
      <description>&lt;div class="ltag__stackexchange--container"&gt;
  &lt;div class="ltag__stackexchange--title-container"&gt;
    
      &lt;div class="ltag__stackexchange--title"&gt;
        &lt;div class="ltag__stackexchange--header"&gt;
          &lt;img src="https://res.cloudinary.com/practicaldev/image/fetch/s--AoTUKOcU--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_800/https://dev.to/assets/stackoverflow-logo-b42691ae545e4810b105ee957979a853a696085e67e43ee14c5699cf3e890fb4.svg" alt=""&gt;
          &lt;a href="https://stackoverflow.com/questions/76275061/how-to-connect-to-azure-cosmos-db-gremlin-api-via-embedded-code" rel="noopener noreferrer"&gt;
            How to connect to Azure Cosmos DB Gremlin API via embedded code
          &lt;/a&gt;
        &lt;/div&gt;
        &lt;div class="ltag__stackexchange--post-metadata"&gt;
          &lt;span&gt;May 17 '23&lt;/span&gt;
            &lt;span&gt;Comments: 1&lt;/span&gt;
            &lt;span&gt;Answers: 0&lt;/span&gt;
        &lt;/div&gt;
      &lt;/div&gt;
      &lt;a class="ltag__stackexchange--score-container" href="https://stackoverflow.com/questions/76275061/how-to-connect-to-azure-cosmos-db-gremlin-api-via-embedded-code" rel="noopener noreferrer"&gt;
        &lt;img src="https://res.cloudinary.com/practicaldev/image/fetch/s--oeieW07A--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_800/https://dev.to/assets/stackexchange-arrow-up-eff2e2849e67d156181d258e38802c0b57fa011f74164a7f97675ca3b6ab756b.svg" alt=""&gt;
        &lt;div class="ltag__stackexchange--score-number"&gt;
          -1
        &lt;/div&gt;
        &lt;img src="https://res.cloudinary.com/practicaldev/image/fetch/s--h2-sXgSn--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_800/https://dev.to/assets/stackexchange-arrow-down-4349fac0dd932d284fab7e4dd9846f19a3710558efde0d2dfd05897f3eeb9aba.svg" alt=""&gt;
      &lt;/a&gt;
    
  &lt;/div&gt;
  &lt;div class="ltag__stackexchange--body"&gt;
    
&lt;p&gt;For now we are using the very simplified and not near reality approach that Azure officially lets one play: &lt;a href="https://learn.microsoft.com/en-us/azure/cosmos-db/gremlin/quickstart-java" rel="nofollow noreferrer"&gt;https://learn.microsoft.com/en-us/azure/cosmos-db/gremlin/quickstart-java&lt;/a&gt;.&lt;/p&gt;
&lt;p&gt;But we need to use gremlin in a scriptive manner ... like this:&lt;/p&gt;
&lt;p&gt;&lt;code&gt;g.V().has()...&lt;/code&gt;&lt;/p&gt;
&lt;p&gt;... not as a string script query that is then submited:&lt;/p&gt;
&lt;pre class="lang-java prettyprint-override"&gt;&lt;code&gt;static final String gremlinQueries[]&lt;/code&gt;&lt;/pre&gt;…
    
  &lt;/div&gt;
  &lt;div class="ltag__stackexchange--btn--container"&gt;
    &lt;a href="https://stackoverflow.com/questions/76275061/how-to-connect-to-azure-cosmos-db-gremlin-api-via-embedded-code" class="ltag__stackexchange--btn" rel="noopener noreferrer"&gt;Open Full Question&lt;/a&gt;
  &lt;/div&gt;
&lt;/div&gt;


</description>
    </item>
    <item>
      <title>Limited connection with Azure Cosmos DB Gremlin</title>
      <dc:creator>Omar Mohamad Abou Ghoche</dc:creator>
      <pubDate>Wed, 17 May 2023 18:14:17 +0000</pubDate>
      <link>https://dev.to/omarghoche/limited-connection-with-azure-cosmos-db-gremlin-4hfc</link>
      <guid>https://dev.to/omarghoche/limited-connection-with-azure-cosmos-db-gremlin-4hfc</guid>
      <description>&lt;div class="ltag__stackexchange--container"&gt;
  &lt;div class="ltag__stackexchange--title-container"&gt;
    
      &lt;div class="ltag__stackexchange--title"&gt;
        &lt;div class="ltag__stackexchange--header"&gt;
          &lt;img src="https://res.cloudinary.com/practicaldev/image/fetch/s--AoTUKOcU--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_800/https://dev.to/assets/stackoverflow-logo-b42691ae545e4810b105ee957979a853a696085e67e43ee14c5699cf3e890fb4.svg" alt=""&gt;
          &lt;a href="https://stackoverflow.com/questions/76273168/limited-connection-with-azure-cosmos-db-gremlin" rel="noopener noreferrer"&gt;
            Limited connection with Azure Cosmos DB Gremlin
          &lt;/a&gt;
        &lt;/div&gt;
        &lt;div class="ltag__stackexchange--post-metadata"&gt;
          &lt;span&gt;May 17 '23&lt;/span&gt;
            &lt;span&gt;Comments: 1&lt;/span&gt;
            &lt;span&gt;Answers: 0&lt;/span&gt;
        &lt;/div&gt;
      &lt;/div&gt;
      &lt;a class="ltag__stackexchange--score-container" href="https://stackoverflow.com/questions/76273168/limited-connection-with-azure-cosmos-db-gremlin" rel="noopener noreferrer"&gt;
        &lt;img src="https://res.cloudinary.com/practicaldev/image/fetch/s--oeieW07A--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_800/https://dev.to/assets/stackexchange-arrow-up-eff2e2849e67d156181d258e38802c0b57fa011f74164a7f97675ca3b6ab756b.svg" alt=""&gt;
        &lt;div class="ltag__stackexchange--score-number"&gt;
          0
        &lt;/div&gt;
        &lt;img src="https://res.cloudinary.com/practicaldev/image/fetch/s--h2-sXgSn--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_800/https://dev.to/assets/stackexchange-arrow-down-4349fac0dd932d284fab7e4dd9846f19a3710558efde0d2dfd05897f3eeb9aba.svg" alt=""&gt;
      &lt;/a&gt;
    
  &lt;/div&gt;
  &lt;div class="ltag__stackexchange--body"&gt;
    
&lt;p&gt;Regarding the previous answer ... the connection that is working for now ... to connect with Gremlin server @ Azure Cosmos DB Gremlin API ... is via a remote.yaml file [check image below].&lt;/p&gt;
&lt;p&gt;The limitation is, one can only connect to a specific graph at-a-time ... giving not much space…&lt;/p&gt;
    
  &lt;/div&gt;
  &lt;div class="ltag__stackexchange--btn--container"&gt;
    &lt;a href="https://stackoverflow.com/questions/76273168/limited-connection-with-azure-cosmos-db-gremlin" class="ltag__stackexchange--btn" rel="noopener noreferrer"&gt;Open Full Question&lt;/a&gt;
  &lt;/div&gt;
&lt;/div&gt;


</description>
    </item>
    <item>
      <title>Adding edge between 2 vertices in different partitions in Azure Cosmos DB Gremlin</title>
      <dc:creator>Omar Mohamad Abou Ghoche</dc:creator>
      <pubDate>Wed, 17 May 2023 18:14:05 +0000</pubDate>
      <link>https://dev.to/omarghoche/adding-edge-between-2-vertices-in-different-partitions-in-azure-cosmos-db-gremlin-24b1</link>
      <guid>https://dev.to/omarghoche/adding-edge-between-2-vertices-in-different-partitions-in-azure-cosmos-db-gremlin-24b1</guid>
      <description>&lt;div class="ltag__stackexchange--container"&gt;
  &lt;div class="ltag__stackexchange--title-container"&gt;
    
      &lt;div class="ltag__stackexchange--title"&gt;
        &lt;div class="ltag__stackexchange--header"&gt;
          &lt;img src="https://res.cloudinary.com/practicaldev/image/fetch/s--AoTUKOcU--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_800/https://dev.to/assets/stackoverflow-logo-b42691ae545e4810b105ee957979a853a696085e67e43ee14c5699cf3e890fb4.svg" alt=""&gt;
          &lt;a href="https://stackoverflow.com/questions/76272664/adding-edge-between-2-vertices-in-different-partitions-in-azure-cosmos-db-gremli" rel="noopener noreferrer"&gt;
            Adding edge between 2 vertices in different partitions in Azure Cosmos DB Gremlin
          &lt;/a&gt;
        &lt;/div&gt;
        &lt;div class="ltag__stackexchange--post-metadata"&gt;
          &lt;span&gt;May 17 '23&lt;/span&gt;
            &lt;span&gt;Comments: 3&lt;/span&gt;
            &lt;span&gt;Answers: 0&lt;/span&gt;
        &lt;/div&gt;
      &lt;/div&gt;
      &lt;a class="ltag__stackexchange--score-container" href="https://stackoverflow.com/questions/76272664/adding-edge-between-2-vertices-in-different-partitions-in-azure-cosmos-db-gremli" rel="noopener noreferrer"&gt;
        &lt;img src="https://res.cloudinary.com/practicaldev/image/fetch/s--oeieW07A--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_800/https://dev.to/assets/stackexchange-arrow-up-eff2e2849e67d156181d258e38802c0b57fa011f74164a7f97675ca3b6ab756b.svg" alt=""&gt;
        &lt;div class="ltag__stackexchange--score-number"&gt;
          0
        &lt;/div&gt;
        &lt;img src="https://res.cloudinary.com/practicaldev/image/fetch/s--h2-sXgSn--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_800/https://dev.to/assets/stackexchange-arrow-down-4349fac0dd932d284fab7e4dd9846f19a3710558efde0d2dfd05897f3eeb9aba.svg" alt=""&gt;
      &lt;/a&gt;
    
  &lt;/div&gt;
  &lt;div class="ltag__stackexchange--body"&gt;
    
&lt;p&gt;I am trying to add 2 vertices to different logical partitions, then i want to connect them through an edge, but couldn't find anything online! How to do it?!&lt;/p&gt;
&lt;p&gt;Azure Cosmos DB Gremlin API works via Partition Key (pk) by distributing data alocation based on the value of pk…&lt;/p&gt;
    
  &lt;/div&gt;
  &lt;div class="ltag__stackexchange--btn--container"&gt;
    &lt;a href="https://stackoverflow.com/questions/76272664/adding-edge-between-2-vertices-in-different-partitions-in-azure-cosmos-db-gremli" class="ltag__stackexchange--btn" rel="noopener noreferrer"&gt;Open Full Question&lt;/a&gt;
  &lt;/div&gt;
&lt;/div&gt;


</description>
    </item>
    <item>
      <title>AWS Cloud Directory - unable to determine node type</title>
      <dc:creator>Omar Mohamad Abou Ghoche</dc:creator>
      <pubDate>Thu, 04 May 2023 14:30:18 +0000</pubDate>
      <link>https://dev.to/omarghoche/aws-cloud-directory-unable-to-determine-node-type-1hfa</link>
      <guid>https://dev.to/omarghoche/aws-cloud-directory-unable-to-determine-node-type-1hfa</guid>
      <description>&lt;div class="ltag__stackexchange--container"&gt;
  &lt;div class="ltag__stackexchange--title-container"&gt;
    
      &lt;div class="ltag__stackexchange--title"&gt;
        &lt;div class="ltag__stackexchange--header"&gt;
          &lt;img src="https://res.cloudinary.com/practicaldev/image/fetch/s--AoTUKOcU--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_800/https://dev.to/assets/stackoverflow-logo-b42691ae545e4810b105ee957979a853a696085e67e43ee14c5699cf3e890fb4.svg" alt=""&gt;
          &lt;a href="https://stackoverflow.com/questions/76166746/aws-cloud-directory-unable-to-determine-node-type" rel="noopener noreferrer"&gt;
            AWS Cloud Directory - unable to determine node type
          &lt;/a&gt;
        &lt;/div&gt;
        &lt;div class="ltag__stackexchange--post-metadata"&gt;
          &lt;span&gt;May  3 '23&lt;/span&gt;
            &lt;span&gt;Comments: 1&lt;/span&gt;
            &lt;span&gt;Answers: 0&lt;/span&gt;
        &lt;/div&gt;
      &lt;/div&gt;
      &lt;a class="ltag__stackexchange--score-container" href="https://stackoverflow.com/questions/76166746/aws-cloud-directory-unable-to-determine-node-type" rel="noopener noreferrer"&gt;
        &lt;img src="https://res.cloudinary.com/practicaldev/image/fetch/s--oeieW07A--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_800/https://dev.to/assets/stackexchange-arrow-up-eff2e2849e67d156181d258e38802c0b57fa011f74164a7f97675ca3b6ab756b.svg" alt=""&gt;
        &lt;div class="ltag__stackexchange--score-number"&gt;
          0
        &lt;/div&gt;
        &lt;img src="https://res.cloudinary.com/practicaldev/image/fetch/s--h2-sXgSn--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_800/https://dev.to/assets/stackexchange-arrow-down-4349fac0dd932d284fab7e4dd9846f19a3710558efde0d2dfd05897f3eeb9aba.svg" alt=""&gt;
      &lt;/a&gt;
    
  &lt;/div&gt;
  &lt;div class="ltag__stackexchange--body"&gt;
    
&lt;p&gt;On trying to run JAVA DK of AWS clouddirectory and creating an object ... i always get this ERROR:&lt;/p&gt;
&lt;p&gt;&lt;code&gt;Unable to determine if node is one of LeafNode, Node, Policy, Index (Service: CloudDirectory, Status Code: 400, Request ID: 3448687c-d30f-434e-a4e6-76fbb057f5f1)&lt;/code&gt;&lt;/p&gt;
&lt;p&gt;I tried to create a specific node, of type index, but…&lt;/p&gt;
    
  &lt;/div&gt;
  &lt;div class="ltag__stackexchange--btn--container"&gt;
    &lt;a href="https://stackoverflow.com/questions/76166746/aws-cloud-directory-unable-to-determine-node-type" class="ltag__stackexchange--btn" rel="noopener noreferrer"&gt;Open Full Question&lt;/a&gt;
  &lt;/div&gt;
&lt;/div&gt;


</description>
    </item>
  </channel>
</rss>
