diff --git a/.classpath b/.classpath
new file mode 100644
index 0000000000000000000000000000000000000000..b9f609aa517420b0f846cbbb92bca7d0b084cfe6
--- /dev/null
+++ b/.classpath
@@ -0,0 +1,49 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<classpath>
+	<classpathentry kind="src" output="target/classes" path="src/main/java">
+		<attributes>
+			<attribute name="optional" value="true"/>
+			<attribute name="maven.pomderived" value="true"/>
+		</attributes>
+	</classpathentry>
+	<classpathentry excluding="**" kind="src" output="target/classes" path="src/main/resources">
+		<attributes>
+			<attribute name="maven.pomderived" value="true"/>
+		</attributes>
+	</classpathentry>
+	<classpathentry kind="src" output="target/test-classes" path="src/test/java">
+		<attributes>
+			<attribute name="test" value="true"/>
+			<attribute name="optional" value="true"/>
+			<attribute name="maven.pomderived" value="true"/>
+		</attributes>
+	</classpathentry>
+	<classpathentry excluding="**" kind="src" output="target/test-classes" path="src/test/resources">
+		<attributes>
+			<attribute name="test" value="true"/>
+			<attribute name="maven.pomderived" value="true"/>
+		</attributes>
+	</classpathentry>
+	<classpathentry kind="con" path="org.eclipse.jdt.launching.JRE_CONTAINER/org.eclipse.jdt.internal.debug.ui.launcher.StandardVMType/JavaSE-17">
+		<attributes>
+			<attribute name="maven.pomderived" value="true"/>
+		</attributes>
+	</classpathentry>
+	<classpathentry kind="con" path="org.eclipse.m2e.MAVEN2_CLASSPATH_CONTAINER">
+		<attributes>
+			<attribute name="maven.pomderived" value="true"/>
+		</attributes>
+	</classpathentry>
+	<classpathentry kind="src" path=".apt_generated">
+		<attributes>
+			<attribute name="optional" value="true"/>
+		</attributes>
+	</classpathentry>
+	<classpathentry kind="src" output="target/test-classes" path=".apt_generated_tests">
+		<attributes>
+			<attribute name="optional" value="true"/>
+			<attribute name="test" value="true"/>
+		</attributes>
+	</classpathentry>
+	<classpathentry kind="output" path="target/classes"/>
+</classpath>
diff --git a/.gitignore b/.gitignore
new file mode 100644
index 0000000000000000000000000000000000000000..c3317e56bc68664fb5404a1d76950381abaae63c
--- /dev/null
+++ b/.gitignore
@@ -0,0 +1,4 @@
+/target/
+/.apt_generated/
+/.apt_generated_tests/
+/.factorypath
diff --git a/.project b/.project
new file mode 100644
index 0000000000000000000000000000000000000000..f35471a91f0b1c183d886a3d62512646a4502be1
--- /dev/null
+++ b/.project
@@ -0,0 +1,23 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<projectDescription>
+	<name>org.etsi.osl.examples.gcontroller</name>
+	<comment></comment>
+	<projects>
+	</projects>
+	<buildSpec>
+		<buildCommand>
+			<name>org.eclipse.jdt.core.javabuilder</name>
+			<arguments>
+			</arguments>
+		</buildCommand>
+		<buildCommand>
+			<name>org.eclipse.m2e.core.maven2Builder</name>
+			<arguments>
+			</arguments>
+		</buildCommand>
+	</buildSpec>
+	<natures>
+		<nature>org.eclipse.jdt.core.javanature</nature>
+		<nature>org.eclipse.m2e.core.maven2Nature</nature>
+	</natures>
+</projectDescription>
diff --git a/.settings/org.eclipse.core.resources.prefs b/.settings/org.eclipse.core.resources.prefs
new file mode 100644
index 0000000000000000000000000000000000000000..29abf999564110a0d6aca109f55f439c72b7031c
--- /dev/null
+++ b/.settings/org.eclipse.core.resources.prefs
@@ -0,0 +1,6 @@
+eclipse.preferences.version=1
+encoding//src/main/java=UTF-8
+encoding//src/main/resources=UTF-8
+encoding//src/test/java=UTF-8
+encoding//src/test/resources=UTF-8
+encoding/<project>=UTF-8
diff --git a/.settings/org.eclipse.jdt.apt.core.prefs b/.settings/org.eclipse.jdt.apt.core.prefs
new file mode 100644
index 0000000000000000000000000000000000000000..fa6bcfb3fdb3a5ff5ccf658c79e656a02d8dbf61
--- /dev/null
+++ b/.settings/org.eclipse.jdt.apt.core.prefs
@@ -0,0 +1,5 @@
+eclipse.preferences.version=1
+org.eclipse.jdt.apt.aptEnabled=true
+org.eclipse.jdt.apt.genSrcDir=.apt_generated
+org.eclipse.jdt.apt.genTestSrcDir=.apt_generated_tests
+org.eclipse.jdt.apt.reconcileEnabled=true
diff --git a/.settings/org.eclipse.jdt.core.prefs b/.settings/org.eclipse.jdt.core.prefs
new file mode 100644
index 0000000000000000000000000000000000000000..d9cfd0599953a44fe774453d003a50ed89e46679
--- /dev/null
+++ b/.settings/org.eclipse.jdt.core.prefs
@@ -0,0 +1,17 @@
+eclipse.preferences.version=1
+org.eclipse.jdt.core.compiler.codegen.inlineJsrBytecode=enabled
+org.eclipse.jdt.core.compiler.codegen.methodParameters=generate
+org.eclipse.jdt.core.compiler.codegen.targetPlatform=17
+org.eclipse.jdt.core.compiler.codegen.unusedLocal=preserve
+org.eclipse.jdt.core.compiler.compliance=17
+org.eclipse.jdt.core.compiler.debug.lineNumber=generate
+org.eclipse.jdt.core.compiler.debug.localVariable=generate
+org.eclipse.jdt.core.compiler.debug.sourceFile=generate
+org.eclipse.jdt.core.compiler.problem.assertIdentifier=error
+org.eclipse.jdt.core.compiler.problem.enablePreviewFeatures=disabled
+org.eclipse.jdt.core.compiler.problem.enumIdentifier=error
+org.eclipse.jdt.core.compiler.problem.forbiddenReference=warning
+org.eclipse.jdt.core.compiler.problem.reportPreviewFeatures=warning
+org.eclipse.jdt.core.compiler.processAnnotations=enabled
+org.eclipse.jdt.core.compiler.release=disabled
+org.eclipse.jdt.core.compiler.source=17
diff --git a/.settings/org.eclipse.m2e.core.prefs b/.settings/org.eclipse.m2e.core.prefs
new file mode 100644
index 0000000000000000000000000000000000000000..f897a7f1cb2389f85fe6381425d29f0a9866fb65
--- /dev/null
+++ b/.settings/org.eclipse.m2e.core.prefs
@@ -0,0 +1,4 @@
+activeProfiles=
+eclipse.preferences.version=1
+resolveWorkspaceProjects=true
+version=1
diff --git a/LICENSE b/LICENSE
new file mode 100644
index 0000000000000000000000000000000000000000..261eeb9e9f8b2b4b0d119366dda99c6fd7d35c64
--- /dev/null
+++ b/LICENSE
@@ -0,0 +1,201 @@
+                                 Apache License
+                           Version 2.0, January 2004
+                        http://www.apache.org/licenses/
+
+   TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION
+
+   1. Definitions.
+
+      "License" shall mean the terms and conditions for use, reproduction,
+      and distribution as defined by Sections 1 through 9 of this document.
+
+      "Licensor" shall mean the copyright owner or entity authorized by
+      the copyright owner that is granting the License.
+
+      "Legal Entity" shall mean the union of the acting entity and all
+      other entities that control, are controlled by, or are under common
+      control with that entity. For the purposes of this definition,
+      "control" means (i) the power, direct or indirect, to cause the
+      direction or management of such entity, whether by contract or
+      otherwise, or (ii) ownership of fifty percent (50%) or more of the
+      outstanding shares, or (iii) beneficial ownership of such entity.
+
+      "You" (or "Your") shall mean an individual or Legal Entity
+      exercising permissions granted by this License.
+
+      "Source" form shall mean the preferred form for making modifications,
+      including but not limited to software source code, documentation
+      source, and configuration files.
+
+      "Object" form shall mean any form resulting from mechanical
+      transformation or translation of a Source form, including but
+      not limited to compiled object code, generated documentation,
+      and conversions to other media types.
+
+      "Work" shall mean the work of authorship, whether in Source or
+      Object form, made available under the License, as indicated by a
+      copyright notice that is included in or attached to the work
+      (an example is provided in the Appendix below).
+
+      "Derivative Works" shall mean any work, whether in Source or Object
+      form, that is based on (or derived from) the Work and for which the
+      editorial revisions, annotations, elaborations, or other modifications
+      represent, as a whole, an original work of authorship. For the purposes
+      of this License, Derivative Works shall not include works that remain
+      separable from, or merely link (or bind by name) to the interfaces of,
+      the Work and Derivative Works thereof.
+
+      "Contribution" shall mean any work of authorship, including
+      the original version of the Work and any modifications or additions
+      to that Work or Derivative Works thereof, that is intentionally
+      submitted to Licensor for inclusion in the Work by the copyright owner
+      or by an individual or Legal Entity authorized to submit on behalf of
+      the copyright owner. For the purposes of this definition, "submitted"
+      means any form of electronic, verbal, or written communication sent
+      to the Licensor or its representatives, including but not limited to
+      communication on electronic mailing lists, source code control systems,
+      and issue tracking systems that are managed by, or on behalf of, the
+      Licensor for the purpose of discussing and improving the Work, but
+      excluding communication that is conspicuously marked or otherwise
+      designated in writing by the copyright owner as "Not a Contribution."
+
+      "Contributor" shall mean Licensor and any individual or Legal Entity
+      on behalf of whom a Contribution has been received by Licensor and
+      subsequently incorporated within the Work.
+
+   2. Grant of Copyright License. Subject to the terms and conditions of
+      this License, each Contributor hereby grants to You a perpetual,
+      worldwide, non-exclusive, no-charge, royalty-free, irrevocable
+      copyright license to reproduce, prepare Derivative Works of,
+      publicly display, publicly perform, sublicense, and distribute the
+      Work and such Derivative Works in Source or Object form.
+
+   3. Grant of Patent License. Subject to the terms and conditions of
+      this License, each Contributor hereby grants to You a perpetual,
+      worldwide, non-exclusive, no-charge, royalty-free, irrevocable
+      (except as stated in this section) patent license to make, have made,
+      use, offer to sell, sell, import, and otherwise transfer the Work,
+      where such license applies only to those patent claims licensable
+      by such Contributor that are necessarily infringed by their
+      Contribution(s) alone or by combination of their Contribution(s)
+      with the Work to which such Contribution(s) was submitted. If You
+      institute patent litigation against any entity (including a
+      cross-claim or counterclaim in a lawsuit) alleging that the Work
+      or a Contribution incorporated within the Work constitutes direct
+      or contributory patent infringement, then any patent licenses
+      granted to You under this License for that Work shall terminate
+      as of the date such litigation is filed.
+
+   4. Redistribution. You may reproduce and distribute copies of the
+      Work or Derivative Works thereof in any medium, with or without
+      modifications, and in Source or Object form, provided that You
+      meet the following conditions:
+
+      (a) You must give any other recipients of the Work or
+          Derivative Works a copy of this License; and
+
+      (b) You must cause any modified files to carry prominent notices
+          stating that You changed the files; and
+
+      (c) You must retain, in the Source form of any Derivative Works
+          that You distribute, all copyright, patent, trademark, and
+          attribution notices from the Source form of the Work,
+          excluding those notices that do not pertain to any part of
+          the Derivative Works; and
+
+      (d) If the Work includes a "NOTICE" text file as part of its
+          distribution, then any Derivative Works that You distribute must
+          include a readable copy of the attribution notices contained
+          within such NOTICE file, excluding those notices that do not
+          pertain to any part of the Derivative Works, in at least one
+          of the following places: within a NOTICE text file distributed
+          as part of the Derivative Works; within the Source form or
+          documentation, if provided along with the Derivative Works; or,
+          within a display generated by the Derivative Works, if and
+          wherever such third-party notices normally appear. The contents
+          of the NOTICE file are for informational purposes only and
+          do not modify the License. You may add Your own attribution
+          notices within Derivative Works that You distribute, alongside
+          or as an addendum to the NOTICE text from the Work, provided
+          that such additional attribution notices cannot be construed
+          as modifying the License.
+
+      You may add Your own copyright statement to Your modifications and
+      may provide additional or different license terms and conditions
+      for use, reproduction, or distribution of Your modifications, or
+      for any such Derivative Works as a whole, provided Your use,
+      reproduction, and distribution of the Work otherwise complies with
+      the conditions stated in this License.
+
+   5. Submission of Contributions. Unless You explicitly state otherwise,
+      any Contribution intentionally submitted for inclusion in the Work
+      by You to the Licensor shall be under the terms and conditions of
+      this License, without any additional terms or conditions.
+      Notwithstanding the above, nothing herein shall supersede or modify
+      the terms of any separate license agreement you may have executed
+      with Licensor regarding such Contributions.
+
+   6. Trademarks. This License does not grant permission to use the trade
+      names, trademarks, service marks, or product names of the Licensor,
+      except as required for reasonable and customary use in describing the
+      origin of the Work and reproducing the content of the NOTICE file.
+
+   7. Disclaimer of Warranty. Unless required by applicable law or
+      agreed to in writing, Licensor provides the Work (and each
+      Contributor provides its Contributions) on an "AS IS" BASIS,
+      WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
+      implied, including, without limitation, any warranties or conditions
+      of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A
+      PARTICULAR PURPOSE. You are solely responsible for determining the
+      appropriateness of using or redistributing the Work and assume any
+      risks associated with Your exercise of permissions under this License.
+
+   8. Limitation of Liability. In no event and under no legal theory,
+      whether in tort (including negligence), contract, or otherwise,
+      unless required by applicable law (such as deliberate and grossly
+      negligent acts) or agreed to in writing, shall any Contributor be
+      liable to You for damages, including any direct, indirect, special,
+      incidental, or consequential damages of any character arising as a
+      result of this License or out of the use or inability to use the
+      Work (including but not limited to damages for loss of goodwill,
+      work stoppage, computer failure or malfunction, or any and all
+      other commercial damages or losses), even if such Contributor
+      has been advised of the possibility of such damages.
+
+   9. Accepting Warranty or Additional Liability. While redistributing
+      the Work or Derivative Works thereof, You may choose to offer,
+      and charge a fee for, acceptance of support, warranty, indemnity,
+      or other liability obligations and/or rights consistent with this
+      License. However, in accepting such obligations, You may act only
+      on Your own behalf and on Your sole responsibility, not on behalf
+      of any other Contributor, and only if You agree to indemnify,
+      defend, and hold each Contributor harmless for any liability
+      incurred by, or claims asserted against, such Contributor by reason
+      of your accepting any such warranty or additional liability.
+
+   END OF TERMS AND CONDITIONS
+
+   APPENDIX: How to apply the Apache License to your work.
+
+      To apply the Apache License to your work, attach the following
+      boilerplate notice, with the fields enclosed by brackets "[]"
+      replaced with your own identifying information. (Don't include
+      the brackets!)  The text should be enclosed in the appropriate
+      comment syntax for the file format. We also recommend that a
+      file or class name and description of purpose be included on the
+      same "printed page" as the copyright notice for easier
+      identification within third-party archives.
+
+   Copyright [yyyy] [name of copyright owner]
+
+   Licensed under the Apache License, Version 2.0 (the "License");
+   you may not use this file except in compliance with the License.
+   You may obtain a copy of the License at
+
+       http://www.apache.org/licenses/LICENSE-2.0
+
+   Unless required by applicable law or agreed to in writing, software
+   distributed under the License is distributed on an "AS IS" BASIS,
+   WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+   See the License for the specific language governing permissions and
+   limitations under the License.
diff --git a/README.md b/README.md
index 57ccec144ca1f9911148bd8fde9ee9633572e5c5..5b7f8d4588d28cfcd59c9864006606cf36a58e5f 100644
--- a/README.md
+++ b/README.md
@@ -1,93 +1,21 @@
-# org.etsi.osl.examples.gcontroller
+# Generic Controller example
 
