From 0a4ae3fbdf544c314eacb64fad926c066cd1aab2 Mon Sep 17 00:00:00 2001
From: Konstantinos Platis <konstantinos.platis@cern.ch>
Date: Wed, 5 May 2021 09:16:26 +0000
Subject: [PATCH 1/2] Add composer.json file

---
 composer.json | 20 ++++++++++++++++++++
 1 file changed, 20 insertions(+)
 create mode 100644 composer.json

diff --git a/composer.json b/composer.json
new file mode 100644
index 0000000..eaa64f5
--- /dev/null
+++ b/composer.json
@@ -0,0 +1,20 @@
+{
+  "name": "drupal/cern-ldap-api",
+  "description": "Provides a service API to access CERN LDAP",
+  "version": "0.1",
+  "type": "drupal-custom-module",
+  "license": "GPL-2.0-or-later",
+  "authors": [
+    {
+      "name": "Konstantinos Platis",
+      "email": "konstantinos.platis@cern.ch"
+    }
+  ],
+  "repositories": [
+    {
+      "type": "composer",
+      "url": "https://packages.drupal.org/8"
+    }
+  ],
+  "require": {}
+}
-- 
GitLab


From a517018b4e7859dba63135ce4c52dfe77a272dae Mon Sep 17 00:00:00 2001
From: Konstantinos Platis <konstantinos.platis@cern.ch>
Date: Wed, 5 May 2021 12:02:45 +0200
Subject: [PATCH 2/2] Update module to be d9-ready (scanned using upgrade
 status)

---
 cern_ldap_api.info.yml | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/cern_ldap_api.info.yml b/cern_ldap_api.info.yml
index b5f2381..7814e13 100644
--- a/cern_ldap_api.info.yml
+++ b/cern_ldap_api.info.yml
@@ -2,6 +2,7 @@ name: CERN Ldap API
 type: module
 description: Provides a service API to access CERN LDAP, please note this module doesn't offer any interface and should be used only to develop advance modules
 core: 8.x
+core_version_requirement: ^8 || ^9
 package: CERN
 version: 0.1
-project: cern_ldap_api
\ No newline at end of file
+project: cern_ldap_api
-- 
GitLab