+OSL's Service orchestrator (OSOM) has the capability of contacting external controllers, given a specific resource category that this controller can manage. 
 
+This project is an example of creating a generic controller, that registers two Resource Specifications for managing resources ResourceA and ResourceB. 
 
-## Getting started
+Listens for messages on queues as registered by category name and version for CREATE/UPD/DELETE, with this scheme:
 
-To make it easy for you to get started with GitLab, here's a list of recommended next steps.
+- CREATE / category_name / version
+- UPDATE / category_name / version
+- DELETE / category_name / version
 
-Already a pro? Just edit this README.md and make it your own. Want to make it easy? [Use the template at the bottom](#editing-this-readme)!
+here we have:
 
-## Add your files
+  - category: gcontroller.examples.osl.etsi.org
+  - version: 0.1.0
 
-- [ ] [Create](https://docs.gitlab.com/ee/user/project/repository/web_editor.html#create-a-file) or [upload](https://docs.gitlab.com/ee/user/project/repository/web_editor.html#upload-a-file) files
-- [ ] [Add files using the command line](https://docs.gitlab.com/ee/gitlab-basics/add-file.html#add-a-file-using-the-command-line) or push an existing Git repository with the following command:
 
-```
-cd existing_repo
-git remote add origin https://labs.etsi.org/rep/osl/code/addons/org.etsi.osl.examples.gcontroller.git
-git branch -M main
-git push -uf origin main
-```
+The project registers automatically the two Resource Specifications (RSpecs) and we added handler functions for create, update and delete.
 
-## Integrate with your tools
-
-- [ ] [Set up project integrations](https://labs.etsi.org/rep/osl/code/addons/org.etsi.osl.examples.gcontroller/-/settings/integrations)
-
-## Collaborate with your team
-
-- [ ] [Invite team members and collaborators](https://docs.gitlab.com/ee/user/project/members/)
-- [ ] [Create a new merge request](https://docs.gitlab.com/ee/user/project/merge_requests/creating_merge_requests.html)
-- [ ] [Automatically close issues from merge requests](https://docs.gitlab.com/ee/user/project/issues/managing_issues.html#closing-issues-automatically)
-- [ ] [Enable merge request approvals](https://docs.gitlab.com/ee/user/project/merge_requests/approvals/)
-- [ ] [Set auto-merge](https://docs.gitlab.com/ee/user/project/merge_requests/merge_when_pipeline_succeeds.html)
-
-## Test and Deploy
-
-Use the built-in continuous integration in GitLab.
-
-- [ ] [Get started with GitLab CI/CD](https://docs.gitlab.com/ee/ci/quick_start/index.html)
-- [ ] [Analyze your code for known vulnerabilities with Static Application Security Testing (SAST)](https://docs.gitlab.com/ee/user/application_security/sast/)
-- [ ] [Deploy to Kubernetes, Amazon EC2, or Amazon ECS using Auto Deploy](https://docs.gitlab.com/ee/topics/autodevops/requirements.html)
-- [ ] [Use pull-based deployments for improved Kubernetes management](https://docs.gitlab.com/ee/user/clusters/agent/)
-- [ ] [Set up protected environments](https://docs.gitlab.com/ee/ci/environments/protected_environments.html)
-
-***
-
-# Editing this README
-
-When you're ready to make this README your own, just edit this file and use the handy template below (or feel free to structure it however you want - this is just a starting point!). Thanks to [makeareadme.com](https://www.makeareadme.com/) for this template.
-
-## Suggestions for a good README
-
-Every project is different, so consider which of these sections apply to yours. The sections used in the template are suggestions for most open source projects. Also keep in mind that while a README can be too long and detailed, too long is better than too short. If you think your README is too long, consider utilizing another form of documentation rather than cutting out information.
-
-## Name
-Choose a self-explaining name for your project.
-
-## Description
-Let people know what your project can do specifically. Provide context and add a link to any reference visitors might be unfamiliar with. A list of Features or a Background subsection can also be added here. If there are alternatives to your project, this is a good place to list differentiating factors.
-
-## Badges
-On some READMEs, you may see small images that convey metadata, such as whether or not all the tests are passing for the project. You can use Shields to add some to your README. Many services also have instructions for adding a badge.
-
-## Visuals
-Depending on what you are making, it can be a good idea to include screenshots or even a video (you'll frequently see GIFs rather than actual videos). Tools like ttygif can help, but check out Asciinema for a more sophisticated method.
-
-## Installation
-Within a particular ecosystem, there may be a common way of installing things, such as using Yarn, NuGet, or Homebrew. However, consider the possibility that whoever is reading your README is a novice and would like more guidance. Listing specific steps helps remove ambiguity and gets people to using your project as quickly as possible. If it only runs in a specific context like a particular programming language version or operating system or has dependencies that have to be installed manually, also add a Requirements subsection.
-
-## Usage
-Use examples liberally, and show the expected output if you can. It's helpful to have inline the smallest example of usage that you can demonstrate, while providing links to more sophisticated examples if they are too long to reasonably include in the README.
-
-## Support
-Tell people where they can go to for help. It can be any combination of an issue tracker, a chat room, an email address, etc.
-
-## Roadmap
-If you have ideas for releases in the future, it is a good idea to list them in the README.
-
-## Contributing
-State if you are open to contributions and what your requirements are for accepting them.
-
-For people who want to make changes to your project, it's helpful to have some documentation on how to get started. Perhaps there is a script that they should run or some environment variables that they need to set. Make these steps explicit. These instructions could also be useful to your future self.
-
-You can also document commands to lint the code or run tests. These steps help to ensure high code quality and reduce the likelihood that the changes inadvertently break something. Having instructions for running tests is especially helpful if it requires external setup, such as starting a Selenium server for testing in a browser.
-
-## Authors and acknowledgment
-Show your appreciation to those who have contributed to the project.
-
-## License
-For open source projects, say how it is licensed.
-
-## Project status
-If you have run out of energy or time for your project, put a note at the top of the README saying that development has slowed down or stopped completely. Someone may choose to fork your project or volunteer to step in as a maintainer or owner, allowing your project to keep going. You can also make an explicit request for maintainers.
+So when you create CFSs services using these (RSpecs) the Service Orchestrator will call these functions via the queue
\ No newline at end of file
diff --git a/pom.xml b/pom.xml
new file mode 100644
index 0000000000000000000000000000000000000000..2f990e02bdefa7e40402f87b32b78e28c8a30816
--- /dev/null
+++ b/pom.xml
@@ -0,0 +1,329 @@
+<project xmlns="http://maven.apache.org/POM/4.0.0"
+	xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
+	xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 https://maven.apache.org/xsd/maven-4.0.0.xsd">
+	<modelVersion>4.0.0</modelVersion>
+	<groupId>org.etsi.osl</groupId>
+	<artifactId>org.etsi.osl.examples.gcontroller</artifactId>
+	<version>0.0.1-SNAPSHOT</version>
+	<name>org.etsi.osl.examples.gcontroller</name>
+	<description>org.etsi.osl.examples.gcontroller</description>
+
+
+	<properties>
+		<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
+		<project.reporting.outputEncoding>UTF-8</project.reporting.outputEncoding>
+		<spring.boot-version>3.2.2</spring.boot-version>
+		<lombok-version>1.18.28</lombok-version>
+		<springdoc.version>2.1.0</springdoc.version>
+		<mapstruct.version>1.5.3.Final</mapstruct.version>
+		<java.version>17</java.version>
+		<camel.version>4.0.0-RC2</camel.version>
+		<jackson.version>2.8.11</jackson.version>
+		<maven-license-plugin.version>2.0.0</maven-license-plugin.version>
+		<license.licenseName>apache_v2</license.licenseName>
+		<springdoc.security.version>1.7.0</springdoc.security.version>
+		<springdoc.openapiui.version>1.7.0</springdoc.openapiui.version>
+		<keycloak.version>22.0.1</keycloak.version>
+		<org.etsi.osl.model.tmf.version>1.1.0-SNAPSHOT</org.etsi.osl.model.tmf.version>
+	</properties>
+
+
+
+
+	<dependencyManagement>
+		<dependencies>
+			<!-- Spring Boot BOM -->
+			<dependency>
+				<groupId>org.springframework.boot</groupId>
+				<artifactId>spring-boot-dependencies</artifactId>
+				<version>${spring.boot-version}</version>
+				<type>pom</type>
+				<scope>import</scope>
+			</dependency>
+			<!-- Camel BOM -->
+			<dependency>
+				<groupId>org.apache.camel.springboot</groupId>
+				<artifactId>camel-spring-boot-dependencies</artifactId>
+				<version>${camel.version}</version>
+				<type>pom</type>
+				<scope>import</scope>
+			</dependency>
+
+			<dependency>
+				<groupId>com.google.guava</groupId>
+				<artifactId>guava</artifactId>
+				<version>32.0.0-jre</version>
+			</dependency>
+			<dependency>
+				<groupId>org.keycloak.bom</groupId>
+				<artifactId>keycloak-adapter-bom</artifactId>
+				<version>${keycloak.version}</version>
+				<type>pom</type>
+				<scope>import</scope>
+			</dependency>
+		</dependencies>
+
+	</dependencyManagement>
+
+	<dependencies>
+
+		<dependency>
+			<groupId>org.springframework.boot</groupId>
+			<artifactId>spring-boot-starter-web</artifactId>
+		</dependency>
+
+		<dependency>
+			<groupId>org.springframework.boot</groupId>
+			<artifactId>spring-boot-starter-oauth2-resource-server</artifactId>
+		</dependency>
+
+		<dependency>
+			<groupId>com.jayway.jsonpath</groupId>
+			<artifactId>json-path</artifactId>
+		</dependency>
+		
+		<!-- security -->
+		
+		<dependency>
+			<groupId>org.springframework.boot</groupId>
+			<artifactId>spring-boot-starter-webflux</artifactId>
+		</dependency>
+		<dependency>
+            <groupId>org.springframework.security</groupId>
+            <artifactId>spring-security-oauth2-client</artifactId>
+        </dependency>
+         <dependency>
+            <groupId>org.springframework.security</groupId>
+            <artifactId>spring-security-core</artifactId>
+        </dependency>
+        <dependency>
+            <groupId>org.springframework.security</groupId>
+            <artifactId>spring-security-web</artifactId>
+        </dependency>
+        <dependency>
+            <groupId>org.springframework.security</groupId>
+            <artifactId>spring-security-config</artifactId>
+        </dependency>
+
+
+		<dependency>
+			<groupId>org.projectlombok</groupId>
+			<artifactId>lombok</artifactId>
+			<scope>provided</scope>
+			<version>${lombok-version}</version>
+		</dependency>
+		<dependency>
+			<groupId>org.openapitools</groupId>
+			<artifactId>jackson-databind-nullable</artifactId>
+			<version>0.2.6</version>
+		</dependency>
+
+		<dependency>
+			<groupId>org.keycloak</groupId>
+			<artifactId>keycloak-spring-boot-starter</artifactId>
+		</dependency>
+		<dependency>
+			<groupId>org.keycloak</groupId>
+			<artifactId>keycloak-spring-security-adapter</artifactId>
+		</dependency>
+
+		<dependency>
+			<groupId>org.keycloak</groupId>
+			<artifactId>keycloak-admin-client</artifactId>
+			<version>${keycloak.version}</version>
+		</dependency>
+
+
+		<dependency>
+			<groupId>org.etsi.osl</groupId>
+			<artifactId>org.etsi.osl.model.tmf</artifactId>
+			<version>${org.etsi.osl.model.tmf.version}</version>
+		</dependency>
+
+		<!-- swagger -->
+		<dependency>
+			<groupId>org.springdoc</groupId>
+			<artifactId>springdoc-openapi-starter-webmvc-ui</artifactId>
+			<version>${springdoc.version}</version>
+		</dependency>
+		<dependency>
+			<groupId>org.springdoc</groupId>
+			<artifactId>springdoc-openapi-ui</artifactId>
+			<version>${springdoc.openapiui.version}</version>
+		</dependency>
+		<dependency>
+			<groupId>org.springdoc</groupId>
+			<artifactId>springdoc-openapi-security</artifactId>
+			<version>${springdoc.security.version}</version>
+		</dependency>
+
+		<dependency>
+			<groupId>org.mapstruct</groupId>
+			<artifactId>mapstruct</artifactId>
+			<version>${mapstruct.version}</version>
+		</dependency>
+		<dependency>
+			<groupId>org.mapstruct</groupId>
+			<artifactId>mapstruct-processor</artifactId>
+			<version>${mapstruct.version}</version>
+		</dependency>
+
+		<dependency>
+			<groupId>javax.annotation</groupId>
+			<artifactId>javax.annotation-api</artifactId>
+			<version>1.3.2</version>
+			<scope>compile</scope>
+		</dependency>
+		<dependency>
+			<groupId>jakarta.validation</groupId>
+			<artifactId>jakarta.validation-api</artifactId>
+			<version>3.0.2</version>
+		</dependency>
+		<dependency>
+			<groupId>org.jetbrains</groupId>
+			<artifactId>annotations</artifactId>
+			<version>13.0</version>
+			<scope>compile</scope>
+		</dependency>
+
+		<!-- activeMQ -->
+		<dependency>
+			<groupId>org.springframework.boot</groupId>
+			<artifactId>spring-boot-starter-activemq</artifactId>
+		</dependency>
+		<dependency>
+			<groupId>org.apache.activemq</groupId>
+			<artifactId>activemq-amqp</artifactId>
+			<scope>test</scope>
+			<exclusions>
+				<exclusion>
+					<groupId>org.apache.qpid</groupId>
+					<artifactId>proton-j</artifactId>
+				</exclusion>
+			</exclusions>
+		</dependency>
+		<dependency>
+			<groupId>org.messaginghub</groupId>
+			<artifactId>pooled-jms</artifactId>
+		</dependency>
+
+		<!-- Camel -->
+		<dependency>
+			<groupId>org.apache.camel.springboot</groupId>
+			<artifactId>camel-spring-boot-starter</artifactId>
+		</dependency>
+		<dependency>
+			<groupId>org.apache.activemq</groupId>
+			<artifactId>activemq-pool</artifactId>
+		</dependency>
+		<dependency>
+			<groupId>org.apache.camel</groupId>
+			<artifactId>camel-activemq</artifactId>
+			<exclusions>
+				<exclusion>
+					<groupId>org.apache.activemq</groupId>
+					<artifactId>activemq-broker</artifactId>
+				</exclusion>
+			</exclusions>
+		</dependency>
+		<dependency>
+			<groupId>org.apache.camel.springboot</groupId>
+			<artifactId>camel-service-starter</artifactId>
+		</dependency>
+
+		<dependency>
+			<groupId>org.apache.camel.springboot</groupId>
+			<artifactId>camel-http-starter</artifactId>
+		</dependency>
+		<dependency>
+			<groupId>org.apache.camel</groupId>
+			<artifactId>camel-jackson</artifactId>
+		</dependency>
+		<dependency>
+			<groupId>org.apache.camel</groupId>
+			<artifactId>camel-stream</artifactId>
+		</dependency>
+		
+		<dependency>
+		        <groupId>dk.brics.automaton</groupId>
+		    <artifactId>automaton</artifactId>
+		    <version>1.11-8</version>
+		</dependency>
+	</dependencies>
+
+
+
+	<build>
+		<pluginManagement>
+			<plugins>
+				<plugin>
+					<groupId>org.springframework.boot</groupId>
+					<artifactId>spring-boot-maven-plugin</artifactId>
+				</plugin>
+				<plugin>
+					<groupId>org.apache.maven.plugins</groupId>
+					<artifactId>maven-compiler-plugin</artifactId>
+					<configuration>
+						<source>${java.version}</source>
+						<target>${java.version}</target>
+						<compilerArgs>
+							<arg>-parameters</arg>
+						</compilerArgs>
+						<annotationProcessorPaths>
+							<path>
+								<groupId>org.mapstruct</groupId>
+								<artifactId>mapstruct-processor</artifactId>
+								<version>${mapstruct.version}</version>
+							</path>
+							<path>
+								<groupId>org.projectlombok</groupId>
+								<artifactId>lombok</artifactId>
+								<version>${lombok-version}</version>
+							</path>
+							        <!-- This is needed when using Lombok 1.18.16 and above -->
+					        <path>
+					            <groupId>org.projectlombok</groupId>
+					            <artifactId>lombok-mapstruct-binding</artifactId>
+					            <version>0.2.0</version>
+					        </path>
+						</annotationProcessorPaths>
+					</configuration>
+				</plugin>
+
+				<plugin>
+					<!-- run mvn license:update-file-header to manually update all headers 
+						everywhere -->
+					<groupId>org.codehaus.mojo</groupId>
+					<artifactId>license-maven-plugin</artifactId>
+					<version>${maven-license-plugin.version}</version>
+					<configuration>
+						<addJavaLicenseAfterPackage>false</addJavaLicenseAfterPackage>
+						<processStartTag>========================LICENSE_START=================================</processStartTag>
+						<processEndTag>=========================LICENSE_END==================================</processEndTag>
+						<excludes>*.json</excludes>
+					</configuration>
+					<executions>
+						<execution>
+							<id>generate-license-headers</id>
+							<goals>
+								<goal>update-file-header</goal>
+							</goals>
+							<phase>process-sources</phase>
+							<configuration>
+								<licenseName>${license.licenseName}</licenseName>
+
+							</configuration>
+						</execution>
+						<execution>
+							<id>download-licenses</id>
+							<goals>
+								<goal>download-licenses</goal>
+							</goals>
+						</execution>
+					</executions>
+				</plugin>
+			</plugins>
+		</pluginManagement>
+
+	</build>
+</project>
\ No newline at end of file
diff --git a/src/main/java/org/etsi/osl/example/gc/ExGCSpringBoot.java b/src/main/java/org/etsi/osl/example/gc/ExGCSpringBoot.java
new file mode 100644
index 0000000000000000000000000000000000000000..7e738e5846832ce60914716a2178a9e3699b47cb
--- /dev/null
+++ b/src/main/java/org/etsi/osl/example/gc/ExGCSpringBoot.java
@@ -0,0 +1,79 @@
+/*-
+ * ========================LICENSE_START=================================
+ * org.etsi.osl.tmf.api
+ * %%
+ * Copyright (C) 2019 openslice.io
+ * %%
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ * 
+ *      http://www.apache.org/licenses/LICENSE-2.0
+ * 
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ * =========================LICENSE_END==================================
+ */
+package org.etsi.osl.example.gc;
+
+import org.slf4j.Logger;
+import org.slf4j.LoggerFactory;
+import org.springframework.boot.CommandLineRunner;
+import org.springframework.boot.ExitCodeGenerator;
+import org.springframework.boot.SpringApplication;
+import org.springframework.boot.autoconfigure.SpringBootApplication;
+import org.springframework.boot.autoconfigure.domain.EntityScan;
+import org.springframework.context.ApplicationContext;
+import org.springframework.context.annotation.ComponentScan;
+
+
+/**
+ * For implementing the callback and events, it might be useful to check the DDD pattern:
+ * https://www.baeldung.com/spring-data-ddd
+ * 
+ * 
+ * @author ctranoris
+ *
+ */
+@SpringBootApplication
+@EntityScan(basePackages = {"org.etsi.osl.example.gc","org.etsi.osl.example.gc.api"})
+
+public class ExGCSpringBoot implements CommandLineRunner {
+
+  private static ApplicationContext applicationContext;
+
+  private static final Logger logger = LoggerFactory.getLogger("org.etsi.osl.example.gc");
+
+
+  @Override
+  public void run(String... arg0) throws Exception {
+    if (arg0.length > 0 && arg0[0].equals("exitcode")) {
+      throw new ExitException();
+    }
+  }
+
+  public static void main(String[] args) throws Exception {
+
+    logger.info("=========== STARTING org.etsi.osl.example.gc ==============================");
+    applicationContext = new SpringApplication(ExGCSpringBoot.class).run(args);
+
+    
+    // for (String beanName : applicationContext.getBeanDefinitionNames()) {
+    // System.out.println(beanName);
+    // }
+  }
+
+  class ExitException extends RuntimeException implements ExitCodeGenerator {
+    private static final long serialVersionUID = 1L;
+
+    @Override
+    public int getExitCode() {
+      return 10;
+    }
+
+  }
+
+}
diff --git a/src/main/java/org/etsi/osl/example/gc/api/BootstrapService.java b/src/main/java/org/etsi/osl/example/gc/api/BootstrapService.java
new file mode 100644
index 0000000000000000000000000000000000000000..85c9d4426db15b9503909a2fa0596dabbf5c953c
--- /dev/null
+++ b/src/main/java/org/etsi/osl/example/gc/api/BootstrapService.java
@@ -0,0 +1,78 @@
+package org.etsi.osl.example.gc.api;
+
+import java.net.URL;
+import org.etsi.osl.example.gc.api.config.CatalogClient;
+import org.etsi.osl.tmf.common.model.Any;
+import org.etsi.osl.tmf.pm632.model.Characteristic;
+import org.etsi.osl.tmf.pm632.model.Organization;
+import org.etsi.osl.tmf.pm632.model.OrganizationAttributeValueChangeEvent;
+import org.etsi.osl.tmf.rcm634.model.LogicalResourceSpecification;
+import org.etsi.osl.tmf.rcm634.model.ResourceSpecification;
+import org.etsi.osl.tmf.rcm634.model.ResourceSpecificationRef;
+import org.etsi.osl.tmf.ri639.model.Resource;
+import org.etsi.osl.tmf.ri639.model.ResourceCreate;
+import org.slf4j.Logger;
+import org.slf4j.LoggerFactory;
+import org.springframework.beans.factory.annotation.Autowired;
+import org.springframework.beans.factory.annotation.Value;
+import org.springframework.boot.context.event.ApplicationStartedEvent;
+import org.springframework.boot.context.properties.ConfigurationProperties;
+import org.springframework.context.annotation.Configuration;
+import org.springframework.context.event.EventListener;
+import org.springframework.stereotype.Service;
+import jakarta.annotation.PreDestroy;
+import lombok.Data;
+
+/**
+ * @author ctranoris
+ */
+@Service
+public class BootstrapService {
+
+	private static final Logger logger = LoggerFactory.getLogger("org.etsi.osl.example.gc");
+
+	
+	
+    @Autowired
+    CatalogClient catalogClient;
+    
+    @Value("${osl-controller.category}")
+    private String compcategory;
+
+    @Value("${osl-controller.version}")
+    private String compversion;
+    
+
+	/**
+	 * This one is executed when the cridge service application starts
+	 * 
+	 * It creates here a default model in OSL TMF
+	 * Create any related Logical resource specifications
+	 * 
+	 * 
+	 * @param event
+	 * @throws Exception 
+	 */
+	@EventListener(ApplicationStartedEvent.class)
+	public void onApplicationEvent() throws Exception {
+
+	    
+        ResourceA rspecFed = new ResourceA( compversion, compcategory);
+        LogicalResourceSpecification lrs = catalogClient.createOrUpdateResourceSpecByNameCategoryVersion(rspecFed.toRSpecCreate_InitRepo());
+        
+        
+        ResourceB rspecFed2 = new ResourceB( compversion, compcategory);
+        LogicalResourceSpecification lrs2 = catalogClient.createOrUpdateResourceSpecByNameCategoryVersion(rspecFed2.toRSpecCreate_InitRepo());
+
+	}
+
+
+
+
+
+
+	@PreDestroy
+	private void stop() {
+		logger.info("Closing due to ContextStoppedEvent ");
+	}
+}
diff --git a/src/main/java/org/etsi/osl/example/gc/api/PartnerRouteBuillder.java b/src/main/java/org/etsi/osl/example/gc/api/PartnerRouteBuillder.java
new file mode 100644
index 0000000000000000000000000000000000000000..908f720e3288bfdfd8626d5f6b57425ffaf7b401
--- /dev/null
+++ b/src/main/java/org/etsi/osl/example/gc/api/PartnerRouteBuillder.java
@@ -0,0 +1,95 @@
+package org.etsi.osl.example.gc.api;
+
+import java.io.IOException;
+import java.util.HashMap;
+import java.util.Map;
+import com.fasterxml.jackson.annotation.JsonInclude;
+import com.fasterxml.jackson.databind.ObjectMapper;
+import org.apache.camel.LoggingLevel;
+import org.apache.camel.ProducerTemplate;
+import org.apache.camel.builder.RouteBuilder;
+import org.apache.camel.model.dataformat.JsonLibrary;
+import org.etsi.osl.tmf.ri639.model.Resource;
+import org.etsi.osl.tmf.ri639.model.ResourceCreate;
+import org.etsi.osl.tmf.ri639.model.ResourceUpdate;
+import org.slf4j.Logger;
+import org.slf4j.LoggerFactory;
+import org.springframework.beans.factory.annotation.Autowired;
+import org.springframework.beans.factory.annotation.Value;
+import org.springframework.context.annotation.Configuration;
+import org.springframework.stereotype.Component;
+
+
+@Configuration
+@Component
+public class PartnerRouteBuillder extends RouteBuilder {
+
+  private static final Logger logger = LoggerFactory.getLogger("org.etsi.osl.example.gc");
+
+  @Value("${spring.application.name}")
+  private String compname;
+  
+  @Value("${osl-controller.category}")
+  private String compcategory;
+
+  @Value("${osl-controller.version}")
+  private String compversion;
+
+
+  @Autowired
+  private ProducerTemplate template;
+
+  @Autowired
+  ResourceRepoService resourceRepoService;
+
+  @Override
+  public void configure() throws Exception {
+
+
+    String EVENT_CREATE = "jms:queue:CREATE/"+compcategory+"/" + compversion;
+
+    String EVENT_UPDATE = "jms:queue:UPDATE/"+compcategory+"/" + compversion;
+
+    String EVENT_DELETE = "jms:queue:DELETE/"+compcategory+"/" + compversion;
+    
+    from(EVENT_CREATE)
+        .log(LoggingLevel.INFO, log, EVENT_CREATE + " message received!")
+        .to("log:DEBUG?showBody=true&showHeaders=true").unmarshal()
+        .json(JsonLibrary.Jackson, ResourceCreate.class, true)
+        .bean( resourceRepoService, "createResource( ${headers}, ${body} )")
+        .marshal().json( JsonLibrary.Jackson)
+        .convertBodyTo( String.class );
+
+    from(EVENT_UPDATE)
+        .log(LoggingLevel.INFO, log, EVENT_UPDATE + " message received!")
+        .to("log:DEBUG?showBody=true&showHeaders=true").unmarshal()
+        .json(JsonLibrary.Jackson, ResourceUpdate.class, true)
+        .bean( resourceRepoService, "updateResource( ${headers},${body} )")
+        .marshal().json( JsonLibrary.Jackson)
+        .convertBodyTo( String.class );;
+
+    from(EVENT_DELETE)
+        .log(LoggingLevel.INFO, log, EVENT_DELETE + " message received!")
+        .to("log:DEBUG?showBody=true&showHeaders=true").unmarshal()
+        .json(JsonLibrary.Jackson, ResourceUpdate.class, true)
+        .bean( resourceRepoService, "deleteResource( ${headers}, ${body} )")
+        .marshal().json( JsonLibrary.Jackson)
+        .convertBodyTo( String.class );;
+
+   
+  }
+
+  static <T> T toJsonObj(String content, Class<T> valueType) throws IOException {
+    ObjectMapper mapper = new ObjectMapper();
+    mapper.setSerializationInclusion(JsonInclude.Include.NON_NULL);
+    return mapper.readValue(content, valueType);
+  }
+
+  static String toJsonString(Object object) throws IOException {
+    ObjectMapper mapper = new ObjectMapper();
+    mapper.setSerializationInclusion(JsonInclude.Include.NON_NULL);
+    return mapper.writeValueAsString(object);
+  }
+
+
+}
diff --git a/src/main/java/org/etsi/osl/example/gc/api/ResourceA.java b/src/main/java/org/etsi/osl/example/gc/api/ResourceA.java
new file mode 100644
index 0000000000000000000000000000000000000000..8c72bd8ce61d3fe8bf8556dbf6bc77313e7b715d
--- /dev/null
+++ b/src/main/java/org/etsi/osl/example/gc/api/ResourceA.java
@@ -0,0 +1,247 @@
+package org.etsi.osl.example.gc.api;
+
+import java.util.UUID;
+import org.etsi.osl.domain.model.DomainModelDefinition;
+import org.etsi.osl.domain.model.ITMFRCM634_ModelTransformer;
+import org.etsi.osl.domain.model.ITMFRI639_ModelTransformer;
+import org.etsi.osl.example.gc.api.ResourceB.ThreadController;
+import org.etsi.osl.example.gc.api.config.CatalogClient;
+import org.etsi.osl.tmf.common.model.Any;
+import org.etsi.osl.tmf.common.model.ELifecycle;
+import org.etsi.osl.tmf.common.model.EValueType;
+import org.etsi.osl.tmf.rcm634.model.ResourceSpecification;
+import org.etsi.osl.tmf.rcm634.model.ResourceSpecificationCharacteristic;
+import org.etsi.osl.tmf.rcm634.model.ResourceSpecificationCharacteristicValue;
+import org.etsi.osl.tmf.rcm634.model.ResourceSpecificationCreate;
+import org.etsi.osl.tmf.ri639.model.Characteristic;
+import org.etsi.osl.tmf.ri639.model.Resource;
+import org.etsi.osl.tmf.ri639.model.ResourceCreate;
+import org.etsi.osl.tmf.ri639.model.ResourceStatusType;
+import org.etsi.osl.tmf.ri639.model.ResourceUpdate;
+import org.slf4j.Logger;
+import org.slf4j.LoggerFactory;
+import org.springframework.beans.factory.annotation.Autowired;
+import lombok.Data;
+
+
+@Data
+public class ResourceA  extends DomainModelDefinition
+implements ITMFRCM634_ModelTransformer, ITMFRI639_ModelTransformer {
+
+
+  private static final Logger logger = LoggerFactory.getLogger("org.etsi.osl.example.gc");
+
+  public static final String OSL_RSPEC_TYPE = "LogicalResourceSpecification";
+  public static final String RESOURCE_NAME = "ResourceA";
+  public static final String RESOURCE_DESCRIPTION = "Resource A description";
+  
+
+  private static String paramA="";  
+
+  private static String paramB="none";
+  
+  private static String infoMessage="none";
+  
+  private static String healthStatus="NA";
+  
+
+  static ThreadController controller =new ThreadController() ;
+  
+
+  @Autowired
+  static CatalogClient aCatalogClient;
+  
+  public ResourceA(String version,  String category) {    
+    super("", RESOURCE_NAME, version, RESOURCE_DESCRIPTION, category);
+  }
+  
+
+
+  @Override
+  public ResourceSpecificationCreate toRSpecCreate_InitRepo() {
+
+    ResourceSpecificationCreate rsc = new ResourceSpecificationCreate();
+    
+    rsc.setName( this.name );
+    rsc.setVersion( this.version );
+    rsc.setDescription( this.description );
+    rsc.setType( OSL_RSPEC_TYPE );
+    rsc.setCategory( this.category);
+    
+    rsc.setLifecycleStatus( ELifecycle.ACTIVE.getValue() );
+
+    ResourceSpecificationCharacteristic ci = addResourceSpecificationCharacteristicItemShort("Kind", this.category,  EValueType.TEXT.getValue(), this.category , "", true);    
+    rsc.addResourceSpecificationCharacteristicItem(ci);
+
+    ci = addResourceSpecificationCharacteristicItemShort("paramA", paramA, EValueType.TEXT.getValue(), description , "", true);    
+    rsc.addResourceSpecificationCharacteristicItem(ci);
+
+    ci = addResourceSpecificationCharacteristicItemShort("paramB", paramB, EValueType.TEXT.getValue(), description , "", true);    
+    rsc.addResourceSpecificationCharacteristicItem(ci);
+
+    ci = addResourceSpecificationCharacteristicItemShort("status.infoMessage", infoMessage, EValueType.TEXT.getValue(), description , "", true);    
+    rsc.addResourceSpecificationCharacteristicItem(ci);
+    
+    ci = addResourceSpecificationCharacteristicItemShort("status.Health", healthStatus,  EValueType.TEXT.getValue(), description , "", true);    
+    rsc.addResourceSpecificationCharacteristicItem(ci);
+    
+    
+    return rsc;
+  }
+
+
+  @Override
+  public DomainModelDefinition fromRSpec(ResourceSpecification rSpec) {
+    // TODO Auto-generated method stub
+    return null;
+  }
+  
+
+  /**
+   * @param name
+   * @param defaultValue
+   * @param valueType
+   * @param description
+   * @param isConfigurable
+   * @return
+   */
+  public ResourceSpecificationCharacteristic addResourceSpecificationCharacteristicItemShort(
+          String name,
+          String defaultValue,
+          String valueType,
+          String description,
+          String regex,
+          Boolean isConfigurable) {
+      
+      
+      ResourceSpecificationCharacteristic ci = new ResourceSpecificationCharacteristic();
+      ci
+      .name( name )
+      .description(description)
+      .valueType(valueType);
+      if (defaultValue!=null) {
+          ResourceSpecificationCharacteristicValue val = new ResourceSpecificationCharacteristicValue();
+          val.setValue( new Any( defaultValue, null) );
+          val.isDefault(true);
+          ci.getResourceSpecCharacteristicValue().add( val );         
+      }   
+      ci.configurable( isConfigurable );
+      ci.regex(regex);
+      return ci;
+  }
+  
+  @Override
+  public ResourceCreate toResourceCreate() throws Exception {
+    return null;        
+    
+  }
+  
+  
+  /**
+   * example 
+   */
+  public static ResourceUpdate resourceLogic( ResourceUpdate resourceUpdate,  String resourceid ) {
+    
+    for (Characteristic c : resourceUpdate.getResourceCharacteristic()) {
+      if (c.getName().equalsIgnoreCase("paramA")) {
+        paramA = c.getValue().getValue();        
+      }
+      if (c.getName().equalsIgnoreCase("paramB")) {
+        paramB = c.getValue().getValue();        
+      }
+    }
+    
+    infoMessage = "all well " + paramA + ", " + paramB;
+    healthStatus = "Healthy";
+    
+    resourceUpdate.addResourceCharacteristicItemShort("status.infoMessage", infoMessage ,  EValueType.TEXT.getValue());
+    resourceUpdate.addResourceCharacteristicItemShort("status.Health", healthStatus,  EValueType.TEXT.getValue());
+    resourceUpdate.addResourceCharacteristicItemShort("status.UUID",UUID.randomUUID().toString(),  EValueType.TEXT.getValue());
+    
+    if (paramA.equals("start")) {
+      controller.startThread( resourceid);
+    } else {
+      controller.stopThread();
+    }
+    
+    try {
+      Thread.sleep(2000);
+    } catch (InterruptedException e) {
+      // TODO Auto-generated catch block
+      e.printStackTrace();
+    }
+    
+    
+    resourceUpdate.setResourceStatus(ResourceStatusType.AVAILABLE);
+    return resourceUpdate;
+    
+  }
+
+
+  
+  
+  public static class ThreadController {
+
+    private Thread workerThread;
+    private volatile boolean running = false;
+    private String resourceId;
+
+    /**
+     * Starts the thread.
+     * @param resourceid2 
+     */
+    public synchronized void startThread(String r) {
+        this.resourceId = r;
+        if (workerThread != null && workerThread.isAlive()) {
+            System.out.println("Thread is already running.");
+            return;
+        }
+
+        running = true; // Set the running flag to true
+
+        workerThread = new Thread(() -> {
+          int i=0;  
+          while (running) {
+                try {
+                    System.out.println("Thread is running...");
+                    ResourceUpdate resourceUpdate = new ResourceUpdate();
+                    resourceUpdate.addResourceCharacteristicItemShort("status.infoMessage", "thread "+ i++,  EValueType.TEXT.getValue());
+                    
+                    Resource res = aCatalogClient.updateResourceById( resourceId, resourceUpdate);
+                    Thread.sleep(1000); // Simulate some work
+                } catch (InterruptedException e) {
+                    System.out.println("Thread interrupted.");
+                    Thread.currentThread().interrupt(); // Restore the interrupted status
+                }
+            }
+            System.out.println("Thread has stopped.");
+        });
+
+        workerThread.start();
+    }
+
+    /**
+     * Stops the thread.
+     */
+    public synchronized void stopThread() {
+        if (workerThread == null || !workerThread.isAlive()) {
+            System.out.println("Thread is not running.");
+            return;
+        }
+
+        ResourceUpdate resourceUpdate = new ResourceUpdate();
+        resourceUpdate.addResourceCharacteristicItemShort("status.infoMessage", "thread stopped",  EValueType.TEXT.getValue());        
+        Resource res = aCatalogClient.updateResourceById( resourceId, resourceUpdate);
+
+        running = false; // Set the running flag to false
+        workerThread.interrupt(); // Interrupt the thread if it's waiting or sleeping
+        try {
+            workerThread.join(); // Wait for the thread to finish execution
+        } catch (InterruptedException e) {
+            System.out.println("Thread stopping interrupted.");
+            Thread.currentThread().interrupt(); // Restore the interrupted status
+        }
+    }
+  }
+
+}
diff --git a/src/main/java/org/etsi/osl/example/gc/api/ResourceB.java b/src/main/java/org/etsi/osl/example/gc/api/ResourceB.java
new file mode 100644
index 0000000000000000000000000000000000000000..616aa2f25ded2aa6bcf1c104afcf44490ad984db
--- /dev/null
+++ b/src/main/java/org/etsi/osl/example/gc/api/ResourceB.java
@@ -0,0 +1,247 @@
+package org.etsi.osl.example.gc.api;
+
+import java.util.UUID;
+import org.etsi.osl.domain.model.DomainModelDefinition;
+import org.etsi.osl.domain.model.ITMFRCM634_ModelTransformer;
+import org.etsi.osl.domain.model.ITMFRI639_ModelTransformer;
+import org.etsi.osl.example.gc.api.config.CatalogClient;
+import org.etsi.osl.tmf.common.model.Any;
+import org.etsi.osl.tmf.common.model.ELifecycle;
+import org.etsi.osl.tmf.common.model.EValueType;
+import org.etsi.osl.tmf.rcm634.model.ResourceSpecification;
+import org.etsi.osl.tmf.rcm634.model.ResourceSpecificationCharacteristic;
+import org.etsi.osl.tmf.rcm634.model.ResourceSpecificationCharacteristicValue;
+import org.etsi.osl.tmf.rcm634.model.ResourceSpecificationCreate;
+import org.etsi.osl.tmf.ri639.model.Characteristic;
+import org.etsi.osl.tmf.ri639.model.Resource;
+import org.etsi.osl.tmf.ri639.model.ResourceCreate;
+import org.etsi.osl.tmf.ri639.model.ResourceStatusType;
+import org.etsi.osl.tmf.ri639.model.ResourceUpdate;
+import org.slf4j.Logger;
+import org.slf4j.LoggerFactory;
+import org.springframework.beans.factory.annotation.Autowired;
+import lombok.Data;
+
+
+@Data
+public class ResourceB  extends DomainModelDefinition
+implements ITMFRCM634_ModelTransformer, ITMFRI639_ModelTransformer {
+
+
+  private static final Logger logger = LoggerFactory.getLogger("org.etsi.osl.example.gc");
+
+  public static final String OSL_RSPEC_TYPE = "LogicalResourceSpecification";
+  public static final String RESOURCE_NAME = "ResourceB";
+  public static final String RESOURCE_DESCRIPTION = "Resource B description";
+  
+
+  private static String paramX="";  
+
+  private static String paramZ="none";
+  
+  private static String infoMessage="none";
+  
+  private static String healthStatus="NA";
+  
+
+  static ThreadController controller =new ThreadController() ;
+  
+
+  @Autowired
+  static CatalogClient aCatalogClient;
+  
+  public ResourceB(String version,  String category) {    
+    super("", RESOURCE_NAME, version, RESOURCE_DESCRIPTION, category);
+  }
+  
+
+
+  @Override
+  public ResourceSpecificationCreate toRSpecCreate_InitRepo() {
+
+    ResourceSpecificationCreate rsc = new ResourceSpecificationCreate();
+    
+    rsc.setName( this.name );
+    rsc.setVersion( this.version );
+    rsc.setDescription( this.description );
+    rsc.setType( OSL_RSPEC_TYPE );
+    rsc.setCategory( this.category);
+    
+    rsc.setLifecycleStatus( ELifecycle.ACTIVE.getValue() );
+
+    ResourceSpecificationCharacteristic ci = addResourceSpecificationCharacteristicItemShort("Kind", this.category,  EValueType.TEXT.getValue(), this.category , "", true);    
+    rsc.addResourceSpecificationCharacteristicItem(ci);
+
+    ci = addResourceSpecificationCharacteristicItemShort("paramX", paramX, EValueType.TEXT.getValue(), description , "", true);    
+    rsc.addResourceSpecificationCharacteristicItem(ci);
+
+    ci = addResourceSpecificationCharacteristicItemShort("paramZ", paramZ, EValueType.TEXT.getValue(), description , "", true);    
+    rsc.addResourceSpecificationCharacteristicItem(ci);
+
+    ci = addResourceSpecificationCharacteristicItemShort("status.infoMessage", infoMessage, EValueType.TEXT.getValue(), description , "", true);    
+    rsc.addResourceSpecificationCharacteristicItem(ci);
+    
+    ci = addResourceSpecificationCharacteristicItemShort("status.Health", healthStatus,  EValueType.TEXT.getValue(), description , "", true);    
+    rsc.addResourceSpecificationCharacteristicItem(ci);
+    
+    
+    return rsc;
+  }
+
+
+  @Override
+  public DomainModelDefinition fromRSpec(ResourceSpecification rSpec) {
+    // TODO Auto-generated method stub
+    return null;
+  }
+  
+
+  /**
+   * @param name
+   * @param defaultValue
+   * @param valueType
+   * @param description
+   * @param isConfigurable
+   * @return
+   */
+  public ResourceSpecificationCharacteristic addResourceSpecificationCharacteristicItemShort(
+          String name,
+          String defaultValue,
+          String valueType,
+          String description,
+          String regex,
+          Boolean isConfigurable) {
+      
+      
+      ResourceSpecificationCharacteristic ci = new ResourceSpecificationCharacteristic();
+      ci
+      .name( name )
+      .description(description)
+      .valueType(valueType);
+      if (defaultValue!=null) {
+          ResourceSpecificationCharacteristicValue val = new ResourceSpecificationCharacteristicValue();
+          val.setValue( new Any( defaultValue, null) );
+          val.isDefault(true);
+          ci.getResourceSpecCharacteristicValue().add( val );         
+      }   
+      ci.configurable( isConfigurable );
+      ci.regex(regex);
+      return ci;
+  }
+  
+  @Override
+  public ResourceCreate toResourceCreate() throws Exception {
+    return null;        
+    
+  }
+  
+  
+  /**
+   * example 
+   */
+  public static ResourceUpdate resourceLogic( ResourceUpdate resourceUpdate,  String resourceid ) {
+    
+    for (Characteristic c : resourceUpdate.getResourceCharacteristic()) {
+      if (c.getName().equalsIgnoreCase("paramX")) {
+        paramX = c.getValue().getValue();        
+      }
+      if (c.getName().equalsIgnoreCase("paramZ")) {
+        paramZ = c.getValue().getValue();        
+      }
+    }
+    
+    infoMessage = "all well " + paramX + ", " + paramZ;
+    healthStatus = "Healthy";
+    
+    resourceUpdate.addResourceCharacteristicItemShort("status.infoMessage", infoMessage ,  EValueType.TEXT.getValue());
+    resourceUpdate.addResourceCharacteristicItemShort("status.Health", healthStatus,  EValueType.TEXT.getValue());
+    resourceUpdate.addResourceCharacteristicItemShort("status.UUID",UUID.randomUUID().toString(),  EValueType.TEXT.getValue());
+    
+    if (paramX.equals("start")) {
+      
+      controller.startThread( resourceid);
+    } else {
+      controller.stopThread();
+    }
+    
+    try {
+      Thread.sleep(2000);
+    } catch (InterruptedException e) {
+      // TODO Auto-generated catch block
+      e.printStackTrace();
+    }
+    
+    
+    resourceUpdate.setResourceStatus(ResourceStatusType.AVAILABLE);
+    return resourceUpdate;
+    
+  }
+
+
+  
+  
+  public static class ThreadController {
+
+    private Thread workerThread;
+    private volatile boolean running = false;
+    private String resourceId;
+
+    /**
+     * Starts the thread.
+     * @param resourceid2 
+     */
+    public synchronized void startThread(String r) {
+        this.resourceId = r;
+        if (workerThread != null && workerThread.isAlive()) {
+            System.out.println("Thread is already running.");
+            return;
+        }
+
+        running = true; // Set the running flag to true
+
+        workerThread = new Thread(() -> {
+          int i=0;  
+          while (running) {
+                try {
+                    System.out.println("Thread is running...");
+                    ResourceUpdate resourceUpdate = new ResourceUpdate();
+                    resourceUpdate.addResourceCharacteristicItemShort("status.infoMessage", "thread "+ i++,  EValueType.TEXT.getValue());
+                    
+                    Resource res = aCatalogClient.updateResourceById( resourceId, resourceUpdate);
+                    Thread.sleep(5000); // Simulate some work
+                } catch (InterruptedException e) {
+                    System.out.println("Thread interrupted.");
+                    Thread.currentThread().interrupt(); // Restore the interrupted status
+                }
+            }
+            System.out.println("Thread has stopped.");
+        });
+
+        workerThread.start();
+    }
+
+    /**
+     * Stops the thread.
+     */
+    public synchronized void stopThread() {
+        if (workerThread == null || !workerThread.isAlive()) {
+            System.out.println("Thread is not running.");
+            return;
+        }
+
+        ResourceUpdate resourceUpdate = new ResourceUpdate();
+        resourceUpdate.addResourceCharacteristicItemShort("status.infoMessage", "thread stopped",  EValueType.TEXT.getValue());        
+        Resource res = aCatalogClient.updateResourceById( resourceId, resourceUpdate);
+
+        running = false; // Set the running flag to false
+        workerThread.interrupt(); // Interrupt the thread if it's waiting or sleeping
+        try {
+            workerThread.join(); // Wait for the thread to finish execution
+        } catch (InterruptedException e) {
+            System.out.println("Thread stopping interrupted.");
+            Thread.currentThread().interrupt(); // Restore the interrupted status
+        }
+    }
+  }
+
+}
diff --git a/src/main/java/org/etsi/osl/example/gc/api/ResourceRepoService.java b/src/main/java/org/etsi/osl/example/gc/api/ResourceRepoService.java
new file mode 100644
index 0000000000000000000000000000000000000000..268f1025bc24614ee4295221cf928cebccf36cdc
--- /dev/null
+++ b/src/main/java/org/etsi/osl/example/gc/api/ResourceRepoService.java
@@ -0,0 +1,117 @@
+package org.etsi.osl.example.gc.api;
+
+import java.util.Date;
+import java.util.Map;
+import java.util.UUID;
+import org.etsi.osl.example.gc.api.config.CatalogClient;
+import org.etsi.osl.tmf.common.model.EValueType;
+import org.etsi.osl.tmf.ri639.model.Characteristic;
+import org.etsi.osl.tmf.ri639.model.Resource;
+import org.etsi.osl.tmf.ri639.model.ResourceCreate;
+import org.etsi.osl.tmf.ri639.model.ResourceStatusType;
+import org.etsi.osl.tmf.ri639.model.ResourceUpdate;
+import org.slf4j.Logger;
+import org.slf4j.LoggerFactory;
+import org.springframework.beans.factory.annotation.Autowired;
+import org.springframework.stereotype.Service;
+
+@Service
+public class ResourceRepoService {
+
+  private static final Logger logger = LoggerFactory.getLogger("org.etsi.osl.example.gc");
+
+  @Autowired
+  CatalogClient aCatalogClient;
+  
+
+  @Autowired
+  SimpleResourceMapper simpleResourceMapper;
+  
+  public Resource createResource( Map<String, Object> headers, ResourceCreate resourceRequested) {
+    
+    String resourceid = "";
+    
+    if ( headers.get("org.etsi.osl.serviceId") !=null ) {
+      
+    }    
+    if ( headers.get("org.etsi.osl.resourceId") !=null ) { //the resource to update back
+        resourceid = (String) headers.get("org.etsi.osl.resourceId") ;
+    }    
+    if ( headers.get("org.etsi.osl.serviceOrderId") !=null ) {
+      
+    }  
+
+    ResourceUpdate resourceUpdate = simpleResourceMapper.resourceCreateToResourceUpdate(resourceRequested);
+    
+    if (resourceRequested.getResourceSpecification().getName().equals( ResourceA.RESOURCE_NAME )) {
+      resourceUpdate = ResourceA.resourceLogic(resourceUpdate, resourceid);
+    } else  if (resourceRequested.getResourceSpecification().getName().equals( ResourceB.RESOURCE_NAME )) {
+      resourceUpdate = ResourceB.resourceLogic(resourceUpdate, resourceid);
+    } else {
+      return null;
+    }
+   
+    //send it to TMF API
+    Resource res = aCatalogClient.updateResourceById( resourceid, resourceUpdate);
+    
+    return res;
+  }
+  
+  public Resource updateResource( Map<String, Object> headers, ResourceUpdate r) {
+    String resourceid = "";
+    
+    if ( headers.get("org.etsi.osl.serviceId") !=null ) {
+      
+    }    
+    if ( headers.get("org.etsi.osl.resourceId") !=null ) { //the resource to update back
+        resourceid = (String) headers.get("org.etsi.osl.resourceId") ;
+    }    
+    if ( headers.get("org.etsi.osl.serviceOrderId") !=null ) {
+      
+    }  
+
+    ResourceUpdate resourceUpdate = r;
+    if (r.getResourceSpecification().getName().equals( ResourceA.RESOURCE_NAME )) {
+      resourceUpdate = ResourceA.resourceLogic(resourceUpdate, resourceid);
+    } else  if (r.getResourceSpecification().getName().equals( ResourceB.RESOURCE_NAME )) {
+      resourceUpdate = ResourceB.resourceLogic(resourceUpdate, resourceid);
+    } else {
+      return null;
+    }
+    
+
+    Resource res = aCatalogClient.updateResourceById( resourceid, resourceUpdate);
+    
+    return res;
+  }
+  
+  public Resource deleteResource( Map<String, Object> headers, ResourceUpdate r) {
+String resourceid = "";
+    
+    if ( headers.get("org.etsi.osl.serviceId") !=null ) {
+      
+    }    
+    if ( headers.get("org.etsi.osl.resourceId") !=null ) { //the resource to update back
+        resourceid = (String) headers.get("org.etsi.osl.resourceId") ;
+    }    
+    if ( headers.get("org.etsi.osl.serviceOrderId") !=null ) {
+      
+    }  
+
+    
+    ResourceUpdate resourceUpdate = r;
+    resourceUpdate.setResourceStatus(ResourceStatusType.UNKNOWN);
+    
+    resourceUpdate.addResourceCharacteristicItemShort("status.infoMessage", "all well deleted",  EValueType.TEXT.getValue());
+    resourceUpdate.addResourceCharacteristicItemShort("status.Health", "Deleted " + new Date(),  EValueType.TEXT.getValue());
+    
+    Resource res = aCatalogClient.updateResourceById( resourceid, resourceUpdate);
+    
+    return res;
+  }
+  
+  
+  
+  
+  
+}
diff --git a/src/main/java/org/etsi/osl/example/gc/api/SimpleResourceMapper.java b/src/main/java/org/etsi/osl/example/gc/api/SimpleResourceMapper.java
new file mode 100644
index 0000000000000000000000000000000000000000..09e137612cb49c969c346288e978854adcfd885b
--- /dev/null
+++ b/src/main/java/org/etsi/osl/example/gc/api/SimpleResourceMapper.java
@@ -0,0 +1,14 @@
+package org.etsi.osl.example.gc.api;
+
+import org.etsi.osl.tmf.ri639.model.Resource;
+import org.etsi.osl.tmf.ri639.model.ResourceCreate;
+import org.etsi.osl.tmf.ri639.model.ResourceUpdate;
+import org.mapstruct.Mapper;
+
+@Mapper(componentModel = "spring")
+public interface  SimpleResourceMapper {
+
+  ResourceUpdate resourceToResourceUpdate(Resource source);
+  ResourceUpdate resourceCreateToResourceUpdate(ResourceCreate source);
+  
+}
diff --git a/src/main/java/org/etsi/osl/example/gc/api/config/ActiveMQComponentConfig.java b/src/main/java/org/etsi/osl/example/gc/api/config/ActiveMQComponentConfig.java
new file mode 100644
index 0000000000000000000000000000000000000000..0654a605d8191541a861ccc5aedead57a0bb9f7b
--- /dev/null
+++ b/src/main/java/org/etsi/osl/example/gc/api/config/ActiveMQComponentConfig.java
@@ -0,0 +1,41 @@
+/*-
+ * ========================LICENSE_START=================================
+ * org.etsi.osl.bugzilla
+ * %%
+ * Copyright (C) 2019 openslice.io
+ * %%
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ * 
+ *      http://www.apache.org/licenses/LICENSE-2.0
+ * 
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ * =========================LICENSE_END==================================
+ */
+package org.etsi.osl.example.gc.api.config;
+
+import org.apache.camel.component.activemq.ActiveMQComponent;
+import org.springframework.context.annotation.Bean;
+import org.springframework.context.annotation.Configuration;
+
+import jakarta.jms.ConnectionFactory;
+
+/**
+ * @author ctranoris
+ *
+ */
+@Configuration
+public class ActiveMQComponentConfig {
+
+    @Bean(name = "activemq")
+    public ActiveMQComponent createComponent(ConnectionFactory factory) {
+        ActiveMQComponent activeMQComponent = new ActiveMQComponent();
+        activeMQComponent.setConnectionFactory(factory);
+        return activeMQComponent;
+    }
+}
diff --git a/src/main/java/org/etsi/osl/example/gc/api/config/CatalogClient.java b/src/main/java/org/etsi/osl/example/gc/api/config/CatalogClient.java
new file mode 100644
index 0000000000000000000000000000000000000000..0c4c5badc96d06381da750b4de3b0bded13e112b
--- /dev/null
+++ b/src/main/java/org/etsi/osl/example/gc/api/config/CatalogClient.java
@@ -0,0 +1,286 @@
+package org.etsi.osl.example.gc.api.config;
+
+import java.io.IOException;
+import java.util.HashMap;
+import java.util.Map;
+import com.fasterxml.jackson.annotation.JsonInclude;
+import com.fasterxml.jackson.databind.ObjectMapper;
+import org.apache.camel.ProducerTemplate;
+import org.apache.camel.builder.RouteBuilder;
+import org.etsi.osl.tmf.rcm634.model.LogicalResourceSpecification;
+import org.etsi.osl.tmf.rcm634.model.ResourceSpecification;
+import org.etsi.osl.tmf.rcm634.model.ResourceSpecificationCreate;
+import org.etsi.osl.tmf.ri639.model.LogicalResource;
+import org.etsi.osl.tmf.ri639.model.Resource;
+import org.etsi.osl.tmf.ri639.model.ResourceCreate;
+import org.etsi.osl.tmf.ri639.model.ResourceUpdate;
+import org.slf4j.Logger;
+import org.slf4j.LoggerFactory;
+import org.springframework.beans.factory.annotation.Autowired;
+import org.springframework.beans.factory.annotation.Value;
+import org.springframework.stereotype.Service;
+
+/**
+ * Class to exchange information with TMF API services
+ * 
+ */
+@Service
+public class CatalogClient  extends RouteBuilder{
+
+
+  private static final Logger logger = LoggerFactory.getLogger("org.etsi.osl.example.gc");
+
+    @Autowired
+    private ProducerTemplate template;
+
+	
+	@Value("${CATALOG_GET_RESOURCESPEC_BY_ID}")
+	private String CATALOG_GET_RESOURCESPEC_BY_ID = "";
+
+	@Value("${CATALOG_GET_RESOURCESPEC_BY_NAME_CATEGORY}")
+	private String CATALOG_GET_RESOURCESPEC_BY_NAME_CATEGORY = "";
+
+
+	@Value("${CATALOG_UPDADD_RESOURCESPEC}")
+	private String CATALOG_UPDADD_RESOURCESPEC = "";
+	
+	
+	@Value("${CATALOG_UPDADD_RESOURCE}")
+	private String CATALOG_UPDADD_RESOURCE = "";
+	
+
+    @Value("${CATALOG_UPD_RESOURCE}")
+    private String CATALOG_UPD_RESOURCE = "";
+
+	@Value("${CATALOG_GET_RESOURCE_BY_ID}")
+	private String CATALOG_GET_RESOURCE_BY_ID = "";
+	
+	
+    //private ConcurrentHashMap<String, ResourceUpdate> resourcesToBeUpdated = new ConcurrentHashMap<>();
+	
+
+	@Override
+	public void configure() throws Exception {
+
+
+	  
+//	  from( "timer://processUpdateResources?period=5000" )
+//      .log(LoggingLevel.INFO, log, " process processUpdateResources!")
+//      .to("log:DEBUG?showBody=true&showHeaders=true")
+//      .bean( "catalogClient", "processUpdateResources()");
+		
+	
+	}
+	
+	
+	/**
+	 * get  service spec by id from model via bus
+	 * @param id
+	 * @return
+	 * @throws IOException
+	 */
+	public ResourceSpecification retrieveResourceSpecByNameCategoryVersion(String aName, String aCategory, String aVersion) {
+		logger.debug("will retrieve Resource Specification aName=" + aName   );
+		
+		try {
+			Map<String, Object> map = new HashMap<>();
+			map.put( "aname", aName);
+			map.put( "acategory", aCategory);
+			map.put( "aversion", aVersion);
+			Object response = 
+					template.requestBodyAndHeaders( CATALOG_GET_RESOURCESPEC_BY_NAME_CATEGORY, null, map);
+
+			if ( !(response instanceof String)) {
+				logger.error("Resource Specification object is wrong.");
+				return null;
+			}
+			LogicalResourceSpecification sor = toJsonObj( (String)response, LogicalResourceSpecification.class); 
+			//logger.debug("retrieveSpec response is: " + response);
+			return sor;
+			
+		}catch (Exception e) {
+			logger.error("Cannot retrieve Resource Specification details from catalog. " + e.toString());
+		}
+		return null;
+	}
+	
+	/**
+	 * get  service spec by id from model via bus
+	 * @param id
+	 * @return
+	 * @throws IOException
+	 */
+	public ResourceSpecification retrieveResourceSpec(String specid) {
+		logger.debug("will retrieve Resource Specification id=" + specid   );
+		
+		try {
+			Object response = template.
+					requestBody( CATALOG_GET_RESOURCESPEC_BY_ID, specid);
+
+			if ( !(response instanceof String)) {
+				logger.error("Resource Specification object is wrong.");
+				return null;
+			}
+			LogicalResourceSpecification sor = toJsonObj( (String)response, LogicalResourceSpecification.class); 
+			//logger.debug("retrieveSpec response is: " + response);
+			return sor;
+			
+		}catch (Exception e) {
+			logger.error("Cannot retrieve Resource Specification details from catalog. " + e.toString());
+		}
+		return null;
+	}
+	
+
+	public LogicalResourceSpecification createOrUpdateResourceSpecByNameCategoryVersion( ResourceSpecificationCreate s) {
+      logger.debug("will createOrUpdateResourceSpecByNameCategoryVersion "  );
+      logger.debug("s= " + s  );
+		try {
+			Map<String, Object> map = new HashMap<>();
+			map.put("aname", s.getName());
+			map.put("aversion", s.getVersion());
+			map.put("acategory", s.getCategory());
+			
+			Object response = template.requestBodyAndHeaders( CATALOG_UPDADD_RESOURCESPEC, toJsonString(s), map);
+
+			if ( !(response instanceof String)) {
+				logger.error("ResourceSpecification  object is wrong.");
+			}
+
+			LogicalResourceSpecification rs = toJsonObj( (String)response, LogicalResourceSpecification.class); 
+			return rs;
+			
+			
+		}catch (Exception e) {
+			logger.error("Cannot create ResourceSpecification");
+			e.printStackTrace();
+		}
+		return null;
+		
+	}
+	
+	public Resource createOrUpdateResourceByNameCategoryVersion( ResourceCreate s) {
+		logger.debug("will createOrUpdateResourceByNameVersion a Resource "  );
+		try {
+			Map<String, Object> map = new HashMap<>();
+			map.put("aname", s.getName());
+			map.put("aversion", s.getResourceVersion());
+			map.put("acategory", s.getCategory());
+			
+			Object response = template.requestBodyAndHeaders( CATALOG_UPDADD_RESOURCE, toJsonString(s), map);
+
+			if ( !(response instanceof String)) {
+				logger.error("Resource  object is wrong.");
+			}
+
+			logger.debug( response.toString() );
+			try {
+				LogicalResource rs = toJsonObj( (String)response, LogicalResource.class); 
+				return rs;				
+			}catch (Exception e) {
+				logger.error("Cannot create LogicalResource");
+				e.printStackTrace();
+			}
+			
+			try {
+				Resource rs = toJsonObj( (String)response, Resource.class); 
+				return rs;				
+			}catch (Exception e) {
+				logger.error("Cannot create as Resource");
+				e.printStackTrace();
+			}
+			
+			
+		}catch (Exception e) {
+			logger.error("Cannot create Resource");
+			e.printStackTrace();
+		}
+		return null;
+		
+	}
+	
+
+	
+	private <T> T toJsonObj(String content, Class<T> valueType)  throws IOException {
+	  ObjectMapper mapper = new ObjectMapper();
+	  mapper.setSerializationInclusion(JsonInclude.Include.NON_NULL);
+	  return mapper.readValue( content, valueType);
+	}
+
+	private   String toJsonString(Object object) throws IOException {
+	  ObjectMapper mapper = new ObjectMapper();
+	  mapper.setSerializationInclusion(JsonInclude.Include.NON_NULL);
+	  return mapper.writeValueAsString(object);
+	}
+
+	
+
+	public Resource updateResourceById(String oslResourceId, ResourceUpdate rs) {
+
+
+	  logger.debug("will update Resource : " + oslResourceId );
+	  try {
+	    Map<String, Object> map = new HashMap<>();
+	    map.put("resourceId", oslResourceId );
+	    map.put("triggerServiceActionQueue", false );
+
+	    Object response = template.requestBodyAndHeaders( CATALOG_UPD_RESOURCE, toJsonString(rs), map);
+
+	    if ( !(response instanceof String)) {
+	      logger.error("Service Instance object is wrong.");
+	    }
+
+	    LogicalResource resourceInstance = toJsonObj( (String)response, LogicalResource.class); 
+	    //logger.debug("createService response is: " + response);
+	    return resourceInstance;
+
+
+	  }catch (Exception e) {
+        e.printStackTrace();
+	    logger.error("Cannot update Service: " + oslResourceId + ": " + e.toString());
+	  }
+	  return null;
+	}
+
+//  public void updateResourceById(String oslResourceId, ResourceUpdate rs) {
+//
+//    resourcesToBeUpdated.put(oslResourceId, rs);
+//   
+//    
+//  }
+    
+//  public void processUpdateResources() {
+//    
+//    resourcesToBeUpdated.forEach( (oslResourceId, rs) -> {
+//      
+//      logger.info("will update Resource : " + oslResourceId );
+//      try {
+//          Map<String, Object> map = new HashMap<>();
+//          map.put("resourceId", oslResourceId );
+//          map.put("triggerServiceActionQueue", false );
+//          String json = toJsonString(rs);
+//          Object response = template.requestBodyAndHeaders( CATALOG_UPD_RESOURCE, json, map);
+//
+//          if ( !(response instanceof String)) {
+//              logger.error("Service Instance object is wrong.");
+//          }
+//
+//          //LogicalResource resourceInstance = toJsonObj( (String)response, LogicalResource.class); 
+//          //logger.debug("createService response is: " + response);
+//          //return resourceInstance;
+//          
+//          resourcesToBeUpdated.remove(oslResourceId);
+//          
+//
+//          logger.info("Updated successfully Resource : " + oslResourceId );
+//      }catch (Exception e) {
+//        e.printStackTrace();
+//          logger.error("Cannot update Resource: " + oslResourceId + ": " + e.toString());
+//      }
+//      
+//      
+//      
+//    });
+//  }
+
+}
diff --git a/src/main/resources/application.yml b/src/main/resources/application.yml
new file mode 100644
index 0000000000000000000000000000000000000000..7dc553cf15b883037dca731aaeb5b32a53f668e7
--- /dev/null
+++ b/src/main/resources/application.yml
@@ -0,0 +1,96 @@
+osl-controller:
+  category: gcontroller.examples.osl.etsi.org
+  version: 0.1.0
+
+server:
+  port: 0
+
+spring:
+  config:
+    activate:
+      on-profile: "default"
+  application:
+    name: ExampleGenericController
+    description: "This is a description for controller gcontroller.examples.osl.etsi.org app"
+      
+      
+
+      
+  servlet:
+    multipart.max-file-size: 10MB
+    multipart.max-request-size: 10MB
+  activemq:
+    brokerUrl: tcp://localhost:61616?jms.watchTopicAdvisories=false
+    user: artemis
+    password: artemis
+    pool:
+      enabled: true
+      max-connections: 100
+    packages:
+      trust-all: true
+  autoconfigure.exclude: org.springframework.boot.autoconfigure.jdbc.DataSourceAutoConfiguration
+
+logging:
+  level:
+    root: INFO
+    org.etsi.osl.gsma.ewbi.*: DEBUG
+    org.springframework: INFO
+    org.apache.camel: INFO 
+    com.zaxxer.hikari: INFO
+  pattern:
+    console: "%d{HH:mm:ss.SSS} [%t] %-5level %logger{36} - %msg%n"
+    file: "%d %p %c{1.} [%t] %m%n"
+    
+  
+    
+
+oauthsign:
+   key: "EK97Y7Y9WPGG1MEG"
+
+#QUEUE MESSAGES  
+CATALOG_GET_SERVICEORDERS: "jms:queue:CATALOG.GET.SERVICEORDERS"
+CATALOG_GET_SERVICEORDER_BY_ID: "jms:queue:CATALOG.GET.SERVICEORDER_BY_ID"
+CATALOG_ADD_SERVICEORDER: "jms:queue:CATALOG.ADD.SERVICEORDER"
+CATALOG_UPD_SERVICEORDER_BY_ID: "jms:queue:CATALOG.UPD.SERVICEORDER_BY_ID"
+CATALOG_GET_SERVICESPEC_BY_ID: "jms:queue:CATALOG.GET.SERVICESPEC_BY_ID"
+CATALOG_ADD_SERVICESPEC: "jms:queue:CATALOG.ADD.SERVICESPEC"
+CATALOG_UPD_SERVICESPEC: "jms:queue:CATALOG.UPD.SERVICESPEC"
+CATALOG_UPDADD_SERVICESPEC: "jms:queue:CATALOG.UPDADD.SERVICESPEC"
+
+
+CATALOG_GET_INITIAL_SERVICEORDERS_IDS: "jms:queue:CATALOG.GET.INITIAL_SERVICEORDERS"
+CATALOG_GET_SERVICEORDER_IDS_BY_STATE: "jms:queue:CATALOG.GET.ACKNOWLEDGED_SERVICEORDERS"
+CATALOG_ADD_SERVICE: "jms:queue:CATALOG.ADD.SERVICE"
+CATALOG_UPD_SERVICE: "jms:queue:CATALOG.UPD.SERVICE"
+CATALOG_GET_SERVICE_BY_ID: "jms:queue:CATALOG.GET.SERVICE"
+CATALOG_GET_SERVICE_BY_ORDERID: "jms:queue:CATALOG.GET.SERVICE_BY_ORDERID"
+CATALOG_SERVICE_QUEUE_ITEMS_GET: "jms:queue:CATALOG.SERVICEQUEUEITEMS.GET"
+CATALOG_SERVICE_QUEUE_ITEM_UPD: "jms:queue:CATALOG.SERVICEQUEUEITEM.UPDATE"
+CATALOG_SERVICE_QUEUE_ITEM_DELETE: "jms:queue:CATALOG.SERVICEQUEUEITEM.DELETE"
+CATALOG_SERVICES_TO_TERMINATE: "jms:queue:CATALOG.GET.SERVICETOTERMINATE"
+
+CATALOG_GET_EXTERNAL_SERVICE_PARTNERS: "jms:queue:CATALOG.GET.EXTERNALSERVICEPARTNERS"
+CATALOG_UPD_EXTERNAL_SERVICESPEC: "jms:queue:CATALOG.UPD.EXTERNAL_SERVICESPEC"
+
+
+#RESOURCES MESSAGES
+CATALOG_ADD_RESOURCE: "jms:queue:CATALOG.ADD.RESOURCE"
+CATALOG_UPD_RESOURCE: "jms:queue:CATALOG.UPD.RESOURCE"
+CATALOG_UPDADD_RESOURCE: "jms:queue:CATALOG.UPDADD.RESOURCE"
+CATALOG_GET_RESOURCE_BY_ID: "jms:queue:CATALOG.GET.RESOURCE"
+CATALOG_ADD_RESOURCESPEC: "jms:queue:CATALOG.ADD.RESOURCESPEC"
+CATALOG_UPD_RESOURCESPEC: "jms:queue:CATALOG.UPD.RESOURCESPEC"
+CATALOG_UPDADD_RESOURCESPEC: "jms:queue:CATALOG.UPDADD.RESOURCESPEC"
+CATALOG_GET_RESOURCESPEC_BY_ID: "jms:queue:CATALOG.GET.RESOURCESPEC_BY_ID"
+CATALOG_GET_RESOURCESPEC_BY_NAME_CATEGORY: "jms:queue:CATALOG.GET.RESOURCESPEC_BY_NAME_CATEGORY"
+
+#PARTNER MESSAGES
+CATALOG_GET_PARTNER_ORGANIZATON_BY_ID: "jms:queue:CATALOG.GET.PARTNER_ORGANIZATION_BY_ID"
+CATALOG_UPDATE_PARTNER_ORGANIZATION: "jms:queue:CATALOG.UPD.PARTNER_ORGANIZATION"
+CATALOG_SERVICES_OF_PARTNERS: "jms:queue:CATALOG.GET.SERVICESOFPARTNERS"
+CATALOG_RESOURCES_OF_PARTNERS: "jms:queue:CATALOG.GET.SERVICESOFPARTNERS"
+EVENT_ORGANIZATION_CREATE: "jms:topic:EVENT.ORGANIZATION.CREATE"
+EVENT_ORGANIZATION_CHANGED: "jms:topic:EVENT.ORGANIZATION.CHANGE"
+---
+
+
diff --git a/src/main/resources/banner.txt b/src/main/resources/banner.txt
new file mode 100644
index 0000000000000000000000000000000000000000..74229cd400fb31f76673214d76c0256f438e4ccc
--- /dev/null
+++ b/src/main/resources/banner.txt
@@ -0,0 +1,11 @@
+   ___                   ____  _ _          
+  / _ \ _ __   ___ _ __ / ___|| (_) ___ ___ 
+ | | | | '_ \ / _ \ '_ \\___ \| | |/ __/ _ \
+ | |_| | |_) |  __/ | | |___) | | | (_|  __/
+  \___/| .__/ \___|_| |_|____/|_|_|\___\___|
+       |_|
+			   __          __________________
+			  / /  __ __  / __/_  __/ __/  _/
+			 / _ \/ // / / _/  / / _\ \_/ /  
+			/_.__/\_, / /___/ /_/ /___/___/  
+			     /___/                
\ No newline at end of file